quantum-coin-js-sdk 1.0.36 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -0
- package/example/conversion-example.js +4 -4
- package/example/example-misc.js +0 -1
- package/example/example-rpc-send.js +0 -1
- package/example/example-send.js +0 -1
- package/example/example-token-pack-unpack.js +0 -1
- package/example/example-wallet-version4.js +0 -1
- package/example/example.js +5 -5
- package/example/node_modules/.bin/sdkgen +16 -0
- package/example/node_modules/.bin/sdkgen.cmd +17 -0
- package/example/node_modules/.bin/sdkgen.ps1 +28 -0
- package/example/node_modules/.package-lock.json +21 -99
- package/example/node_modules/quantumcoin/.github/workflows/publish-npmjs.yaml +22 -0
- package/example/node_modules/quantumcoin/LICENSE +21 -0
- package/example/node_modules/quantumcoin/README-SDK.md +828 -0
- package/example/node_modules/quantumcoin/README.md +197 -0
- package/example/node_modules/quantumcoin/config.d.ts +50 -0
- package/example/node_modules/quantumcoin/config.js +123 -0
- package/example/node_modules/quantumcoin/examples/AllSolidityTypes.sol +184 -0
- package/example/node_modules/quantumcoin/examples/SimpleIERC20.sol +74 -0
- package/example/node_modules/quantumcoin/examples/events.js +41 -0
- package/example/node_modules/quantumcoin/examples/events.ts +35 -0
- package/example/node_modules/quantumcoin/examples/example-generator-sdk-js.js +100 -0
- package/example/node_modules/quantumcoin/examples/example-generator-sdk-js.ts +77 -0
- package/example/node_modules/quantumcoin/examples/example-generator-sdk-ts.js +100 -0
- package/example/node_modules/quantumcoin/examples/example-generator-sdk-ts.ts +77 -0
- package/example/node_modules/quantumcoin/examples/example.js +67 -0
- package/example/node_modules/quantumcoin/examples/example.ts +56 -0
- package/example/node_modules/quantumcoin/examples/offline-signing.js +77 -0
- package/example/node_modules/quantumcoin/examples/offline-signing.ts +65 -0
- package/example/node_modules/quantumcoin/examples/package-lock.json +596 -0
- package/example/node_modules/quantumcoin/examples/package.json +32 -0
- package/example/node_modules/quantumcoin/examples/read-operations.js +32 -0
- package/example/node_modules/quantumcoin/examples/read-operations.ts +31 -0
- package/example/node_modules/quantumcoin/examples/sdk-generator-erc20.inline.json +251 -0
- package/example/node_modules/quantumcoin/examples/solidity-types.ts +43 -0
- package/example/node_modules/quantumcoin/examples/wallet-offline.js +36 -0
- package/example/node_modules/quantumcoin/examples/wallet-offline.ts +26 -0
- package/example/node_modules/quantumcoin/generate-sdk.js +1846 -0
- package/example/node_modules/quantumcoin/index.js +12 -0
- package/example/node_modules/quantumcoin/package.json +95 -0
- package/example/node_modules/quantumcoin/scripts/copy-declarations.js +31 -0
- package/example/node_modules/quantumcoin/scripts/run-all-one-by-one.js +151 -0
- package/example/node_modules/quantumcoin/src/abi/fragments.d.ts +42 -0
- package/example/node_modules/quantumcoin/src/abi/fragments.js +63 -0
- package/example/node_modules/quantumcoin/src/abi/index.d.ts +13 -0
- package/example/node_modules/quantumcoin/src/abi/index.js +9 -0
- package/example/node_modules/quantumcoin/src/abi/interface.d.ts +128 -0
- package/example/node_modules/quantumcoin/src/abi/interface.js +605 -0
- package/example/node_modules/quantumcoin/src/abi/js-abi-coder.d.ts +8 -0
- package/example/node_modules/quantumcoin/src/abi/js-abi-coder.js +538 -0
- package/example/node_modules/quantumcoin/src/constants.d.ts +61 -0
- package/example/node_modules/quantumcoin/src/constants.js +94 -0
- package/example/node_modules/quantumcoin/src/contract/contract-factory.d.ts +28 -0
- package/example/node_modules/quantumcoin/src/contract/contract-factory.js +111 -0
- package/example/node_modules/quantumcoin/src/contract/contract.d.ts +113 -0
- package/example/node_modules/quantumcoin/src/contract/contract.js +408 -0
- package/example/node_modules/quantumcoin/src/contract/index.d.ts +9 -0
- package/example/node_modules/quantumcoin/src/contract/index.js +9 -0
- package/example/node_modules/quantumcoin/src/errors/index.d.ts +92 -0
- package/example/node_modules/quantumcoin/src/errors/index.js +200 -0
- package/example/node_modules/quantumcoin/src/generator/index.d.ts +81 -0
- package/example/node_modules/quantumcoin/src/generator/index.js +1571 -0
- package/example/node_modules/quantumcoin/src/index.d.ts +122 -0
- package/example/node_modules/quantumcoin/src/index.js +41 -0
- package/example/node_modules/quantumcoin/src/internal/hex.d.ts +68 -0
- package/example/node_modules/quantumcoin/src/internal/hex.js +180 -0
- package/example/node_modules/quantumcoin/src/providers/extra-providers.d.ts +139 -0
- package/example/node_modules/quantumcoin/src/providers/extra-providers.js +614 -0
- package/example/node_modules/quantumcoin/src/providers/index.d.ts +17 -0
- package/example/node_modules/quantumcoin/src/providers/index.js +10 -0
- package/example/node_modules/quantumcoin/src/providers/json-rpc-provider.d.ts +12 -0
- package/example/node_modules/quantumcoin/src/providers/json-rpc-provider.js +89 -0
- package/example/node_modules/quantumcoin/src/providers/provider.d.ts +206 -0
- package/example/node_modules/quantumcoin/src/providers/provider.js +524 -0
- package/example/node_modules/quantumcoin/src/types/index.d.ts +214 -0
- package/example/node_modules/quantumcoin/src/types/index.js +9 -0
- package/example/node_modules/quantumcoin/src/utils/address.d.ts +58 -0
- package/example/node_modules/quantumcoin/src/utils/address.js +144 -0
- package/example/node_modules/quantumcoin/src/utils/encoding.d.ts +120 -0
- package/example/node_modules/quantumcoin/src/utils/encoding.js +306 -0
- package/example/node_modules/quantumcoin/src/utils/fixednumber.d.ts +57 -0
- package/example/node_modules/quantumcoin/src/utils/fixednumber.js +366 -0
- package/example/node_modules/quantumcoin/src/utils/hashing.d.ts +76 -0
- package/example/node_modules/quantumcoin/src/utils/hashing.js +298 -0
- package/example/node_modules/quantumcoin/src/utils/index.d.ts +63 -0
- package/example/node_modules/quantumcoin/src/utils/index.js +14 -0
- package/example/node_modules/quantumcoin/src/utils/result.d.ts +57 -0
- package/example/node_modules/quantumcoin/src/utils/result.js +128 -0
- package/example/node_modules/quantumcoin/src/utils/rlp.d.ts +12 -0
- package/example/node_modules/quantumcoin/src/utils/rlp.js +215 -0
- package/example/node_modules/quantumcoin/src/utils/units.d.ts +29 -0
- package/example/node_modules/quantumcoin/src/utils/units.js +107 -0
- package/example/node_modules/quantumcoin/src/wallet/index.d.ts +10 -0
- package/example/node_modules/quantumcoin/src/wallet/index.js +8 -0
- package/example/node_modules/quantumcoin/src/wallet/wallet.d.ts +192 -0
- package/example/node_modules/quantumcoin/src/wallet/wallet.js +713 -0
- package/example/node_modules/quantumcoin/test/e2e/all-solidity-types.dynamic.test.js +207 -0
- package/example/node_modules/quantumcoin/test/e2e/all-solidity-types.dynamic.test.ts +191 -0
- package/example/node_modules/quantumcoin/test/e2e/all-solidity-types.fixtures.js +231 -0
- package/example/node_modules/quantumcoin/test/e2e/all-solidity-types.generated-sdks.e2e.test.js +387 -0
- package/example/node_modules/quantumcoin/test/e2e/all-solidity-types.generated-sdks.e2e.test.ts +350 -0
- package/example/node_modules/quantumcoin/test/e2e/generator-interface.e2e.test.js +165 -0
- package/example/node_modules/quantumcoin/test/e2e/generator-interface.e2e.test.ts +160 -0
- package/example/node_modules/quantumcoin/test/e2e/helpers.js +59 -0
- package/example/node_modules/quantumcoin/test/e2e/signing-context-and-fee.e2e.test.js +141 -0
- package/example/node_modules/quantumcoin/test/e2e/signing-context-and-fee.e2e.test.ts +128 -0
- package/example/node_modules/quantumcoin/test/e2e/simple-erc20.generated-sdks.e2e.test.js +168 -0
- package/example/node_modules/quantumcoin/test/e2e/simple-erc20.generated-sdks.e2e.test.ts +141 -0
- package/example/node_modules/quantumcoin/test/e2e/transactional.test.js +245 -0
- package/example/node_modules/quantumcoin/test/e2e/transactional.test.ts +208 -0
- package/example/node_modules/quantumcoin/test/e2e/typed-generator.e2e.test.js +407 -0
- package/example/node_modules/quantumcoin/test/e2e/typed-generator.e2e.test.ts +337 -0
- package/example/node_modules/quantumcoin/test/fixtures/ConstructorParam.sol +23 -0
- package/example/node_modules/quantumcoin/test/fixtures/MultiContracts.sol +37 -0
- package/example/node_modules/quantumcoin/test/fixtures/SimpleStorage.sol +18 -0
- package/example/node_modules/quantumcoin/test/fixtures/StakingContract.abi.json +1 -0
- package/example/node_modules/quantumcoin/test/integration/ipc-provider.test.js +49 -0
- package/example/node_modules/quantumcoin/test/integration/ipc-provider.test.ts +44 -0
- package/example/node_modules/quantumcoin/test/integration/provider.test.js +88 -0
- package/example/node_modules/quantumcoin/test/integration/provider.test.ts +85 -0
- package/example/node_modules/quantumcoin/test/integration/ws-provider.test.js +41 -0
- package/example/node_modules/quantumcoin/test/integration/ws-provider.test.ts +38 -0
- package/example/node_modules/quantumcoin/test/security/abi-decoder-bounds.test.js +122 -0
- package/example/node_modules/quantumcoin/test/security/contract-overrides.test.js +112 -0
- package/example/node_modules/quantumcoin/test/security/generator-injection.test.js +195 -0
- package/example/node_modules/quantumcoin/test/security/malformed-input.test.js +330 -0
- package/example/node_modules/quantumcoin/test/security/malformed-input.test.ts +35 -0
- package/example/node_modules/quantumcoin/test/security/rpc-numeric-bounds.test.js +81 -0
- package/example/node_modules/quantumcoin/test/security/rpc-trust.test.js +202 -0
- package/example/node_modules/quantumcoin/test/unit/_encrypted-output.txt +6 -0
- package/example/node_modules/quantumcoin/test/unit/_log-encrypted-jsons.js +45 -0
- package/example/node_modules/quantumcoin/test/unit/_write-keystore-fixture.js +16 -0
- package/example/node_modules/quantumcoin/test/unit/abi-interface.test.js +110 -0
- package/example/node_modules/quantumcoin/test/unit/abi-interface.test.ts +109 -0
- package/example/node_modules/quantumcoin/test/unit/address-wallet.test.js +923 -0
- package/example/node_modules/quantumcoin/test/unit/address-wallet.test.ts +877 -0
- package/example/node_modules/quantumcoin/test/unit/browser-provider.test.js +85 -0
- package/example/node_modules/quantumcoin/test/unit/browser-provider.test.ts +79 -0
- package/example/node_modules/quantumcoin/test/unit/contract.test.js +85 -0
- package/example/node_modules/quantumcoin/test/unit/contract.test.ts +83 -0
- package/example/node_modules/quantumcoin/test/unit/encoding-units-rlp.test.js +127 -0
- package/example/node_modules/quantumcoin/test/unit/encoding-units-rlp.test.ts +91 -0
- package/example/node_modules/quantumcoin/test/unit/errors.test.js +77 -0
- package/example/node_modules/quantumcoin/test/unit/errors.test.ts +76 -0
- package/example/node_modules/quantumcoin/test/unit/filter-by-blockhash.test.js +55 -0
- package/example/node_modules/quantumcoin/test/unit/filter-by-blockhash.test.ts +54 -0
- package/example/node_modules/quantumcoin/test/unit/fixednumber.test.js +656 -0
- package/example/node_modules/quantumcoin/test/unit/fixednumber.test.ts +660 -0
- package/example/node_modules/quantumcoin/test/unit/fixtures/encrypted-keystores-48-32-36.js +9 -0
- package/example/node_modules/quantumcoin/test/unit/generate-contract-cli.test.js +42 -0
- package/example/node_modules/quantumcoin/test/unit/generate-contract-cli.test.ts +41 -0
- package/example/node_modules/quantumcoin/test/unit/generate-sdk-artifacts-json.test.js +113 -0
- package/example/node_modules/quantumcoin/test/unit/generate-sdk-artifacts-json.test.ts +110 -0
- package/example/node_modules/quantumcoin/test/unit/generator.test.js +149 -0
- package/example/node_modules/quantumcoin/test/unit/generator.test.ts +148 -0
- package/example/node_modules/quantumcoin/test/unit/hashing.test.js +64 -0
- package/example/node_modules/quantumcoin/test/unit/hashing.test.ts +63 -0
- package/example/node_modules/quantumcoin/test/unit/init.test.js +39 -0
- package/example/node_modules/quantumcoin/test/unit/init.test.ts +38 -0
- package/example/node_modules/quantumcoin/test/unit/interface.test.js +56 -0
- package/example/node_modules/quantumcoin/test/unit/interface.test.ts +54 -0
- package/example/node_modules/quantumcoin/test/unit/internal-hex.test.js +81 -0
- package/example/node_modules/quantumcoin/test/unit/internal-hex.test.ts +80 -0
- package/example/node_modules/quantumcoin/test/unit/populate-transaction.test.js +98 -0
- package/example/node_modules/quantumcoin/test/unit/populate-transaction.test.ts +64 -0
- package/example/node_modules/quantumcoin/test/unit/providers.test.js +252 -0
- package/example/node_modules/quantumcoin/test/unit/providers.test.ts +251 -0
- package/example/node_modules/quantumcoin/test/unit/result.test.js +80 -0
- package/example/node_modules/quantumcoin/test/unit/result.test.ts +79 -0
- package/example/node_modules/quantumcoin/test/unit/solidity-types.test.js +49 -0
- package/example/node_modules/quantumcoin/test/unit/solidity-types.test.ts +39 -0
- package/example/node_modules/quantumcoin/test/unit/utils.test.js +57 -0
- package/example/node_modules/quantumcoin/test/unit/utils.test.ts +56 -0
- package/example/node_modules/quantumcoin/test/verbose-logger.js +74 -0
- package/example/node_modules/quantumcoin/tsconfig.build.json +14 -0
- package/example/node_modules/seed-words/.github/workflows/publish-npmjs.yaml +22 -0
- package/example/node_modules/seed-words/BUILD.md +7 -0
- package/example/node_modules/seed-words/LICENSE +121 -0
- package/example/node_modules/seed-words/README.md +67 -0
- package/example/node_modules/seed-words/dist/seedwords.d.ts +39 -0
- package/example/node_modules/seed-words/package.json +27 -0
- package/example/node_modules/seed-words/seedwords.js +315 -0
- package/example/node_modules/seed-words/seedwords.txt +65536 -0
- package/example/node_modules/seed-words/tsconfig.json +21 -0
- package/example/package-lock.json +23 -101
- package/example/package.json +1 -1
- package/index.d.ts +32 -0
- package/index.js +90 -0
- package/package.json +2 -2
- package/tests/get-gas-price.test.js +59 -0
- package/tests/scrypt.test.js +128 -0
- package/example/node_modules/@adraffy/ens-normalize/LICENSE +0 -21
- package/example/node_modules/@adraffy/ens-normalize/README.md +0 -206
- package/example/node_modules/@adraffy/ens-normalize/dist/all.js +0 -1611
- package/example/node_modules/@adraffy/ens-normalize/dist/all.min.js +0 -1
- package/example/node_modules/@adraffy/ens-normalize/dist/index-xnf.cjs +0 -1077
- package/example/node_modules/@adraffy/ens-normalize/dist/index-xnf.min.js +0 -1
- package/example/node_modules/@adraffy/ens-normalize/dist/index-xnf.mjs +0 -1065
- package/example/node_modules/@adraffy/ens-normalize/dist/index.cjs +0 -1252
- package/example/node_modules/@adraffy/ens-normalize/dist/index.d.ts +0 -59
- package/example/node_modules/@adraffy/ens-normalize/dist/index.min.js +0 -1
- package/example/node_modules/@adraffy/ens-normalize/dist/index.mjs +0 -1240
- package/example/node_modules/@adraffy/ens-normalize/dist/nf.min.js +0 -1
- package/example/node_modules/@adraffy/ens-normalize/package.json +0 -76
- package/example/node_modules/@noble/curves/LICENSE +0 -21
- package/example/node_modules/@noble/curves/README.md +0 -1074
- package/example/node_modules/@noble/curves/_shortw_utils.d.ts +0 -62
- package/example/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/_shortw_utils.js +0 -22
- package/example/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/bls.d.ts +0 -103
- package/example/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/bls.js +0 -239
- package/example/node_modules/@noble/curves/abstract/bls.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/curve.d.ts +0 -70
- package/example/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/curve.js +0 -161
- package/example/node_modules/@noble/curves/abstract/curve.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/edwards.d.ts +0 -89
- package/example/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/edwards.js +0 -429
- package/example/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -57
- package/example/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -181
- package/example/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/modular.d.ts +0 -123
- package/example/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/modular.js +0 -439
- package/example/node_modules/@noble/curves/abstract/modular.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -26
- package/example/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/montgomery.js +0 -161
- package/example/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -30
- package/example/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/poseidon.js +0 -114
- package/example/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/utils.d.ts +0 -92
- package/example/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/utils.js +0 -288
- package/example/node_modules/@noble/curves/abstract/utils.js.map +0 -1
- package/example/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -241
- package/example/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/abstract/weierstrass.js +0 -1063
- package/example/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
- package/example/node_modules/@noble/curves/bls12-381.d.ts +0 -68
- package/example/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/bls12-381.js +0 -1175
- package/example/node_modules/@noble/curves/bls12-381.js.map +0 -1
- package/example/node_modules/@noble/curves/bn254.d.ts +0 -8
- package/example/node_modules/@noble/curves/bn254.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/bn254.js +0 -25
- package/example/node_modules/@noble/curves/bn254.js.map +0 -1
- package/example/node_modules/@noble/curves/ed25519.d.ts +0 -76
- package/example/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/ed25519.js +0 -439
- package/example/node_modules/@noble/curves/ed25519.js.map +0 -1
- package/example/node_modules/@noble/curves/ed448.d.ts +0 -65
- package/example/node_modules/@noble/curves/ed448.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/ed448.js +0 -397
- package/example/node_modules/@noble/curves/ed448.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/_shortw_utils.js +0 -17
- package/example/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/bls.js +0 -235
- package/example/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/curve.js +0 -156
- package/example/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/edwards.js +0 -425
- package/example/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -173
- package/example/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/modular.js +0 -416
- package/example/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -157
- package/example/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -108
- package/example/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/utils.js +0 -266
- package/example/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1056
- package/example/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/bls12-381.js +0 -1172
- package/example/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/bn254.js +0 -22
- package/example/node_modules/@noble/curves/esm/bn254.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/ed25519.js +0 -433
- package/example/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/ed448.js +0 -392
- package/example/node_modules/@noble/curves/esm/ed448.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/index.js +0 -3
- package/example/node_modules/@noble/curves/esm/index.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/jubjub.js +0 -54
- package/example/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/p256.js +0 -42
- package/example/node_modules/@noble/curves/esm/p256.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/p384.js +0 -46
- package/example/node_modules/@noble/curves/esm/p384.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/p521.js +0 -53
- package/example/node_modules/@noble/curves/esm/p521.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/package.json +0 -4
- package/example/node_modules/@noble/curves/esm/pasta.js +0 -30
- package/example/node_modules/@noble/curves/esm/pasta.js.map +0 -1
- package/example/node_modules/@noble/curves/esm/secp256k1.js +0 -254
- package/example/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
- package/example/node_modules/@noble/curves/index.d.ts +0 -1
- package/example/node_modules/@noble/curves/index.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/index.js +0 -3
- package/example/node_modules/@noble/curves/index.js.map +0 -1
- package/example/node_modules/@noble/curves/jubjub.d.ts +0 -9
- package/example/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/jubjub.js +0 -59
- package/example/node_modules/@noble/curves/jubjub.js.map +0 -1
- package/example/node_modules/@noble/curves/p256.d.ts +0 -105
- package/example/node_modules/@noble/curves/p256.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/p256.js +0 -45
- package/example/node_modules/@noble/curves/p256.js.map +0 -1
- package/example/node_modules/@noble/curves/p384.d.ts +0 -105
- package/example/node_modules/@noble/curves/p384.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/p384.js +0 -49
- package/example/node_modules/@noble/curves/p384.js.map +0 -1
- package/example/node_modules/@noble/curves/p521.d.ts +0 -105
- package/example/node_modules/@noble/curves/p521.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/p521.js +0 -56
- package/example/node_modules/@noble/curves/p521.js.map +0 -1
- package/example/node_modules/@noble/curves/package.json +0 -181
- package/example/node_modules/@noble/curves/pasta.d.ts +0 -5
- package/example/node_modules/@noble/curves/pasta.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/pasta.js +0 -33
- package/example/node_modules/@noble/curves/pasta.js.map +0 -1
- package/example/node_modules/@noble/curves/secp256k1.d.ts +0 -93
- package/example/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
- package/example/node_modules/@noble/curves/secp256k1.js +0 -257
- package/example/node_modules/@noble/curves/secp256k1.js.map +0 -1
- package/example/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
- package/example/node_modules/@noble/curves/src/abstract/bls.ts +0 -398
- package/example/node_modules/@noble/curves/src/abstract/curve.ts +0 -203
- package/example/node_modules/@noble/curves/src/abstract/edwards.ts +0 -513
- package/example/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -229
- package/example/node_modules/@noble/curves/src/abstract/modular.ts +0 -484
- package/example/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -189
- package/example/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -118
- package/example/node_modules/@noble/curves/src/abstract/utils.ts +0 -290
- package/example/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1222
- package/example/node_modules/@noble/curves/src/bls12-381.ts +0 -1350
- package/example/node_modules/@noble/curves/src/bn254.ts +0 -21
- package/example/node_modules/@noble/curves/src/ed25519.ts +0 -489
- package/example/node_modules/@noble/curves/src/ed448.ts +0 -465
- package/example/node_modules/@noble/curves/src/index.ts +0 -1
- package/example/node_modules/@noble/curves/src/jubjub.ts +0 -58
- package/example/node_modules/@noble/curves/src/p256.ts +0 -48
- package/example/node_modules/@noble/curves/src/p384.ts +0 -52
- package/example/node_modules/@noble/curves/src/p521.ts +0 -68
- package/example/node_modules/@noble/curves/src/pasta.ts +0 -31
- package/example/node_modules/@noble/curves/src/secp256k1.ts +0 -274
- package/example/node_modules/@noble/hashes/LICENSE +0 -21
- package/example/node_modules/@noble/hashes/README.md +0 -534
- package/example/node_modules/@noble/hashes/_assert.d.ts +0 -22
- package/example/node_modules/@noble/hashes/_assert.js +0 -45
- package/example/node_modules/@noble/hashes/_assert.js.map +0 -1
- package/example/node_modules/@noble/hashes/_blake2.d.ts +0 -27
- package/example/node_modules/@noble/hashes/_blake2.js +0 -112
- package/example/node_modules/@noble/hashes/_blake2.js.map +0 -1
- package/example/node_modules/@noble/hashes/_sha2.d.ts +0 -23
- package/example/node_modules/@noble/hashes/_sha2.js +0 -118
- package/example/node_modules/@noble/hashes/_sha2.js.map +0 -1
- package/example/node_modules/@noble/hashes/_u64.d.ts +0 -54
- package/example/node_modules/@noble/hashes/_u64.js +0 -85
- package/example/node_modules/@noble/hashes/_u64.js.map +0 -1
- package/example/node_modules/@noble/hashes/argon2.d.ts +0 -16
- package/example/node_modules/@noble/hashes/argon2.js +0 -303
- package/example/node_modules/@noble/hashes/argon2.js.map +0 -1
- package/example/node_modules/@noble/hashes/blake2b.d.ts +0 -53
- package/example/node_modules/@noble/hashes/blake2b.js +0 -192
- package/example/node_modules/@noble/hashes/blake2b.js.map +0 -1
- package/example/node_modules/@noble/hashes/blake2s.d.ts +0 -47
- package/example/node_modules/@noble/hashes/blake2s.js +0 -122
- package/example/node_modules/@noble/hashes/blake2s.js.map +0 -1
- package/example/node_modules/@noble/hashes/blake3.d.ts +0 -46
- package/example/node_modules/@noble/hashes/blake3.js +0 -229
- package/example/node_modules/@noble/hashes/blake3.js.map +0 -1
- package/example/node_modules/@noble/hashes/crypto.d.ts +0 -1
- package/example/node_modules/@noble/hashes/crypto.js +0 -5
- package/example/node_modules/@noble/hashes/crypto.js.map +0 -1
- package/example/node_modules/@noble/hashes/cryptoNode.d.ts +0 -1
- package/example/node_modules/@noble/hashes/cryptoNode.js +0 -10
- package/example/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
- package/example/node_modules/@noble/hashes/eskdf.d.ts +0 -46
- package/example/node_modules/@noble/hashes/eskdf.js +0 -162
- package/example/node_modules/@noble/hashes/eskdf.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/_assert.js +0 -37
- package/example/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/_blake2.js +0 -108
- package/example/node_modules/@noble/hashes/esm/_blake2.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/_sha2.js +0 -114
- package/example/node_modules/@noble/hashes/esm/_sha2.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/_u64.js +0 -62
- package/example/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/argon2.js +0 -297
- package/example/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/blake2b.js +0 -189
- package/example/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/blake2s.js +0 -118
- package/example/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/blake3.js +0 -226
- package/example/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/crypto.js +0 -2
- package/example/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/cryptoNode.js +0 -7
- package/example/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/eskdf.js +0 -155
- package/example/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/hkdf.js +0 -72
- package/example/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/hmac.js +0 -77
- package/example/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/index.js +0 -3
- package/example/node_modules/@noble/hashes/esm/index.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/package.json +0 -10
- package/example/node_modules/@noble/hashes/esm/pbkdf2.js +0 -86
- package/example/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/ripemd160.js +0 -104
- package/example/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/scrypt.js +0 -218
- package/example/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/sha1.js +0 -87
- package/example/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/sha256.js +0 -126
- package/example/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/sha3-addons.js +0 -347
- package/example/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/sha3.js +0 -208
- package/example/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/sha512.js +0 -231
- package/example/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
- package/example/node_modules/@noble/hashes/esm/utils.js +0 -154
- package/example/node_modules/@noble/hashes/esm/utils.js.map +0 -1
- package/example/node_modules/@noble/hashes/hkdf.d.ts +0 -26
- package/example/node_modules/@noble/hashes/hkdf.js +0 -78
- package/example/node_modules/@noble/hashes/hkdf.js.map +0 -1
- package/example/node_modules/@noble/hashes/hmac.d.ts +0 -25
- package/example/node_modules/@noble/hashes/hmac.js +0 -82
- package/example/node_modules/@noble/hashes/hmac.js.map +0 -1
- package/example/node_modules/@noble/hashes/index.d.ts +0 -0
- package/example/node_modules/@noble/hashes/index.js +0 -3
- package/example/node_modules/@noble/hashes/index.js.map +0 -1
- package/example/node_modules/@noble/hashes/package.json +0 -174
- package/example/node_modules/@noble/hashes/pbkdf2.d.ts +0 -15
- package/example/node_modules/@noble/hashes/pbkdf2.js +0 -91
- package/example/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
- package/example/node_modules/@noble/hashes/ripemd160.d.ts +0 -24
- package/example/node_modules/@noble/hashes/ripemd160.js +0 -108
- package/example/node_modules/@noble/hashes/ripemd160.js.map +0 -1
- package/example/node_modules/@noble/hashes/scrypt.d.ts +0 -29
- package/example/node_modules/@noble/hashes/scrypt.js +0 -223
- package/example/node_modules/@noble/hashes/scrypt.js.map +0 -1
- package/example/node_modules/@noble/hashes/sha1.d.ts +0 -21
- package/example/node_modules/@noble/hashes/sha1.js +0 -90
- package/example/node_modules/@noble/hashes/sha1.js.map +0 -1
- package/example/node_modules/@noble/hashes/sha256.d.ts +0 -34
- package/example/node_modules/@noble/hashes/sha256.js +0 -129
- package/example/node_modules/@noble/hashes/sha256.js.map +0 -1
- package/example/node_modules/@noble/hashes/sha3-addons.d.ts +0 -138
- package/example/node_modules/@noble/hashes/sha3-addons.js +0 -351
- package/example/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
- package/example/node_modules/@noble/hashes/sha3.d.ts +0 -97
- package/example/node_modules/@noble/hashes/sha3.js +0 -213
- package/example/node_modules/@noble/hashes/sha3.js.map +0 -1
- package/example/node_modules/@noble/hashes/sha512.d.ts +0 -66
- package/example/node_modules/@noble/hashes/sha512.js +0 -235
- package/example/node_modules/@noble/hashes/sha512.js.map +0 -1
- package/example/node_modules/@noble/hashes/src/_assert.ts +0 -43
- package/example/node_modules/@noble/hashes/src/_blake2.ts +0 -128
- package/example/node_modules/@noble/hashes/src/_sha2.ts +0 -118
- package/example/node_modules/@noble/hashes/src/_u64.ts +0 -77
- package/example/node_modules/@noble/hashes/src/argon2.ts +0 -374
- package/example/node_modules/@noble/hashes/src/blake2b.ts +0 -205
- package/example/node_modules/@noble/hashes/src/blake2s.ts +0 -136
- package/example/node_modules/@noble/hashes/src/blake3.ts +0 -250
- package/example/node_modules/@noble/hashes/src/crypto.ts +0 -5
- package/example/node_modules/@noble/hashes/src/cryptoNode.ts +0 -7
- package/example/node_modules/@noble/hashes/src/eskdf.ts +0 -183
- package/example/node_modules/@noble/hashes/src/hkdf.ts +0 -79
- package/example/node_modules/@noble/hashes/src/hmac.ts +0 -81
- package/example/node_modules/@noble/hashes/src/index.ts +0 -1
- package/example/node_modules/@noble/hashes/src/pbkdf2.ts +0 -97
- package/example/node_modules/@noble/hashes/src/ripemd160.ts +0 -110
- package/example/node_modules/@noble/hashes/src/scrypt.ts +0 -240
- package/example/node_modules/@noble/hashes/src/sha1.ts +0 -88
- package/example/node_modules/@noble/hashes/src/sha256.ts +0 -133
- package/example/node_modules/@noble/hashes/src/sha3-addons.ts +0 -398
- package/example/node_modules/@noble/hashes/src/sha3.ts +0 -223
- package/example/node_modules/@noble/hashes/src/sha512.ts +0 -246
- package/example/node_modules/@noble/hashes/src/utils.ts +0 -215
- package/example/node_modules/@noble/hashes/utils.d.ts +0 -90
- package/example/node_modules/@noble/hashes/utils.js +0 -174
- package/example/node_modules/@noble/hashes/utils.js.map +0 -1
- package/example/node_modules/@types/node/LICENSE +0 -21
- package/example/node_modules/@types/node/README.md +0 -15
- package/example/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/example/node_modules/@types/node/assert.d.ts +0 -1040
- package/example/node_modules/@types/node/async_hooks.d.ts +0 -541
- package/example/node_modules/@types/node/buffer.buffer.d.ts +0 -385
- package/example/node_modules/@types/node/buffer.d.ts +0 -1933
- package/example/node_modules/@types/node/child_process.d.ts +0 -1549
- package/example/node_modules/@types/node/cluster.d.ts +0 -579
- package/example/node_modules/@types/node/console.d.ts +0 -452
- package/example/node_modules/@types/node/constants.d.ts +0 -19
- package/example/node_modules/@types/node/crypto.d.ts +0 -4451
- package/example/node_modules/@types/node/dgram.d.ts +0 -596
- package/example/node_modules/@types/node/diagnostics_channel.d.ts +0 -554
- package/example/node_modules/@types/node/dns/promises.d.ts +0 -476
- package/example/node_modules/@types/node/dns.d.ts +0 -865
- package/example/node_modules/@types/node/dom-events.d.ts +0 -124
- package/example/node_modules/@types/node/domain.d.ts +0 -170
- package/example/node_modules/@types/node/events.d.ts +0 -931
- package/example/node_modules/@types/node/fs/promises.d.ts +0 -1264
- package/example/node_modules/@types/node/fs.d.ts +0 -4390
- package/example/node_modules/@types/node/globals.d.ts +0 -597
- package/example/node_modules/@types/node/globals.global.d.ts +0 -1
- package/example/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/example/node_modules/@types/node/http.d.ts +0 -1921
- package/example/node_modules/@types/node/http2.d.ts +0 -2555
- package/example/node_modules/@types/node/https.d.ts +0 -544
- package/example/node_modules/@types/node/index.d.ts +0 -94
- package/example/node_modules/@types/node/inspector.d.ts +0 -3966
- package/example/node_modules/@types/node/module.d.ts +0 -301
- package/example/node_modules/@types/node/net.d.ts +0 -1001
- package/example/node_modules/@types/node/os.d.ts +0 -495
- package/example/node_modules/@types/node/package.json +0 -224
- package/example/node_modules/@types/node/path.d.ts +0 -200
- package/example/node_modules/@types/node/perf_hooks.d.ts +0 -941
- package/example/node_modules/@types/node/process.d.ts +0 -1912
- package/example/node_modules/@types/node/punycode.d.ts +0 -117
- package/example/node_modules/@types/node/querystring.d.ts +0 -153
- package/example/node_modules/@types/node/readline/promises.d.ts +0 -150
- package/example/node_modules/@types/node/readline.d.ts +0 -540
- package/example/node_modules/@types/node/repl.d.ts +0 -430
- package/example/node_modules/@types/node/sea.d.ts +0 -153
- package/example/node_modules/@types/node/sqlite.d.ts +0 -213
- package/example/node_modules/@types/node/stream/consumers.d.ts +0 -12
- package/example/node_modules/@types/node/stream/promises.d.ts +0 -83
- package/example/node_modules/@types/node/stream/web.d.ts +0 -606
- package/example/node_modules/@types/node/stream.d.ts +0 -1726
- package/example/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/example/node_modules/@types/node/test.d.ts +0 -2098
- package/example/node_modules/@types/node/timers/promises.d.ts +0 -97
- package/example/node_modules/@types/node/timers.d.ts +0 -240
- package/example/node_modules/@types/node/tls.d.ts +0 -1220
- package/example/node_modules/@types/node/trace_events.d.ts +0 -197
- package/example/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -385
- package/example/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/example/node_modules/@types/node/ts5.6/index.d.ts +0 -94
- package/example/node_modules/@types/node/tty.d.ts +0 -208
- package/example/node_modules/@types/node/url.d.ts +0 -969
- package/example/node_modules/@types/node/util.d.ts +0 -2301
- package/example/node_modules/@types/node/v8.d.ts +0 -808
- package/example/node_modules/@types/node/vm.d.ts +0 -922
- package/example/node_modules/@types/node/wasi.d.ts +0 -181
- package/example/node_modules/@types/node/worker_threads.d.ts +0 -712
- package/example/node_modules/@types/node/zlib.d.ts +0 -539
- package/example/node_modules/aes-js/LICENSE.txt +0 -22
- package/example/node_modules/aes-js/README.md +0 -406
- package/example/node_modules/aes-js/aes-js-4.0.0-beta.4.tgz +0 -0
- package/example/node_modules/aes-js/bower.json +0 -32
- package/example/node_modules/aes-js/index.js +0 -803
- package/example/node_modules/aes-js/lib.commonjs/README.md +0 -6
- package/example/node_modules/aes-js/lib.commonjs/aes.d.ts +0 -9
- package/example/node_modules/aes-js/lib.commonjs/aes.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/aes.js +0 -202
- package/example/node_modules/aes-js/lib.commonjs/aes.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/index.d.ts +0 -9
- package/example/node_modules/aes-js/lib.commonjs/index.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/index.js +0 -21
- package/example/node_modules/aes-js/lib.commonjs/index.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-cbc.d.ts +0 -9
- package/example/node_modules/aes-js/lib.commonjs/mode-cbc.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-cbc.js +0 -66
- package/example/node_modules/aes-js/lib.commonjs/mode-cbc.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-cfb.d.ts +0 -10
- package/example/node_modules/aes-js/lib.commonjs/mode-cfb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-cfb.js +0 -81
- package/example/node_modules/aes-js/lib.commonjs/mode-cfb.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ctr.d.ts +0 -12
- package/example/node_modules/aes-js/lib.commonjs/mode-ctr.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ctr.js +0 -86
- package/example/node_modules/aes-js/lib.commonjs/mode-ctr.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ecb.d.ts +0 -7
- package/example/node_modules/aes-js/lib.commonjs/mode-ecb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ecb.js +0 -32
- package/example/node_modules/aes-js/lib.commonjs/mode-ecb.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ofb.d.ts +0 -9
- package/example/node_modules/aes-js/lib.commonjs/mode-ofb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode-ofb.js +0 -61
- package/example/node_modules/aes-js/lib.commonjs/mode-ofb.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode.d.ts +0 -9
- package/example/node_modules/aes-js/lib.commonjs/mode.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/mode.js +0 -17
- package/example/node_modules/aes-js/lib.commonjs/mode.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/package.json +0 -3
- package/example/node_modules/aes-js/lib.commonjs/padding.d.ts +0 -3
- package/example/node_modules/aes-js/lib.commonjs/padding.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/padding.js +0 -31
- package/example/node_modules/aes-js/lib.commonjs/padding.js.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/tests.d.ts +0 -2
- package/example/node_modules/aes-js/lib.commonjs/tests.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.commonjs/tests.js +0 -109
- package/example/node_modules/aes-js/lib.commonjs/tests.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/README.md +0 -6
- package/example/node_modules/aes-js/lib.esm/aes.d.ts +0 -9
- package/example/node_modules/aes-js/lib.esm/aes.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/aes.js +0 -198
- package/example/node_modules/aes-js/lib.esm/aes.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/index.d.ts +0 -9
- package/example/node_modules/aes-js/lib.esm/index.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/index.js +0 -9
- package/example/node_modules/aes-js/lib.esm/index.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-cbc.d.ts +0 -9
- package/example/node_modules/aes-js/lib.esm/mode-cbc.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-cbc.js +0 -62
- package/example/node_modules/aes-js/lib.esm/mode-cbc.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-cfb.d.ts +0 -10
- package/example/node_modules/aes-js/lib.esm/mode-cfb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-cfb.js +0 -77
- package/example/node_modules/aes-js/lib.esm/mode-cfb.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ctr.d.ts +0 -12
- package/example/node_modules/aes-js/lib.esm/mode-ctr.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ctr.js +0 -82
- package/example/node_modules/aes-js/lib.esm/mode-ctr.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ecb.d.ts +0 -7
- package/example/node_modules/aes-js/lib.esm/mode-ecb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ecb.js +0 -28
- package/example/node_modules/aes-js/lib.esm/mode-ecb.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ofb.d.ts +0 -9
- package/example/node_modules/aes-js/lib.esm/mode-ofb.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode-ofb.js +0 -57
- package/example/node_modules/aes-js/lib.esm/mode-ofb.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode.d.ts +0 -9
- package/example/node_modules/aes-js/lib.esm/mode.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/mode.js +0 -13
- package/example/node_modules/aes-js/lib.esm/mode.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/package.json +0 -3
- package/example/node_modules/aes-js/lib.esm/padding.d.ts +0 -3
- package/example/node_modules/aes-js/lib.esm/padding.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/padding.js +0 -26
- package/example/node_modules/aes-js/lib.esm/padding.js.map +0 -1
- package/example/node_modules/aes-js/lib.esm/tests.d.ts +0 -2
- package/example/node_modules/aes-js/lib.esm/tests.d.ts.map +0 -1
- package/example/node_modules/aes-js/lib.esm/tests.js +0 -81
- package/example/node_modules/aes-js/lib.esm/tests.js.map +0 -1
- package/example/node_modules/aes-js/misc/basedirs/lib.commonjs/README.md +0 -6
- package/example/node_modules/aes-js/misc/basedirs/lib.commonjs/package.json +0 -3
- package/example/node_modules/aes-js/misc/basedirs/lib.esm/README.md +0 -6
- package/example/node_modules/aes-js/misc/basedirs/lib.esm/package.json +0 -3
- package/example/node_modules/aes-js/package-commonjs.json +0 -3
- package/example/node_modules/aes-js/package.json +0 -56
- package/example/node_modules/aes-js/src.ts/aes.ts +0 -220
- package/example/node_modules/aes-js/src.ts/index.ts +0 -11
- package/example/node_modules/aes-js/src.ts/mode-cbc.ts +0 -61
- package/example/node_modules/aes-js/src.ts/mode-cfb.ts +0 -86
- package/example/node_modules/aes-js/src.ts/mode-ctr.ts +0 -82
- package/example/node_modules/aes-js/src.ts/mode-ecb.ts +0 -36
- package/example/node_modules/aes-js/src.ts/mode-ofb.ts +0 -51
- package/example/node_modules/aes-js/src.ts/mode.ts +0 -21
- package/example/node_modules/aes-js/src.ts/padding.ts +0 -29
- package/example/node_modules/aes-js/src.ts/tests.ts +0 -102
- package/example/node_modules/aes-js/tsconfig.base.json +0 -31
- package/example/node_modules/aes-js/tsconfig.commonjs.json +0 -7
- package/example/node_modules/aes-js/tsconfig.esm.json +0 -7
- package/example/node_modules/ethers/CHANGELOG.md +0 -478
- package/example/node_modules/ethers/FUNDING.json +0 -10
- package/example/node_modules/ethers/LICENSE.md +0 -21
- package/example/node_modules/ethers/README.md +0 -140
- package/example/node_modules/ethers/SECURITY.md +0 -34
- package/example/node_modules/ethers/dist/README.md +0 -22
- package/example/node_modules/ethers/dist/ethers.js +0 -26488
- package/example/node_modules/ethers/dist/ethers.js.map +0 -1
- package/example/node_modules/ethers/dist/ethers.min.js +0 -1
- package/example/node_modules/ethers/dist/ethers.umd.js +0 -26689
- package/example/node_modules/ethers/dist/ethers.umd.js.map +0 -1
- package/example/node_modules/ethers/dist/ethers.umd.min.js +0 -1
- package/example/node_modules/ethers/dist/wordlists-extra.js +0 -1509
- package/example/node_modules/ethers/dist/wordlists-extra.js.map +0 -1
- package/example/node_modules/ethers/dist/wordlists-extra.min.js +0 -1
- package/example/node_modules/ethers/lib.commonjs/README.md +0 -16
- package/example/node_modules/ethers/lib.commonjs/_version.d.ts +0 -5
- package/example/node_modules/ethers/lib.commonjs/_version.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/_version.js +0 -9
- package/example/node_modules/ethers/lib.commonjs/_version.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/abi-coder.d.ts +0 -61
- package/example/node_modules/ethers/lib.commonjs/abi/abi-coder.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/abi-coder.js +0 -210
- package/example/node_modules/ethers/lib.commonjs/abi/abi-coder.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/bytes32.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/abi/bytes32.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/bytes32.js +0 -45
- package/example/node_modules/ethers/lib.commonjs/abi/bytes32.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/abstract-coder.d.ts +0 -124
- package/example/node_modules/ethers/lib.commonjs/abi/coders/abstract-coder.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/abstract-coder.js +0 -472
- package/example/node_modules/ethers/lib.commonjs/abi/coders/abstract-coder.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/address.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/abi/coders/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/address.js +0 -33
- package/example/node_modules/ethers/lib.commonjs/abi/coders/address.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/anonymous.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/abi/coders/anonymous.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/anonymous.js +0 -27
- package/example/node_modules/ethers/lib.commonjs/abi/coders/anonymous.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/array.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/abi/coders/array.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/array.js +0 -165
- package/example/node_modules/ethers/lib.commonjs/abi/coders/array.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/boolean.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/abi/coders/boolean.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/boolean.js +0 -25
- package/example/node_modules/ethers/lib.commonjs/abi/coders/boolean.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/bytes.d.ts +0 -19
- package/example/node_modules/ethers/lib.commonjs/abi/coders/bytes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/bytes.js +0 -39
- package/example/node_modules/ethers/lib.commonjs/abi/coders/bytes.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/fixed-bytes.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/abi/coders/fixed-bytes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/fixed-bytes.js +0 -32
- package/example/node_modules/ethers/lib.commonjs/abi/coders/fixed-bytes.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/null.d.ts +0 -12
- package/example/node_modules/ethers/lib.commonjs/abi/coders/null.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/null.js +0 -28
- package/example/node_modules/ethers/lib.commonjs/abi/coders/null.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/number.d.ts +0 -16
- package/example/node_modules/ethers/lib.commonjs/abi/coders/number.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/number.js +0 -49
- package/example/node_modules/ethers/lib.commonjs/abi/coders/number.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/string.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/abi/coders/string.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/string.js +0 -25
- package/example/node_modules/ethers/lib.commonjs/abi/coders/string.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/tuple.d.ts +0 -16
- package/example/node_modules/ethers/lib.commonjs/abi/coders/tuple.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/coders/tuple.js +0 -67
- package/example/node_modules/ethers/lib.commonjs/abi/coders/tuple.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/fragments.d.ts +0 -466
- package/example/node_modules/ethers/lib.commonjs/abi/fragments.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/fragments.js +0 -1331
- package/example/node_modules/ethers/lib.commonjs/abi/fragments.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/index.d.ts +0 -18
- package/example/node_modules/ethers/lib.commonjs/abi/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/index.js +0 -40
- package/example/node_modules/ethers/lib.commonjs/abi/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/interface.d.ts +0 -382
- package/example/node_modules/ethers/lib.commonjs/abi/interface.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/interface.js +0 -1110
- package/example/node_modules/ethers/lib.commonjs/abi/interface.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/typed.d.ts +0 -570
- package/example/node_modules/ethers/lib.commonjs/abi/typed.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/abi/typed.js +0 -606
- package/example/node_modules/ethers/lib.commonjs/abi/typed.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/address.d.ts +0 -56
- package/example/node_modules/ethers/lib.commonjs/address/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/address.js +0 -161
- package/example/node_modules/ethers/lib.commonjs/address/address.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/checks.d.ts +0 -81
- package/example/node_modules/ethers/lib.commonjs/address/checks.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/checks.js +0 -120
- package/example/node_modules/ethers/lib.commonjs/address/checks.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/contract-address.d.ts +0 -48
- package/example/node_modules/ethers/lib.commonjs/address/contract-address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/contract-address.js +0 -74
- package/example/node_modules/ethers/lib.commonjs/address/contract-address.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/index.d.ts +0 -49
- package/example/node_modules/ethers/lib.commonjs/address/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/address/index.js +0 -29
- package/example/node_modules/ethers/lib.commonjs/address/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/addresses.d.ts +0 -7
- package/example/node_modules/ethers/lib.commonjs/constants/addresses.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/addresses.js +0 -10
- package/example/node_modules/ethers/lib.commonjs/constants/addresses.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/hashes.d.ts +0 -7
- package/example/node_modules/ethers/lib.commonjs/constants/hashes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/hashes.js +0 -10
- package/example/node_modules/ethers/lib.commonjs/constants/hashes.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/index.d.ts +0 -10
- package/example/node_modules/ethers/lib.commonjs/constants/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/index.js +0 -22
- package/example/node_modules/ethers/lib.commonjs/constants/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/numbers.d.ts +0 -31
- package/example/node_modules/ethers/lib.commonjs/constants/numbers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/numbers.js +0 -34
- package/example/node_modules/ethers/lib.commonjs/constants/numbers.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/strings.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/constants/strings.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/constants/strings.js +0 -17
- package/example/node_modules/ethers/lib.commonjs/constants/strings.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/contract.d.ts +0 -168
- package/example/node_modules/ethers/lib.commonjs/contract/contract.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/contract.js +0 -960
- package/example/node_modules/ethers/lib.commonjs/contract/contract.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/factory.d.ts +0 -62
- package/example/node_modules/ethers/lib.commonjs/contract/factory.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/factory.js +0 -116
- package/example/node_modules/ethers/lib.commonjs/contract/factory.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/index.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/contract/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/index.js +0 -24
- package/example/node_modules/ethers/lib.commonjs/contract/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/types.d.ts +0 -193
- package/example/node_modules/ethers/lib.commonjs/contract/types.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/types.js +0 -6
- package/example/node_modules/ethers/lib.commonjs/contract/types.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/wrappers.d.ts +0 -143
- package/example/node_modules/ethers/lib.commonjs/contract/wrappers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/contract/wrappers.js +0 -186
- package/example/node_modules/ethers/lib.commonjs/contract/wrappers.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto-browser.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto-browser.js +0 -55
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto.d.ts +0 -2
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto.js +0 -9
- package/example/node_modules/ethers/lib.commonjs/crypto/crypto.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/hmac.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/crypto/hmac.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/hmac.js +0 -51
- package/example/node_modules/ethers/lib.commonjs/crypto/hmac.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/index.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/crypto/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/index.js +0 -49
- package/example/node_modules/ethers/lib.commonjs/crypto/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/keccak.d.ts +0 -35
- package/example/node_modules/ethers/lib.commonjs/crypto/keccak.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/keccak.js +0 -52
- package/example/node_modules/ethers/lib.commonjs/crypto/keccak.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/pbkdf2.d.ts +0 -35
- package/example/node_modules/ethers/lib.commonjs/crypto/pbkdf2.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/pbkdf2.js +0 -53
- package/example/node_modules/ethers/lib.commonjs/crypto/pbkdf2.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/random.d.ts +0 -14
- package/example/node_modules/ethers/lib.commonjs/crypto/random.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/random.js +0 -38
- package/example/node_modules/ethers/lib.commonjs/crypto/random.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/ripemd160.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/crypto/ripemd160.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/ripemd160.js +0 -42
- package/example/node_modules/ethers/lib.commonjs/crypto/ripemd160.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/scrypt.d.ts +0 -82
- package/example/node_modules/ethers/lib.commonjs/crypto/scrypt.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/scrypt.js +0 -104
- package/example/node_modules/ethers/lib.commonjs/crypto/scrypt.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/sha2.d.ts +0 -47
- package/example/node_modules/ethers/lib.commonjs/crypto/sha2.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/sha2.js +0 -76
- package/example/node_modules/ethers/lib.commonjs/crypto/sha2.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/signature.d.ts +0 -183
- package/example/node_modules/ethers/lib.commonjs/crypto/signature.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/signature.js +0 -350
- package/example/node_modules/ethers/lib.commonjs/crypto/signature.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/signing-key.d.ts +0 -122
- package/example/node_modules/ethers/lib.commonjs/crypto/signing-key.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/crypto/signing-key.js +0 -170
- package/example/node_modules/ethers/lib.commonjs/crypto/signing-key.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/ethers.d.ts +0 -22
- package/example/node_modules/ethers/lib.commonjs/ethers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/ethers.js +0 -215
- package/example/node_modules/ethers/lib.commonjs/ethers.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/authorization.d.ts +0 -18
- package/example/node_modules/ethers/lib.commonjs/hash/authorization.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/authorization.js +0 -30
- package/example/node_modules/ethers/lib.commonjs/hash/authorization.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/id.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/hash/id.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/id.js +0 -21
- package/example/node_modules/ethers/lib.commonjs/hash/id.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/index.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/hash/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/index.js +0 -30
- package/example/node_modules/ethers/lib.commonjs/hash/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/message.d.ts +0 -36
- package/example/node_modules/ethers/lib.commonjs/hash/message.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/message.js +0 -56
- package/example/node_modules/ethers/lib.commonjs/hash/message.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/namehash.d.ts +0 -20
- package/example/node_modules/ethers/lib.commonjs/hash/namehash.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/namehash.js +0 -91
- package/example/node_modules/ethers/lib.commonjs/hash/namehash.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/solidity.d.ts +0 -31
- package/example/node_modules/ethers/lib.commonjs/hash/solidity.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/solidity.js +0 -109
- package/example/node_modules/ethers/lib.commonjs/hash/solidity.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/typed-data.d.ts +0 -150
- package/example/node_modules/ethers/lib.commonjs/hash/typed-data.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/hash/typed-data.js +0 -524
- package/example/node_modules/ethers/lib.commonjs/hash/typed-data.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/index.d.ts +0 -11
- package/example/node_modules/ethers/lib.commonjs/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/index.js +0 -15
- package/example/node_modules/ethers/lib.commonjs/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/package.json +0 -12
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-provider.d.ts +0 -451
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-provider.js +0 -1409
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-provider.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-signer.d.ts +0 -69
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-signer.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-signer.js +0 -249
- package/example/node_modules/ethers/lib.commonjs/providers/abstract-signer.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/community.d.ts +0 -29
- package/example/node_modules/ethers/lib.commonjs/providers/community.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/community.js +0 -40
- package/example/node_modules/ethers/lib.commonjs/providers/community.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/contracts.d.ts +0 -36
- package/example/node_modules/ethers/lib.commonjs/providers/contracts.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/contracts.js +0 -3
- package/example/node_modules/ethers/lib.commonjs/providers/contracts.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/default-provider.d.ts +0 -49
- package/example/node_modules/ethers/lib.commonjs/providers/default-provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/default-provider.js +0 -200
- package/example/node_modules/ethers/lib.commonjs/providers/default-provider.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ens-resolver.d.ts +0 -147
- package/example/node_modules/ethers/lib.commonjs/providers/ens-resolver.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ens-resolver.js +0 -502
- package/example/node_modules/ethers/lib.commonjs/providers/ens-resolver.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/format.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/providers/format.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/format.js +0 -312
- package/example/node_modules/ethers/lib.commonjs/providers/format.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/formatting.d.ts +0 -318
- package/example/node_modules/ethers/lib.commonjs/providers/formatting.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/formatting.js +0 -10
- package/example/node_modules/ethers/lib.commonjs/providers/formatting.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/index.d.ts +0 -50
- package/example/node_modules/ethers/lib.commonjs/providers/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/index.js +0 -84
- package/example/node_modules/ethers/lib.commonjs/providers/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/network.d.ts +0 -99
- package/example/node_modules/ethers/lib.commonjs/providers/network.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/network.js +0 -369
- package/example/node_modules/ethers/lib.commonjs/providers/network.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/pagination.d.ts +0 -6
- package/example/node_modules/ethers/lib.commonjs/providers/pagination.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/pagination.js +0 -3
- package/example/node_modules/ethers/lib.commonjs/providers/pagination.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/plugin-fallback.d.ts +0 -13
- package/example/node_modules/ethers/lib.commonjs/providers/plugin-fallback.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/plugin-fallback.js +0 -31
- package/example/node_modules/ethers/lib.commonjs/providers/plugin-fallback.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/plugins-network.d.ts +0 -170
- package/example/node_modules/ethers/lib.commonjs/providers/plugins-network.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/plugins-network.js +0 -216
- package/example/node_modules/ethers/lib.commonjs/providers/plugins-network.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-alchemy.d.ts +0 -50
- package/example/node_modules/ethers/lib.commonjs/providers/provider-alchemy.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-alchemy.js +0 -151
- package/example/node_modules/ethers/lib.commonjs/providers/provider-alchemy.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ankr.d.ts +0 -63
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ankr.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ankr.js +0 -143
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ankr.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-blockscout.d.ts +0 -59
- package/example/node_modules/ethers/lib.commonjs/providers/provider-blockscout.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-blockscout.js +0 -145
- package/example/node_modules/ethers/lib.commonjs/providers/provider-blockscout.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-browser.d.ts +0 -108
- package/example/node_modules/ethers/lib.commonjs/providers/provider-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-browser.js +0 -204
- package/example/node_modules/ethers/lib.commonjs/providers/provider-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-chainstack.d.ts +0 -46
- package/example/node_modules/ethers/lib.commonjs/providers/provider-chainstack.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-chainstack.js +0 -102
- package/example/node_modules/ethers/lib.commonjs/providers/provider-chainstack.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-cloudflare.d.ts +0 -14
- package/example/node_modules/ethers/lib.commonjs/providers/provider-cloudflare.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-cloudflare.js +0 -26
- package/example/node_modules/ethers/lib.commonjs/providers/provider-cloudflare.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-etherscan.d.ts +0 -152
- package/example/node_modules/ethers/lib.commonjs/providers/provider-etherscan.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-etherscan.js +0 -601
- package/example/node_modules/ethers/lib.commonjs/providers/provider-etherscan.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-fallback.d.ts +0 -115
- package/example/node_modules/ethers/lib.commonjs/providers/provider-fallback.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-fallback.js +0 -624
- package/example/node_modules/ethers/lib.commonjs/providers/provider-fallback.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-infura.d.ts +0 -101
- package/example/node_modules/ethers/lib.commonjs/providers/provider-infura.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-infura.js +0 -206
- package/example/node_modules/ethers/lib.commonjs/providers/provider-infura.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket-browser.js +0 -6
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket.d.ts +0 -21
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket.js +0 -72
- package/example/node_modules/ethers/lib.commonjs/providers/provider-ipcsocket.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.d.ts +0 -361
- package/example/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js +0 -980
- package/example/node_modules/ethers/lib.commonjs/providers/provider-jsonrpc.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-pocket.d.ts +0 -54
- package/example/node_modules/ethers/lib.commonjs/providers/provider-pocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-pocket.js +0 -109
- package/example/node_modules/ethers/lib.commonjs/providers/provider-pocket.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-quicknode.d.ts +0 -59
- package/example/node_modules/ethers/lib.commonjs/providers/provider-quicknode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-quicknode.js +0 -163
- package/example/node_modules/ethers/lib.commonjs/providers/provider-quicknode.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-socket.d.ts +0 -113
- package/example/node_modules/ethers/lib.commonjs/providers/provider-socket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-socket.js +0 -309
- package/example/node_modules/ethers/lib.commonjs/providers/provider-socket.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-websocket.d.ts +0 -37
- package/example/node_modules/ethers/lib.commonjs/providers/provider-websocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider-websocket.js +0 -80
- package/example/node_modules/ethers/lib.commonjs/providers/provider-websocket.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider.d.ts +0 -1230
- package/example/node_modules/ethers/lib.commonjs/providers/provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/provider.js +0 -1324
- package/example/node_modules/ethers/lib.commonjs/providers/provider.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/signer-noncemanager.d.ts +0 -38
- package/example/node_modules/ethers/lib.commonjs/providers/signer-noncemanager.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/signer-noncemanager.js +0 -78
- package/example/node_modules/ethers/lib.commonjs/providers/signer-noncemanager.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/signer.d.ts +0 -131
- package/example/node_modules/ethers/lib.commonjs/providers/signer.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/signer.js +0 -3
- package/example/node_modules/ethers/lib.commonjs/providers/signer.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-connection.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-connection.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-connection.js +0 -56
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-connection.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-filterid.d.ts +0 -64
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-filterid.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-filterid.js +0 -180
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-filterid.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-polling.d.ts +0 -100
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-polling.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-polling.js +0 -303
- package/example/node_modules/ethers/lib.commonjs/providers/subscriber-polling.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ws-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.commonjs/providers/ws-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ws-browser.js +0 -19
- package/example/node_modules/ethers/lib.commonjs/providers/ws-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ws.d.ts +0 -2
- package/example/node_modules/ethers/lib.commonjs/providers/ws.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/providers/ws.js +0 -6
- package/example/node_modules/ethers/lib.commonjs/providers/ws.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/accesslist.d.ts +0 -6
- package/example/node_modules/ethers/lib.commonjs/transaction/accesslist.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/accesslist.js +0 -41
- package/example/node_modules/ethers/lib.commonjs/transaction/accesslist.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/address.d.ts +0 -15
- package/example/node_modules/ethers/lib.commonjs/transaction/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/address.js +0 -30
- package/example/node_modules/ethers/lib.commonjs/transaction/address.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/authorization.d.ts +0 -3
- package/example/node_modules/ethers/lib.commonjs/transaction/authorization.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/authorization.js +0 -16
- package/example/node_modules/ethers/lib.commonjs/transaction/authorization.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/index.d.ts +0 -40
- package/example/node_modules/ethers/lib.commonjs/transaction/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/index.js +0 -19
- package/example/node_modules/ethers/lib.commonjs/transaction/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/transaction.d.ts +0 -430
- package/example/node_modules/ethers/lib.commonjs/transaction/transaction.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/transaction/transaction.js +0 -1293
- package/example/node_modules/ethers/lib.commonjs/transaction/transaction.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base58.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/utils/base58.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base58.js +0 -68
- package/example/node_modules/ethers/lib.commonjs/utils/base58.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base64-browser.d.ts +0 -4
- package/example/node_modules/ethers/lib.commonjs/utils/base64-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base64-browser.js +0 -24
- package/example/node_modules/ethers/lib.commonjs/utils/base64-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base64.d.ts +0 -40
- package/example/node_modules/ethers/lib.commonjs/utils/base64.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/base64.js +0 -58
- package/example/node_modules/ethers/lib.commonjs/utils/base64.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/data.d.ts +0 -93
- package/example/node_modules/ethers/lib.commonjs/utils/data.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/data.js +0 -185
- package/example/node_modules/ethers/lib.commonjs/utils/data.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/errors.d.ts +0 -512
- package/example/node_modules/ethers/lib.commonjs/utils/errors.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/errors.js +0 -243
- package/example/node_modules/ethers/lib.commonjs/utils/errors.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/events.d.ts +0 -77
- package/example/node_modules/ethers/lib.commonjs/utils/events.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/events.js +0 -46
- package/example/node_modules/ethers/lib.commonjs/utils/events.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/fetch.d.ts +0 -363
- package/example/node_modules/ethers/lib.commonjs/utils/fetch.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/fetch.js +0 -858
- package/example/node_modules/ethers/lib.commonjs/utils/fetch.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/fixednumber.d.ts +0 -252
- package/example/node_modules/ethers/lib.commonjs/utils/fixednumber.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/fixednumber.js +0 -530
- package/example/node_modules/ethers/lib.commonjs/utils/fixednumber.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/geturl-browser.d.ts +0 -4
- package/example/node_modules/ethers/lib.commonjs/utils/geturl-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/geturl-browser.js +0 -67
- package/example/node_modules/ethers/lib.commonjs/utils/geturl-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/geturl.d.ts +0 -10
- package/example/node_modules/ethers/lib.commonjs/utils/geturl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/geturl.js +0 -127
- package/example/node_modules/ethers/lib.commonjs/utils/geturl.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/index.d.ts +0 -30
- package/example/node_modules/ethers/lib.commonjs/utils/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/index.js +0 -78
- package/example/node_modules/ethers/lib.commonjs/utils/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/maths.d.ts +0 -66
- package/example/node_modules/ethers/lib.commonjs/utils/maths.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/maths.js +0 -245
- package/example/node_modules/ethers/lib.commonjs/utils/maths.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/properties.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/utils/properties.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/properties.js +0 -59
- package/example/node_modules/ethers/lib.commonjs/utils/properties.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-decode.d.ts +0 -6
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-decode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-decode.js +0 -83
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-decode.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-encode.d.ts +0 -6
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-encode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-encode.js +0 -53
- package/example/node_modules/ethers/lib.commonjs/utils/rlp-encode.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp.d.ts +0 -17
- package/example/node_modules/ethers/lib.commonjs/utils/rlp.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/rlp.js +0 -14
- package/example/node_modules/ethers/lib.commonjs/utils/rlp.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/units.d.ts +0 -24
- package/example/node_modules/ethers/lib.commonjs/utils/units.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/units.js +0 -90
- package/example/node_modules/ethers/lib.commonjs/utils/units.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/utf8.d.ts +0 -96
- package/example/node_modules/ethers/lib.commonjs/utils/utf8.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/utf8.js +0 -227
- package/example/node_modules/ethers/lib.commonjs/utils/utf8.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/uuid.d.ts +0 -8
- package/example/node_modules/ethers/lib.commonjs/utils/uuid.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/utils/uuid.js +0 -34
- package/example/node_modules/ethers/lib.commonjs/utils/uuid.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/base-wallet.d.ts +0 -57
- package/example/node_modules/ethers/lib.commonjs/wallet/base-wallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/base-wallet.js +0 -127
- package/example/node_modules/ethers/lib.commonjs/wallet/base-wallet.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/hdwallet.d.ts +0 -248
- package/example/node_modules/ethers/lib.commonjs/wallet/hdwallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/hdwallet.js +0 -506
- package/example/node_modules/ethers/lib.commonjs/wallet/hdwallet.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/index.d.ts +0 -27
- package/example/node_modules/ethers/lib.commonjs/wallet/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/index.js +0 -43
- package/example/node_modules/ethers/lib.commonjs/wallet/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/json-crowdsale.d.ts +0 -27
- package/example/node_modules/ethers/lib.commonjs/wallet/json-crowdsale.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/json-crowdsale.js +0 -60
- package/example/node_modules/ethers/lib.commonjs/wallet/json-crowdsale.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/json-keystore.d.ts +0 -89
- package/example/node_modules/ethers/lib.commonjs/wallet/json-keystore.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/json-keystore.js +0 -295
- package/example/node_modules/ethers/lib.commonjs/wallet/json-keystore.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/mnemonic.d.ts +0 -65
- package/example/node_modules/ethers/lib.commonjs/wallet/mnemonic.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/mnemonic.js +0 -169
- package/example/node_modules/ethers/lib.commonjs/wallet/mnemonic.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/utils.d.ts +0 -8
- package/example/node_modules/ethers/lib.commonjs/wallet/utils.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/utils.js +0 -149
- package/example/node_modules/ethers/lib.commonjs/wallet/utils.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/wallet.d.ts +0 -71
- package/example/node_modules/ethers/lib.commonjs/wallet/wallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wallet/wallet.js +0 -148
- package/example/node_modules/ethers/lib.commonjs/wallet/wallet.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/bit-reader.d.ts +0 -5
- package/example/node_modules/ethers/lib.commonjs/wordlists/bit-reader.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/bit-reader.js +0 -36
- package/example/node_modules/ethers/lib.commonjs/wordlists/bit-reader.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owl.d.ts +0 -9
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owl.js +0 -60
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owl.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owla.d.ts +0 -5
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owla.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owla.js +0 -32
- package/example/node_modules/ethers/lib.commonjs/wordlists/decode-owla.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/generation/encode-latin.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/wordlists/generation/encode-latin.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/generation/encode-latin.js +0 -351
- package/example/node_modules/ethers/lib.commonjs/wordlists/generation/encode-latin.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/index.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/wordlists/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/index.js +0 -33
- package/example/node_modules/ethers/lib.commonjs/wordlists/index.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-cz.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-cz.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-cz.js +0 -35
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-cz.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-en.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-en.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-en.js +0 -35
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-en.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-es.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-es.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-es.js +0 -36
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-es.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-fr.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-fr.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-fr.js +0 -36
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-fr.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-it.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-it.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-it.js +0 -35
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-it.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ja.d.ts +0 -27
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ja.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ja.js +0 -158
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ja.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ko.d.ts +0 -25
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ko.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ko.js +0 -93
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-ko.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-pt.d.ts +0 -23
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-pt.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-pt.js +0 -35
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-pt.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-zh.d.ts +0 -32
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-zh.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-zh.js +0 -96
- package/example/node_modules/ethers/lib.commonjs/wordlists/lang-zh.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owl.d.ts +0 -32
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owl.js +0 -70
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owl.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owla.d.ts +0 -30
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owla.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owla.js +0 -40
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist-owla.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist.d.ts +0 -47
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist.js +0 -46
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlist.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-browser.js +0 -8
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-extra.d.ts +0 -9
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-extra.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-extra.js +0 -20
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists-extra.js.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists.d.ts +0 -16
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists.js +0 -38
- package/example/node_modules/ethers/lib.commonjs/wordlists/wordlists.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/README.md +0 -16
- package/example/node_modules/ethers/lib.esm/_version.d.ts +0 -5
- package/example/node_modules/ethers/lib.esm/_version.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/_version.js +0 -6
- package/example/node_modules/ethers/lib.esm/_version.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/abi-coder.d.ts +0 -61
- package/example/node_modules/ethers/lib.esm/abi/abi-coder.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/abi-coder.js +0 -206
- package/example/node_modules/ethers/lib.esm/abi/abi-coder.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/bytes32.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/abi/bytes32.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/bytes32.js +0 -40
- package/example/node_modules/ethers/lib.esm/abi/bytes32.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/abstract-coder.d.ts +0 -124
- package/example/node_modules/ethers/lib.esm/abi/coders/abstract-coder.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/abstract-coder.js +0 -466
- package/example/node_modules/ethers/lib.esm/abi/coders/abstract-coder.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/address.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/abi/coders/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/address.js +0 -29
- package/example/node_modules/ethers/lib.esm/abi/coders/address.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/anonymous.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/abi/coders/anonymous.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/anonymous.js +0 -23
- package/example/node_modules/ethers/lib.esm/abi/coders/anonymous.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/array.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/abi/coders/array.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/array.js +0 -159
- package/example/node_modules/ethers/lib.esm/abi/coders/array.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/boolean.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/abi/coders/boolean.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/boolean.js +0 -21
- package/example/node_modules/ethers/lib.esm/abi/coders/boolean.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/bytes.d.ts +0 -19
- package/example/node_modules/ethers/lib.esm/abi/coders/bytes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/bytes.js +0 -34
- package/example/node_modules/ethers/lib.esm/abi/coders/bytes.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.js +0 -28
- package/example/node_modules/ethers/lib.esm/abi/coders/fixed-bytes.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/null.d.ts +0 -12
- package/example/node_modules/ethers/lib.esm/abi/coders/null.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/null.js +0 -24
- package/example/node_modules/ethers/lib.esm/abi/coders/null.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/number.d.ts +0 -16
- package/example/node_modules/ethers/lib.esm/abi/coders/number.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/number.js +0 -45
- package/example/node_modules/ethers/lib.esm/abi/coders/number.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/string.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/abi/coders/string.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/string.js +0 -21
- package/example/node_modules/ethers/lib.esm/abi/coders/string.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/tuple.d.ts +0 -16
- package/example/node_modules/ethers/lib.esm/abi/coders/tuple.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/coders/tuple.js +0 -63
- package/example/node_modules/ethers/lib.esm/abi/coders/tuple.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/fragments.d.ts +0 -466
- package/example/node_modules/ethers/lib.esm/abi/fragments.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/fragments.js +0 -1319
- package/example/node_modules/ethers/lib.esm/abi/fragments.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/index.d.ts +0 -18
- package/example/node_modules/ethers/lib.esm/abi/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/index.js +0 -17
- package/example/node_modules/ethers/lib.esm/abi/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/interface.d.ts +0 -382
- package/example/node_modules/ethers/lib.esm/abi/interface.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/interface.js +0 -1101
- package/example/node_modules/ethers/lib.esm/abi/interface.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/typed.d.ts +0 -570
- package/example/node_modules/ethers/lib.esm/abi/typed.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/abi/typed.js +0 -602
- package/example/node_modules/ethers/lib.esm/abi/typed.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/address.d.ts +0 -56
- package/example/node_modules/ethers/lib.esm/address/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/address.js +0 -156
- package/example/node_modules/ethers/lib.esm/address/address.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/checks.d.ts +0 -81
- package/example/node_modules/ethers/lib.esm/address/checks.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/checks.js +0 -114
- package/example/node_modules/ethers/lib.esm/address/checks.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/contract-address.d.ts +0 -48
- package/example/node_modules/ethers/lib.esm/address/contract-address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/contract-address.js +0 -69
- package/example/node_modules/ethers/lib.esm/address/contract-address.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/index.d.ts +0 -49
- package/example/node_modules/ethers/lib.esm/address/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/address/index.js +0 -19
- package/example/node_modules/ethers/lib.esm/address/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/addresses.d.ts +0 -7
- package/example/node_modules/ethers/lib.esm/constants/addresses.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/addresses.js +0 -7
- package/example/node_modules/ethers/lib.esm/constants/addresses.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/hashes.d.ts +0 -7
- package/example/node_modules/ethers/lib.esm/constants/hashes.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/hashes.js +0 -7
- package/example/node_modules/ethers/lib.esm/constants/hashes.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/index.d.ts +0 -10
- package/example/node_modules/ethers/lib.esm/constants/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/index.js +0 -10
- package/example/node_modules/ethers/lib.esm/constants/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/numbers.d.ts +0 -31
- package/example/node_modules/ethers/lib.esm/constants/numbers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/numbers.js +0 -31
- package/example/node_modules/ethers/lib.esm/constants/numbers.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/strings.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/constants/strings.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/constants/strings.js +0 -14
- package/example/node_modules/ethers/lib.esm/constants/strings.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/contract.d.ts +0 -168
- package/example/node_modules/ethers/lib.esm/contract/contract.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/contract.js +0 -953
- package/example/node_modules/ethers/lib.esm/contract/contract.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/factory.d.ts +0 -62
- package/example/node_modules/ethers/lib.esm/contract/factory.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/factory.js +0 -112
- package/example/node_modules/ethers/lib.esm/contract/factory.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/index.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/contract/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/index.js +0 -12
- package/example/node_modules/ethers/lib.esm/contract/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/types.d.ts +0 -193
- package/example/node_modules/ethers/lib.esm/contract/types.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/types.js +0 -5
- package/example/node_modules/ethers/lib.esm/contract/types.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/wrappers.d.ts +0 -143
- package/example/node_modules/ethers/lib.esm/contract/wrappers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/contract/wrappers.js +0 -177
- package/example/node_modules/ethers/lib.esm/contract/wrappers.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/crypto-browser.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/crypto/crypto-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/crypto-browser.js +0 -48
- package/example/node_modules/ethers/lib.esm/crypto/crypto-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/crypto.d.ts +0 -2
- package/example/node_modules/ethers/lib.esm/crypto/crypto.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/crypto.js +0 -2
- package/example/node_modules/ethers/lib.esm/crypto/crypto.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/hmac.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/crypto/hmac.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/hmac.js +0 -47
- package/example/node_modules/ethers/lib.esm/crypto/hmac.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/index.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/crypto/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/index.js +0 -36
- package/example/node_modules/ethers/lib.esm/crypto/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/keccak.d.ts +0 -35
- package/example/node_modules/ethers/lib.esm/crypto/keccak.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/keccak.js +0 -48
- package/example/node_modules/ethers/lib.esm/crypto/keccak.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/pbkdf2.d.ts +0 -35
- package/example/node_modules/ethers/lib.esm/crypto/pbkdf2.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/pbkdf2.js +0 -49
- package/example/node_modules/ethers/lib.esm/crypto/pbkdf2.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/random.d.ts +0 -14
- package/example/node_modules/ethers/lib.esm/crypto/random.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/random.js +0 -34
- package/example/node_modules/ethers/lib.esm/crypto/random.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/ripemd160.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/crypto/ripemd160.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/ripemd160.js +0 -38
- package/example/node_modules/ethers/lib.esm/crypto/ripemd160.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/scrypt.d.ts +0 -82
- package/example/node_modules/ethers/lib.esm/crypto/scrypt.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/scrypt.js +0 -99
- package/example/node_modules/ethers/lib.esm/crypto/scrypt.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/sha2.d.ts +0 -47
- package/example/node_modules/ethers/lib.esm/crypto/sha2.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/sha2.js +0 -71
- package/example/node_modules/ethers/lib.esm/crypto/sha2.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/signature.d.ts +0 -183
- package/example/node_modules/ethers/lib.esm/crypto/signature.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/signature.js +0 -346
- package/example/node_modules/ethers/lib.esm/crypto/signature.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/signing-key.d.ts +0 -122
- package/example/node_modules/ethers/lib.esm/crypto/signing-key.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/crypto/signing-key.js +0 -166
- package/example/node_modules/ethers/lib.esm/crypto/signing-key.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/ethers.d.ts +0 -22
- package/example/node_modules/ethers/lib.esm/ethers.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/ethers.js +0 -16
- package/example/node_modules/ethers/lib.esm/ethers.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/authorization.d.ts +0 -18
- package/example/node_modules/ethers/lib.esm/hash/authorization.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/authorization.js +0 -25
- package/example/node_modules/ethers/lib.esm/hash/authorization.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/id.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/hash/id.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/id.js +0 -17
- package/example/node_modules/ethers/lib.esm/hash/id.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/index.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/hash/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/index.js +0 -13
- package/example/node_modules/ethers/lib.esm/hash/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/message.d.ts +0 -36
- package/example/node_modules/ethers/lib.esm/hash/message.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/message.js +0 -51
- package/example/node_modules/ethers/lib.esm/hash/message.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/namehash.d.ts +0 -20
- package/example/node_modules/ethers/lib.esm/hash/namehash.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/namehash.js +0 -84
- package/example/node_modules/ethers/lib.esm/hash/namehash.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/solidity.d.ts +0 -31
- package/example/node_modules/ethers/lib.esm/hash/solidity.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/solidity.js +0 -103
- package/example/node_modules/ethers/lib.esm/hash/solidity.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/typed-data.d.ts +0 -150
- package/example/node_modules/ethers/lib.esm/hash/typed-data.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/hash/typed-data.js +0 -519
- package/example/node_modules/ethers/lib.esm/hash/typed-data.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/index.d.ts +0 -11
- package/example/node_modules/ethers/lib.esm/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/index.js +0 -11
- package/example/node_modules/ethers/lib.esm/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/package.json +0 -12
- package/example/node_modules/ethers/lib.esm/providers/abstract-provider.d.ts +0 -451
- package/example/node_modules/ethers/lib.esm/providers/abstract-provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/abstract-provider.js +0 -1404
- package/example/node_modules/ethers/lib.esm/providers/abstract-provider.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/abstract-signer.d.ts +0 -69
- package/example/node_modules/ethers/lib.esm/providers/abstract-signer.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/abstract-signer.js +0 -244
- package/example/node_modules/ethers/lib.esm/providers/abstract-signer.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/community.d.ts +0 -29
- package/example/node_modules/ethers/lib.esm/providers/community.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/community.js +0 -36
- package/example/node_modules/ethers/lib.esm/providers/community.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/contracts.d.ts +0 -36
- package/example/node_modules/ethers/lib.esm/providers/contracts.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/contracts.js +0 -2
- package/example/node_modules/ethers/lib.esm/providers/contracts.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/default-provider.d.ts +0 -49
- package/example/node_modules/ethers/lib.esm/providers/default-provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/default-provider.js +0 -196
- package/example/node_modules/ethers/lib.esm/providers/default-provider.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ens-resolver.d.ts +0 -147
- package/example/node_modules/ethers/lib.esm/providers/ens-resolver.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ens-resolver.js +0 -496
- package/example/node_modules/ethers/lib.esm/providers/ens-resolver.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/format.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/providers/format.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/format.js +0 -297
- package/example/node_modules/ethers/lib.esm/providers/format.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/formatting.d.ts +0 -318
- package/example/node_modules/ethers/lib.esm/providers/formatting.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/formatting.js +0 -9
- package/example/node_modules/ethers/lib.esm/providers/formatting.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/index.d.ts +0 -50
- package/example/node_modules/ethers/lib.esm/providers/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/index.js +0 -40
- package/example/node_modules/ethers/lib.esm/providers/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/network.d.ts +0 -99
- package/example/node_modules/ethers/lib.esm/providers/network.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/network.js +0 -365
- package/example/node_modules/ethers/lib.esm/providers/network.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/pagination.d.ts +0 -6
- package/example/node_modules/ethers/lib.esm/providers/pagination.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/pagination.js +0 -2
- package/example/node_modules/ethers/lib.esm/providers/pagination.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/plugin-fallback.d.ts +0 -13
- package/example/node_modules/ethers/lib.esm/providers/plugin-fallback.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/plugin-fallback.js +0 -26
- package/example/node_modules/ethers/lib.esm/providers/plugin-fallback.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/plugins-network.d.ts +0 -170
- package/example/node_modules/ethers/lib.esm/providers/plugins-network.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/plugins-network.js +0 -208
- package/example/node_modules/ethers/lib.esm/providers/plugins-network.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-alchemy.d.ts +0 -50
- package/example/node_modules/ethers/lib.esm/providers/provider-alchemy.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-alchemy.js +0 -147
- package/example/node_modules/ethers/lib.esm/providers/provider-alchemy.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ankr.d.ts +0 -63
- package/example/node_modules/ethers/lib.esm/providers/provider-ankr.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ankr.js +0 -139
- package/example/node_modules/ethers/lib.esm/providers/provider-ankr.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-blockscout.d.ts +0 -59
- package/example/node_modules/ethers/lib.esm/providers/provider-blockscout.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-blockscout.js +0 -141
- package/example/node_modules/ethers/lib.esm/providers/provider-blockscout.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-browser.d.ts +0 -108
- package/example/node_modules/ethers/lib.esm/providers/provider-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-browser.js +0 -200
- package/example/node_modules/ethers/lib.esm/providers/provider-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-chainstack.d.ts +0 -46
- package/example/node_modules/ethers/lib.esm/providers/provider-chainstack.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-chainstack.js +0 -98
- package/example/node_modules/ethers/lib.esm/providers/provider-chainstack.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-cloudflare.d.ts +0 -14
- package/example/node_modules/ethers/lib.esm/providers/provider-cloudflare.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-cloudflare.js +0 -22
- package/example/node_modules/ethers/lib.esm/providers/provider-cloudflare.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-etherscan.d.ts +0 -152
- package/example/node_modules/ethers/lib.esm/providers/provider-etherscan.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-etherscan.js +0 -598
- package/example/node_modules/ethers/lib.esm/providers/provider-etherscan.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-fallback.d.ts +0 -115
- package/example/node_modules/ethers/lib.esm/providers/provider-fallback.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-fallback.js +0 -620
- package/example/node_modules/ethers/lib.esm/providers/provider-fallback.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-infura.d.ts +0 -101
- package/example/node_modules/ethers/lib.esm/providers/provider-infura.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-infura.js +0 -201
- package/example/node_modules/ethers/lib.esm/providers/provider-infura.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket-browser.js +0 -3
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket.d.ts +0 -21
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket.js +0 -68
- package/example/node_modules/ethers/lib.esm/providers/provider-ipcsocket.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-jsonrpc.d.ts +0 -361
- package/example/node_modules/ethers/lib.esm/providers/provider-jsonrpc.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-jsonrpc.js +0 -973
- package/example/node_modules/ethers/lib.esm/providers/provider-jsonrpc.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-pocket.d.ts +0 -54
- package/example/node_modules/ethers/lib.esm/providers/provider-pocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-pocket.js +0 -105
- package/example/node_modules/ethers/lib.esm/providers/provider-pocket.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-quicknode.d.ts +0 -59
- package/example/node_modules/ethers/lib.esm/providers/provider-quicknode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-quicknode.js +0 -159
- package/example/node_modules/ethers/lib.esm/providers/provider-quicknode.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-socket.d.ts +0 -113
- package/example/node_modules/ethers/lib.esm/providers/provider-socket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-socket.js +0 -301
- package/example/node_modules/ethers/lib.esm/providers/provider-socket.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-websocket.d.ts +0 -37
- package/example/node_modules/ethers/lib.esm/providers/provider-websocket.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider-websocket.js +0 -76
- package/example/node_modules/ethers/lib.esm/providers/provider-websocket.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider.d.ts +0 -1230
- package/example/node_modules/ethers/lib.esm/providers/provider.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/provider.js +0 -1315
- package/example/node_modules/ethers/lib.esm/providers/provider.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/signer-noncemanager.d.ts +0 -38
- package/example/node_modules/ethers/lib.esm/providers/signer-noncemanager.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/signer-noncemanager.js +0 -74
- package/example/node_modules/ethers/lib.esm/providers/signer-noncemanager.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/signer.d.ts +0 -131
- package/example/node_modules/ethers/lib.esm/providers/signer.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/signer.js +0 -2
- package/example/node_modules/ethers/lib.esm/providers/signer.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-connection.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/providers/subscriber-connection.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-connection.js +0 -52
- package/example/node_modules/ethers/lib.esm/providers/subscriber-connection.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-filterid.d.ts +0 -64
- package/example/node_modules/ethers/lib.esm/providers/subscriber-filterid.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-filterid.js +0 -174
- package/example/node_modules/ethers/lib.esm/providers/subscriber-filterid.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-polling.d.ts +0 -100
- package/example/node_modules/ethers/lib.esm/providers/subscriber-polling.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/subscriber-polling.js +0 -293
- package/example/node_modules/ethers/lib.esm/providers/subscriber-polling.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ws-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.esm/providers/ws-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ws-browser.js +0 -16
- package/example/node_modules/ethers/lib.esm/providers/ws-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ws.d.ts +0 -2
- package/example/node_modules/ethers/lib.esm/providers/ws.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/providers/ws.js +0 -2
- package/example/node_modules/ethers/lib.esm/providers/ws.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/accesslist.d.ts +0 -6
- package/example/node_modules/ethers/lib.esm/transaction/accesslist.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/accesslist.js +0 -37
- package/example/node_modules/ethers/lib.esm/transaction/accesslist.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/address.d.ts +0 -15
- package/example/node_modules/ethers/lib.esm/transaction/address.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/address.js +0 -25
- package/example/node_modules/ethers/lib.esm/transaction/address.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/authorization.d.ts +0 -3
- package/example/node_modules/ethers/lib.esm/transaction/authorization.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/authorization.js +0 -12
- package/example/node_modules/ethers/lib.esm/transaction/authorization.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/index.d.ts +0 -40
- package/example/node_modules/ethers/lib.esm/transaction/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/index.js +0 -11
- package/example/node_modules/ethers/lib.esm/transaction/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/transaction.d.ts +0 -430
- package/example/node_modules/ethers/lib.esm/transaction/transaction.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/transaction/transaction.js +0 -1288
- package/example/node_modules/ethers/lib.esm/transaction/transaction.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base58.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/utils/base58.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base58.js +0 -63
- package/example/node_modules/ethers/lib.esm/utils/base58.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base64-browser.d.ts +0 -4
- package/example/node_modules/ethers/lib.esm/utils/base64-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base64-browser.js +0 -19
- package/example/node_modules/ethers/lib.esm/utils/base64-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base64.d.ts +0 -40
- package/example/node_modules/ethers/lib.esm/utils/base64.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/base64.js +0 -53
- package/example/node_modules/ethers/lib.esm/utils/base64.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/data.d.ts +0 -93
- package/example/node_modules/ethers/lib.esm/utils/data.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/data.js +0 -171
- package/example/node_modules/ethers/lib.esm/utils/data.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/errors.d.ts +0 -512
- package/example/node_modules/ethers/lib.esm/utils/errors.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/errors.js +0 -232
- package/example/node_modules/ethers/lib.esm/utils/errors.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/events.d.ts +0 -77
- package/example/node_modules/ethers/lib.esm/utils/events.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/events.js +0 -42
- package/example/node_modules/ethers/lib.esm/utils/events.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/fetch.d.ts +0 -363
- package/example/node_modules/ethers/lib.esm/utils/fetch.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/fetch.js +0 -852
- package/example/node_modules/ethers/lib.esm/utils/fetch.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/fixednumber.d.ts +0 -252
- package/example/node_modules/ethers/lib.esm/utils/fixednumber.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/fixednumber.js +0 -526
- package/example/node_modules/ethers/lib.esm/utils/fixednumber.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/geturl-browser.d.ts +0 -4
- package/example/node_modules/ethers/lib.esm/utils/geturl-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/geturl-browser.js +0 -62
- package/example/node_modules/ethers/lib.esm/utils/geturl-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/geturl.d.ts +0 -10
- package/example/node_modules/ethers/lib.esm/utils/geturl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/geturl.js +0 -121
- package/example/node_modules/ethers/lib.esm/utils/geturl.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/index.d.ts +0 -30
- package/example/node_modules/ethers/lib.esm/utils/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/index.js +0 -22
- package/example/node_modules/ethers/lib.esm/utils/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/maths.d.ts +0 -66
- package/example/node_modules/ethers/lib.esm/utils/maths.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/maths.js +0 -231
- package/example/node_modules/ethers/lib.esm/utils/maths.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/properties.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/utils/properties.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/properties.js +0 -54
- package/example/node_modules/ethers/lib.esm/utils/properties.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp-decode.d.ts +0 -6
- package/example/node_modules/ethers/lib.esm/utils/rlp-decode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp-decode.js +0 -79
- package/example/node_modules/ethers/lib.esm/utils/rlp-decode.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp-encode.d.ts +0 -6
- package/example/node_modules/ethers/lib.esm/utils/rlp-encode.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp-encode.js +0 -49
- package/example/node_modules/ethers/lib.esm/utils/rlp-encode.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp.d.ts +0 -17
- package/example/node_modules/ethers/lib.esm/utils/rlp.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/rlp.js +0 -9
- package/example/node_modules/ethers/lib.esm/utils/rlp.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/units.d.ts +0 -24
- package/example/node_modules/ethers/lib.esm/utils/units.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/units.js +0 -83
- package/example/node_modules/ethers/lib.esm/utils/units.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/utf8.d.ts +0 -96
- package/example/node_modules/ethers/lib.esm/utils/utf8.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/utf8.js +0 -221
- package/example/node_modules/ethers/lib.esm/utils/utf8.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/uuid.d.ts +0 -8
- package/example/node_modules/ethers/lib.esm/utils/uuid.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/utils/uuid.js +0 -30
- package/example/node_modules/ethers/lib.esm/utils/uuid.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/base-wallet.d.ts +0 -57
- package/example/node_modules/ethers/lib.esm/wallet/base-wallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/base-wallet.js +0 -123
- package/example/node_modules/ethers/lib.esm/wallet/base-wallet.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/hdwallet.d.ts +0 -248
- package/example/node_modules/ethers/lib.esm/wallet/hdwallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/hdwallet.js +0 -499
- package/example/node_modules/ethers/lib.esm/wallet/hdwallet.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/index.d.ts +0 -27
- package/example/node_modules/ethers/lib.esm/wallet/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/index.js +0 -25
- package/example/node_modules/ethers/lib.esm/wallet/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/json-crowdsale.d.ts +0 -27
- package/example/node_modules/ethers/lib.esm/wallet/json-crowdsale.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/json-crowdsale.js +0 -55
- package/example/node_modules/ethers/lib.esm/wallet/json-crowdsale.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/json-keystore.d.ts +0 -89
- package/example/node_modules/ethers/lib.esm/wallet/json-keystore.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/json-keystore.js +0 -287
- package/example/node_modules/ethers/lib.esm/wallet/json-keystore.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/mnemonic.d.ts +0 -65
- package/example/node_modules/ethers/lib.esm/wallet/mnemonic.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/mnemonic.js +0 -165
- package/example/node_modules/ethers/lib.esm/wallet/mnemonic.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/utils.d.ts +0 -8
- package/example/node_modules/ethers/lib.esm/wallet/utils.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/utils.js +0 -142
- package/example/node_modules/ethers/lib.esm/wallet/utils.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/wallet.d.ts +0 -71
- package/example/node_modules/ethers/lib.esm/wallet/wallet.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wallet/wallet.js +0 -144
- package/example/node_modules/ethers/lib.esm/wallet/wallet.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/bit-reader.d.ts +0 -5
- package/example/node_modules/ethers/lib.esm/wordlists/bit-reader.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/bit-reader.js +0 -32
- package/example/node_modules/ethers/lib.esm/wordlists/bit-reader.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owl.d.ts +0 -9
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owl.js +0 -55
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owl.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owla.d.ts +0 -5
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owla.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owla.js +0 -28
- package/example/node_modules/ethers/lib.esm/wordlists/decode-owla.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/generation/encode-latin.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/wordlists/generation/encode-latin.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/generation/encode-latin.js +0 -344
- package/example/node_modules/ethers/lib.esm/wordlists/generation/encode-latin.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/index.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/wordlists/index.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/index.js +0 -25
- package/example/node_modules/ethers/lib.esm/wordlists/index.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-cz.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-cz.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-cz.js +0 -31
- package/example/node_modules/ethers/lib.esm/wordlists/lang-cz.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-en.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-en.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-en.js +0 -31
- package/example/node_modules/ethers/lib.esm/wordlists/lang-en.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-es.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-es.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-es.js +0 -32
- package/example/node_modules/ethers/lib.esm/wordlists/lang-es.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-fr.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-fr.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-fr.js +0 -32
- package/example/node_modules/ethers/lib.esm/wordlists/lang-fr.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-it.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-it.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-it.js +0 -31
- package/example/node_modules/ethers/lib.esm/wordlists/lang-it.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ja.d.ts +0 -27
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ja.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ja.js +0 -154
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ja.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ko.d.ts +0 -25
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ko.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ko.js +0 -89
- package/example/node_modules/ethers/lib.esm/wordlists/lang-ko.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-pt.d.ts +0 -23
- package/example/node_modules/ethers/lib.esm/wordlists/lang-pt.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-pt.js +0 -31
- package/example/node_modules/ethers/lib.esm/wordlists/lang-pt.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-zh.d.ts +0 -32
- package/example/node_modules/ethers/lib.esm/wordlists/lang-zh.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/lang-zh.js +0 -92
- package/example/node_modules/ethers/lib.esm/wordlists/lang-zh.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owl.d.ts +0 -32
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owl.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owl.js +0 -66
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owl.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owla.d.ts +0 -30
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owla.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owla.js +0 -36
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist-owla.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist.d.ts +0 -47
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist.js +0 -42
- package/example/node_modules/ethers/lib.esm/wordlists/wordlist.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-browser.d.ts +0 -3
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-browser.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-browser.js +0 -5
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-browser.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-extra.d.ts +0 -9
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-extra.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-extra.js +0 -9
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists-extra.js.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists.d.ts +0 -16
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists.d.ts.map +0 -1
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists.js +0 -35
- package/example/node_modules/ethers/lib.esm/wordlists/wordlists.js.map +0 -1
- package/example/node_modules/ethers/package.json +0 -135
- package/example/node_modules/ethers/rollup.config.mjs +0 -50
- package/example/node_modules/ethers/src.ts/_version.ts +0 -6
- package/example/node_modules/ethers/src.ts/abi/abi-coder.ts +0 -237
- package/example/node_modules/ethers/src.ts/abi/bytes32.ts +0 -45
- package/example/node_modules/ethers/src.ts/abi/coders/abstract-coder.ts +0 -541
- package/example/node_modules/ethers/src.ts/abi/coders/address.ts +0 -36
- package/example/node_modules/ethers/src.ts/abi/coders/anonymous.ts +0 -29
- package/example/node_modules/ethers/src.ts/abi/coders/array.ts +0 -199
- package/example/node_modules/ethers/src.ts/abi/coders/boolean.ts +0 -27
- package/example/node_modules/ethers/src.ts/abi/coders/bytes.ts +0 -43
- package/example/node_modules/ethers/src.ts/abi/coders/fixed-bytes.ts +0 -37
- package/example/node_modules/ethers/src.ts/abi/coders/null.ts +0 -28
- package/example/node_modules/ethers/src.ts/abi/coders/number.ts +0 -63
- package/example/node_modules/ethers/src.ts/abi/coders/string.ts +0 -29
- package/example/node_modules/ethers/src.ts/abi/coders/tuple.ts +0 -69
- package/example/node_modules/ethers/src.ts/abi/fragments.ts +0 -1617
- package/example/node_modules/ethers/src.ts/abi/index.ts +0 -41
- package/example/node_modules/ethers/src.ts/abi/interface.ts +0 -1271
- package/example/node_modules/ethers/src.ts/abi/typed.ts +0 -796
- package/example/node_modules/ethers/src.ts/address/address.ts +0 -173
- package/example/node_modules/ethers/src.ts/address/checks.ts +0 -123
- package/example/node_modules/ethers/src.ts/address/contract-address.ts +0 -80
- package/example/node_modules/ethers/src.ts/address/index.ts +0 -57
- package/example/node_modules/ethers/src.ts/constants/addresses.ts +0 -8
- package/example/node_modules/ethers/src.ts/constants/hashes.ts +0 -7
- package/example/node_modules/ethers/src.ts/constants/index.ts +0 -16
- package/example/node_modules/ethers/src.ts/constants/numbers.ts +0 -35
- package/example/node_modules/ethers/src.ts/constants/strings.ts +0 -16
- package/example/node_modules/ethers/src.ts/contract/contract.ts +0 -1120
- package/example/node_modules/ethers/src.ts/contract/factory.ts +0 -143
- package/example/node_modules/ethers/src.ts/contract/index.ts +0 -31
- package/example/node_modules/ethers/src.ts/contract/types.ts +0 -236
- package/example/node_modules/ethers/src.ts/contract/wrappers.ts +0 -225
- package/example/node_modules/ethers/src.ts/crypto/crypto-browser.ts +0 -64
- package/example/node_modules/ethers/src.ts/crypto/crypto.ts +0 -4
- package/example/node_modules/ethers/src.ts/crypto/hmac.ts +0 -51
- package/example/node_modules/ethers/src.ts/crypto/index.ts +0 -59
- package/example/node_modules/ethers/src.ts/crypto/keccak.ts +0 -54
- package/example/node_modules/ethers/src.ts/crypto/pbkdf2.ts +0 -55
- package/example/node_modules/ethers/src.ts/crypto/random.ts +0 -36
- package/example/node_modules/ethers/src.ts/crypto/ripemd160.ts +0 -43
- package/example/node_modules/ethers/src.ts/crypto/scrypt.ts +0 -114
- package/example/node_modules/ethers/src.ts/crypto/sha2.ts +0 -78
- package/example/node_modules/ethers/src.ts/crypto/signature.ts +0 -410
- package/example/node_modules/ethers/src.ts/crypto/signing-key.ts +0 -196
- package/example/node_modules/ethers/src.ts/ethers.ts +0 -221
- package/example/node_modules/ethers/src.ts/hash/authorization.ts +0 -38
- package/example/node_modules/ethers/src.ts/hash/id.ts +0 -17
- package/example/node_modules/ethers/src.ts/hash/index.ts +0 -18
- package/example/node_modules/ethers/src.ts/hash/message.ts +0 -51
- package/example/node_modules/ethers/src.ts/hash/namehash.ts +0 -101
- package/example/node_modules/ethers/src.ts/hash/solidity.ts +0 -117
- package/example/node_modules/ethers/src.ts/hash/typed-data.ts +0 -658
- package/example/node_modules/ethers/src.ts/index.ts +0 -12
- package/example/node_modules/ethers/src.ts/providers/abstract-provider.ts +0 -1761
- package/example/node_modules/ethers/src.ts/providers/abstract-signer.ts +0 -314
- package/example/node_modules/ethers/src.ts/providers/community.ts +0 -49
- package/example/node_modules/ethers/src.ts/providers/contracts.ts +0 -42
- package/example/node_modules/ethers/src.ts/providers/default-provider.ts +0 -202
- package/example/node_modules/ethers/src.ts/providers/ens-resolver.ts +0 -606
- package/example/node_modules/ethers/src.ts/providers/format.ts +0 -335
- package/example/node_modules/ethers/src.ts/providers/formatting.ts +0 -418
- package/example/node_modules/ethers/src.ts/providers/index.ts +0 -135
- package/example/node_modules/ethers/src.ts/providers/network.ts +0 -438
- package/example/node_modules/ethers/src.ts/providers/pagination.ts +0 -8
- package/example/node_modules/ethers/src.ts/providers/plugin-fallback.ts +0 -35
- package/example/node_modules/ethers/src.ts/providers/plugins-network.ts +0 -281
- package/example/node_modules/ethers/src.ts/providers/provider-alchemy.ts +0 -166
- package/example/node_modules/ethers/src.ts/providers/provider-ankr.ts +0 -159
- package/example/node_modules/ethers/src.ts/providers/provider-blockscout.ts +0 -167
- package/example/node_modules/ethers/src.ts/providers/provider-browser.ts +0 -334
- package/example/node_modules/ethers/src.ts/providers/provider-chainstack.ts +0 -113
- package/example/node_modules/ethers/src.ts/providers/provider-cloudflare.ts +0 -24
- package/example/node_modules/ethers/src.ts/providers/provider-etherscan.ts +0 -687
- package/example/node_modules/ethers/src.ts/providers/provider-fallback.ts +0 -801
- package/example/node_modules/ethers/src.ts/providers/provider-infura.ts +0 -220
- package/example/node_modules/ethers/src.ts/providers/provider-ipcsocket-browser.ts +0 -3
- package/example/node_modules/ethers/src.ts/providers/provider-ipcsocket.ts +0 -81
- package/example/node_modules/ethers/src.ts/providers/provider-jsonrpc.ts +0 -1335
- package/example/node_modules/ethers/src.ts/providers/provider-pocket.ts +0 -121
- package/example/node_modules/ethers/src.ts/providers/provider-quicknode.ts +0 -177
- package/example/node_modules/ethers/src.ts/providers/provider-socket.ts +0 -352
- package/example/node_modules/ethers/src.ts/providers/provider-websocket.ts +0 -103
- package/example/node_modules/ethers/src.ts/providers/provider.ts +0 -2146
- package/example/node_modules/ethers/src.ts/providers/signer-noncemanager.ts +0 -98
- package/example/node_modules/ethers/src.ts/providers/signer.ts +0 -166
- package/example/node_modules/ethers/src.ts/providers/subscriber-connection.ts +0 -74
- package/example/node_modules/ethers/src.ts/providers/subscriber-filterid.ts +0 -199
- package/example/node_modules/ethers/src.ts/providers/subscriber-polling.ts +0 -321
- package/example/node_modules/ethers/src.ts/providers/ws-browser.ts +0 -11
- package/example/node_modules/ethers/src.ts/providers/ws.ts +0 -3
- package/example/node_modules/ethers/src.ts/thirdparty.d.ts +0 -16
- package/example/node_modules/ethers/src.ts/transaction/accesslist.ts +0 -43
- package/example/node_modules/ethers/src.ts/transaction/address.ts +0 -28
- package/example/node_modules/ethers/src.ts/transaction/authorization.ts +0 -14
- package/example/node_modules/ethers/src.ts/transaction/index.ts +0 -51
- package/example/node_modules/ethers/src.ts/transaction/transaction.ts +0 -1556
- package/example/node_modules/ethers/src.ts/utils/base58.ts +0 -73
- package/example/node_modules/ethers/src.ts/utils/base64-browser.ts +0 -25
- package/example/node_modules/ethers/src.ts/utils/base64.ts +0 -56
- package/example/node_modules/ethers/src.ts/utils/data.ts +0 -200
- package/example/node_modules/ethers/src.ts/utils/errors.ts +0 -797
- package/example/node_modules/ethers/src.ts/utils/events.ts +0 -105
- package/example/node_modules/ethers/src.ts/utils/fetch.ts +0 -970
- package/example/node_modules/ethers/src.ts/utils/fixednumber.ts +0 -643
- package/example/node_modules/ethers/src.ts/utils/geturl-browser.ts +0 -81
- package/example/node_modules/ethers/src.ts/utils/geturl.ts +0 -141
- package/example/node_modules/ethers/src.ts/utils/index.ts +0 -95
- package/example/node_modules/ethers/src.ts/utils/maths.ts +0 -259
- package/example/node_modules/ethers/src.ts/utils/properties.ts +0 -60
- package/example/node_modules/ethers/src.ts/utils/rlp-decode.ts +0 -104
- package/example/node_modules/ethers/src.ts/utils/rlp-encode.ts +0 -64
- package/example/node_modules/ethers/src.ts/utils/rlp.ts +0 -20
- package/example/node_modules/ethers/src.ts/utils/test.txt +0 -0
- package/example/node_modules/ethers/src.ts/utils/units.ts +0 -91
- package/example/node_modules/ethers/src.ts/utils/utf8.ts +0 -325
- package/example/node_modules/ethers/src.ts/utils/uuid.ts +0 -36
- package/example/node_modules/ethers/src.ts/wallet/base-wallet.ts +0 -160
- package/example/node_modules/ethers/src.ts/wallet/hdwallet.ts +0 -586
- package/example/node_modules/ethers/src.ts/wallet/index.ts +0 -47
- package/example/node_modules/ethers/src.ts/wallet/json-crowdsale.ts +0 -74
- package/example/node_modules/ethers/src.ts/wallet/json-keystore.ts +0 -389
- package/example/node_modules/ethers/src.ts/wallet/mnemonic.ts +0 -203
- package/example/node_modules/ethers/src.ts/wallet/utils.ts +0 -147
- package/example/node_modules/ethers/src.ts/wallet/wallet.ts +0 -163
- package/example/node_modules/ethers/src.ts/wordlists/bit-reader.ts +0 -35
- package/example/node_modules/ethers/src.ts/wordlists/decode-owl.ts +0 -58
- package/example/node_modules/ethers/src.ts/wordlists/decode-owla.ts +0 -33
- package/example/node_modules/ethers/src.ts/wordlists/generation/encode-latin.ts +0 -370
- package/example/node_modules/ethers/src.ts/wordlists/index.ts +0 -26
- package/example/node_modules/ethers/src.ts/wordlists/lang-cz.ts +0 -33
- package/example/node_modules/ethers/src.ts/wordlists/lang-en.ts +0 -33
- package/example/node_modules/ethers/src.ts/wordlists/lang-es.ts +0 -35
- package/example/node_modules/ethers/src.ts/wordlists/lang-fr.ts +0 -34
- package/example/node_modules/ethers/src.ts/wordlists/lang-it.ts +0 -33
- package/example/node_modules/ethers/src.ts/wordlists/lang-ja.ts +0 -181
- package/example/node_modules/ethers/src.ts/wordlists/lang-ko.ts +0 -104
- package/example/node_modules/ethers/src.ts/wordlists/lang-pt.ts +0 -34
- package/example/node_modules/ethers/src.ts/wordlists/lang-zh.ts +0 -112
- package/example/node_modules/ethers/src.ts/wordlists/wordlist-owl.ts +0 -77
- package/example/node_modules/ethers/src.ts/wordlists/wordlist-owla.ts +0 -41
- package/example/node_modules/ethers/src.ts/wordlists/wordlist.ts +0 -59
- package/example/node_modules/ethers/src.ts/wordlists/wordlists-browser.ts +0 -8
- package/example/node_modules/ethers/src.ts/wordlists/wordlists-extra.ts +0 -9
- package/example/node_modules/ethers/src.ts/wordlists/wordlists.ts +0 -38
- package/example/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/example/node_modules/tslib/LICENSE.txt +0 -12
- package/example/node_modules/tslib/README.md +0 -164
- package/example/node_modules/tslib/SECURITY.md +0 -41
- package/example/node_modules/tslib/modules/index.d.ts +0 -37
- package/example/node_modules/tslib/modules/index.js +0 -68
- package/example/node_modules/tslib/modules/package.json +0 -3
- package/example/node_modules/tslib/package.json +0 -47
- package/example/node_modules/tslib/tslib.d.ts +0 -453
- package/example/node_modules/tslib/tslib.es6.html +0 -1
- package/example/node_modules/tslib/tslib.es6.js +0 -379
- package/example/node_modules/tslib/tslib.es6.mjs +0 -378
- package/example/node_modules/tslib/tslib.html +0 -1
- package/example/node_modules/tslib/tslib.js +0 -429
- package/example/node_modules/undici-types/LICENSE +0 -21
- package/example/node_modules/undici-types/README.md +0 -6
- package/example/node_modules/undici-types/agent.d.ts +0 -31
- package/example/node_modules/undici-types/api.d.ts +0 -43
- package/example/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/example/node_modules/undici-types/cache.d.ts +0 -36
- package/example/node_modules/undici-types/client.d.ts +0 -108
- package/example/node_modules/undici-types/connector.d.ts +0 -34
- package/example/node_modules/undici-types/content-type.d.ts +0 -21
- package/example/node_modules/undici-types/cookies.d.ts +0 -28
- package/example/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/example/node_modules/undici-types/dispatcher.d.ts +0 -255
- package/example/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/example/node_modules/undici-types/errors.d.ts +0 -149
- package/example/node_modules/undici-types/eventsource.d.ts +0 -63
- package/example/node_modules/undici-types/fetch.d.ts +0 -209
- package/example/node_modules/undici-types/file.d.ts +0 -39
- package/example/node_modules/undici-types/filereader.d.ts +0 -54
- package/example/node_modules/undici-types/formdata.d.ts +0 -108
- package/example/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/example/node_modules/undici-types/global-origin.d.ts +0 -7
- package/example/node_modules/undici-types/handlers.d.ts +0 -15
- package/example/node_modules/undici-types/header.d.ts +0 -4
- package/example/node_modules/undici-types/index.d.ts +0 -71
- package/example/node_modules/undici-types/interceptors.d.ts +0 -15
- package/example/node_modules/undici-types/mock-agent.d.ts +0 -50
- package/example/node_modules/undici-types/mock-client.d.ts +0 -25
- package/example/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/example/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/example/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/example/node_modules/undici-types/package.json +0 -55
- package/example/node_modules/undici-types/patch.d.ts +0 -71
- package/example/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/example/node_modules/undici-types/pool.d.ts +0 -39
- package/example/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/example/node_modules/undici-types/readable.d.ts +0 -60
- package/example/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/example/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/example/node_modules/undici-types/util.d.ts +0 -18
- package/example/node_modules/undici-types/webidl.d.ts +0 -222
- package/example/node_modules/undici-types/websocket.d.ts +0 -152
- package/example/node_modules/ws/LICENSE +0 -20
- package/example/node_modules/ws/README.md +0 -548
- package/example/node_modules/ws/browser.js +0 -8
- package/example/node_modules/ws/index.js +0 -13
- package/example/node_modules/ws/lib/buffer-util.js +0 -131
- package/example/node_modules/ws/lib/constants.js +0 -12
- package/example/node_modules/ws/lib/event-target.js +0 -292
- package/example/node_modules/ws/lib/extension.js +0 -203
- package/example/node_modules/ws/lib/limiter.js +0 -55
- package/example/node_modules/ws/lib/permessage-deflate.js +0 -514
- package/example/node_modules/ws/lib/receiver.js +0 -704
- package/example/node_modules/ws/lib/sender.js +0 -497
- package/example/node_modules/ws/lib/stream.js +0 -159
- package/example/node_modules/ws/lib/subprotocol.js +0 -62
- package/example/node_modules/ws/lib/validation.js +0 -130
- package/example/node_modules/ws/lib/websocket-server.js +0 -540
- package/example/node_modules/ws/lib/websocket.js +0 -1338
- package/example/node_modules/ws/package.json +0 -69
- package/example/node_modules/ws/wrapper.mjs +0 -8
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blake2s.js","sourceRoot":"","sources":["../src/blake2s.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAa,KAAK,EAAE,MAAM,cAAc,CAAC;AACxD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,uBAAuB,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAEzE,iBAAiB;AACjB,yFAAyF;AACzF,kBAAkB;AAClB,kBAAkB;AAClB,MAAM,CAAC,MAAM,EAAE,GAAG,eAAe,CAAA,IAAI,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GAAG,CAAC;IACtB,CAAC;IACD,OAAO;QACL,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC;QACtB,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;QACtB,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;IACnC,CAAC;CACF;AAED;;;;GAIG;AACH,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC,uBAAuB,CAC5D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,CAC5B,CAAC"}
|
|
@@ -1,226 +0,0 @@
|
|
|
1
|
-
import { bytes, exists, number, output } from './_assert.js';
|
|
2
|
-
import { fromBig } from './_u64.js';
|
|
3
|
-
import { BLAKE2 } from './_blake2.js';
|
|
4
|
-
import { compress, IV } from './blake2s.js';
|
|
5
|
-
import { u8, u32, toBytes, wrapXOFConstructorWithOpts } from './utils.js';
|
|
6
|
-
const SIGMA = /* @__PURE__ */ (() => {
|
|
7
|
-
const Id = Array.from({ length: 16 }, (_, i) => i);
|
|
8
|
-
const permute = (arr) => [2, 6, 3, 10, 7, 0, 4, 13, 1, 11, 12, 5, 9, 14, 15, 8].map((i) => arr[i]);
|
|
9
|
-
const res = [];
|
|
10
|
-
for (let i = 0, v = Id; i < 7; i++, v = permute(v))
|
|
11
|
-
res.push(...v);
|
|
12
|
-
return Uint8Array.from(res);
|
|
13
|
-
})();
|
|
14
|
-
// Why is this so slow? It should be 6x faster than blake2b.
|
|
15
|
-
// - There is only 30% reduction in number of rounds from blake2s
|
|
16
|
-
// - This function uses tree mode to achive parallelisation via SIMD and threading,
|
|
17
|
-
// however in JS we don't have threads and SIMD, so we get only overhead from tree structure
|
|
18
|
-
// - It is possible to speed it up via Web Workers, hovewer it will make code singnificantly more
|
|
19
|
-
// complicated, which we are trying to avoid, since this library is intended to be used
|
|
20
|
-
// for cryptographic purposes. Also, parallelization happens only on chunk level (1024 bytes),
|
|
21
|
-
// which won't really benefit small inputs.
|
|
22
|
-
class BLAKE3 extends BLAKE2 {
|
|
23
|
-
constructor(opts = {}, flags = 0) {
|
|
24
|
-
super(64, opts.dkLen === undefined ? 32 : opts.dkLen, {}, Number.MAX_SAFE_INTEGER, 0, 0);
|
|
25
|
-
this.flags = 0 | 0;
|
|
26
|
-
this.chunkPos = 0; // Position of current block in chunk
|
|
27
|
-
this.chunksDone = 0; // How many chunks we already have
|
|
28
|
-
this.stack = [];
|
|
29
|
-
// Output
|
|
30
|
-
this.posOut = 0;
|
|
31
|
-
this.bufferOut32 = new Uint32Array(16);
|
|
32
|
-
this.chunkOut = 0; // index of output chunk
|
|
33
|
-
this.enableXOF = true;
|
|
34
|
-
this.outputLen = opts.dkLen === undefined ? 32 : opts.dkLen;
|
|
35
|
-
number(this.outputLen);
|
|
36
|
-
if (opts.key !== undefined && opts.context !== undefined)
|
|
37
|
-
throw new Error('Blake3: only key or context can be specified at same time');
|
|
38
|
-
else if (opts.key !== undefined) {
|
|
39
|
-
const key = toBytes(opts.key).slice();
|
|
40
|
-
if (key.length !== 32)
|
|
41
|
-
throw new Error('Blake3: key should be 32 byte');
|
|
42
|
-
this.IV = u32(key);
|
|
43
|
-
this.flags = flags | 16 /* Flags.KEYED_HASH */;
|
|
44
|
-
}
|
|
45
|
-
else if (opts.context !== undefined) {
|
|
46
|
-
const context_key = new BLAKE3({ dkLen: 32 }, 32 /* Flags.DERIVE_KEY_CONTEXT */)
|
|
47
|
-
.update(opts.context)
|
|
48
|
-
.digest();
|
|
49
|
-
this.IV = u32(context_key);
|
|
50
|
-
this.flags = flags | 64 /* Flags.DERIVE_KEY_MATERIAL */;
|
|
51
|
-
}
|
|
52
|
-
else {
|
|
53
|
-
this.IV = IV.slice();
|
|
54
|
-
this.flags = flags;
|
|
55
|
-
}
|
|
56
|
-
this.state = this.IV.slice();
|
|
57
|
-
this.bufferOut = u8(this.bufferOut32);
|
|
58
|
-
}
|
|
59
|
-
// Unused
|
|
60
|
-
get() {
|
|
61
|
-
return [];
|
|
62
|
-
}
|
|
63
|
-
set() { }
|
|
64
|
-
b2Compress(counter, flags, buf, bufPos = 0) {
|
|
65
|
-
const { state: s, pos } = this;
|
|
66
|
-
const { h, l } = fromBig(BigInt(counter), true);
|
|
67
|
-
// prettier-ignore
|
|
68
|
-
const { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 } = compress(SIGMA, bufPos, buf, 7, s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7], IV[0], IV[1], IV[2], IV[3], h, l, pos, flags);
|
|
69
|
-
s[0] = v0 ^ v8;
|
|
70
|
-
s[1] = v1 ^ v9;
|
|
71
|
-
s[2] = v2 ^ v10;
|
|
72
|
-
s[3] = v3 ^ v11;
|
|
73
|
-
s[4] = v4 ^ v12;
|
|
74
|
-
s[5] = v5 ^ v13;
|
|
75
|
-
s[6] = v6 ^ v14;
|
|
76
|
-
s[7] = v7 ^ v15;
|
|
77
|
-
}
|
|
78
|
-
compress(buf, bufPos = 0, isLast = false) {
|
|
79
|
-
// Compress last block
|
|
80
|
-
let flags = this.flags;
|
|
81
|
-
if (!this.chunkPos)
|
|
82
|
-
flags |= 1 /* Flags.CHUNK_START */;
|
|
83
|
-
if (this.chunkPos === 15 || isLast)
|
|
84
|
-
flags |= 2 /* Flags.CHUNK_END */;
|
|
85
|
-
if (!isLast)
|
|
86
|
-
this.pos = this.blockLen;
|
|
87
|
-
this.b2Compress(this.chunksDone, flags, buf, bufPos);
|
|
88
|
-
this.chunkPos += 1;
|
|
89
|
-
// If current block is last in chunk (16 blocks), then compress chunks
|
|
90
|
-
if (this.chunkPos === 16 || isLast) {
|
|
91
|
-
let chunk = this.state;
|
|
92
|
-
this.state = this.IV.slice();
|
|
93
|
-
// If not the last one, compress only when there are trailing zeros in chunk counter
|
|
94
|
-
// chunks used as binary tree where current stack is path. Zero means current leaf is finished and can be compressed.
|
|
95
|
-
// 1 (001) - leaf not finished (just push current chunk to stack)
|
|
96
|
-
// 2 (010) - leaf finished at depth=1 (merge with last elm on stack and push back)
|
|
97
|
-
// 3 (011) - last leaf not finished
|
|
98
|
-
// 4 (100) - leafs finished at depth=1 and depth=2
|
|
99
|
-
for (let last, chunks = this.chunksDone + 1; isLast || !(chunks & 1); chunks >>= 1) {
|
|
100
|
-
if (!(last = this.stack.pop()))
|
|
101
|
-
break;
|
|
102
|
-
this.buffer32.set(last, 0);
|
|
103
|
-
this.buffer32.set(chunk, 8);
|
|
104
|
-
this.pos = this.blockLen;
|
|
105
|
-
this.b2Compress(0, this.flags | 4 /* Flags.PARENT */, this.buffer32, 0);
|
|
106
|
-
chunk = this.state;
|
|
107
|
-
this.state = this.IV.slice();
|
|
108
|
-
}
|
|
109
|
-
this.chunksDone++;
|
|
110
|
-
this.chunkPos = 0;
|
|
111
|
-
this.stack.push(chunk);
|
|
112
|
-
}
|
|
113
|
-
this.pos = 0;
|
|
114
|
-
}
|
|
115
|
-
_cloneInto(to) {
|
|
116
|
-
to = super._cloneInto(to);
|
|
117
|
-
const { IV, flags, state, chunkPos, posOut, chunkOut, stack, chunksDone } = this;
|
|
118
|
-
to.state.set(state.slice());
|
|
119
|
-
to.stack = stack.map((i) => Uint32Array.from(i));
|
|
120
|
-
to.IV.set(IV);
|
|
121
|
-
to.flags = flags;
|
|
122
|
-
to.chunkPos = chunkPos;
|
|
123
|
-
to.chunksDone = chunksDone;
|
|
124
|
-
to.posOut = posOut;
|
|
125
|
-
to.chunkOut = chunkOut;
|
|
126
|
-
to.enableXOF = this.enableXOF;
|
|
127
|
-
to.bufferOut32.set(this.bufferOut32);
|
|
128
|
-
return to;
|
|
129
|
-
}
|
|
130
|
-
destroy() {
|
|
131
|
-
this.destroyed = true;
|
|
132
|
-
this.state.fill(0);
|
|
133
|
-
this.buffer32.fill(0);
|
|
134
|
-
this.IV.fill(0);
|
|
135
|
-
this.bufferOut32.fill(0);
|
|
136
|
-
for (let i of this.stack)
|
|
137
|
-
i.fill(0);
|
|
138
|
-
}
|
|
139
|
-
// Same as b2Compress, but doesn't modify state and returns 16 u32 array (instead of 8)
|
|
140
|
-
b2CompressOut() {
|
|
141
|
-
const { state: s, pos, flags, buffer32, bufferOut32: out32 } = this;
|
|
142
|
-
const { h, l } = fromBig(BigInt(this.chunkOut++));
|
|
143
|
-
// prettier-ignore
|
|
144
|
-
const { v0, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15 } = compress(SIGMA, 0, buffer32, 7, s[0], s[1], s[2], s[3], s[4], s[5], s[6], s[7], IV[0], IV[1], IV[2], IV[3], l, h, pos, flags);
|
|
145
|
-
out32[0] = v0 ^ v8;
|
|
146
|
-
out32[1] = v1 ^ v9;
|
|
147
|
-
out32[2] = v2 ^ v10;
|
|
148
|
-
out32[3] = v3 ^ v11;
|
|
149
|
-
out32[4] = v4 ^ v12;
|
|
150
|
-
out32[5] = v5 ^ v13;
|
|
151
|
-
out32[6] = v6 ^ v14;
|
|
152
|
-
out32[7] = v7 ^ v15;
|
|
153
|
-
out32[8] = s[0] ^ v8;
|
|
154
|
-
out32[9] = s[1] ^ v9;
|
|
155
|
-
out32[10] = s[2] ^ v10;
|
|
156
|
-
out32[11] = s[3] ^ v11;
|
|
157
|
-
out32[12] = s[4] ^ v12;
|
|
158
|
-
out32[13] = s[5] ^ v13;
|
|
159
|
-
out32[14] = s[6] ^ v14;
|
|
160
|
-
out32[15] = s[7] ^ v15;
|
|
161
|
-
this.posOut = 0;
|
|
162
|
-
}
|
|
163
|
-
finish() {
|
|
164
|
-
if (this.finished)
|
|
165
|
-
return;
|
|
166
|
-
this.finished = true;
|
|
167
|
-
// Padding
|
|
168
|
-
this.buffer.fill(0, this.pos);
|
|
169
|
-
// Process last chunk
|
|
170
|
-
let flags = this.flags | 8 /* Flags.ROOT */;
|
|
171
|
-
if (this.stack.length) {
|
|
172
|
-
flags |= 4 /* Flags.PARENT */;
|
|
173
|
-
this.compress(this.buffer32, 0, true);
|
|
174
|
-
this.chunksDone = 0;
|
|
175
|
-
this.pos = this.blockLen;
|
|
176
|
-
}
|
|
177
|
-
else {
|
|
178
|
-
flags |= (!this.chunkPos ? 1 /* Flags.CHUNK_START */ : 0) | 2 /* Flags.CHUNK_END */;
|
|
179
|
-
}
|
|
180
|
-
this.flags = flags;
|
|
181
|
-
this.b2CompressOut();
|
|
182
|
-
}
|
|
183
|
-
writeInto(out) {
|
|
184
|
-
exists(this, false);
|
|
185
|
-
bytes(out);
|
|
186
|
-
this.finish();
|
|
187
|
-
const { blockLen, bufferOut } = this;
|
|
188
|
-
for (let pos = 0, len = out.length; pos < len;) {
|
|
189
|
-
if (this.posOut >= blockLen)
|
|
190
|
-
this.b2CompressOut();
|
|
191
|
-
const take = Math.min(blockLen - this.posOut, len - pos);
|
|
192
|
-
out.set(bufferOut.subarray(this.posOut, this.posOut + take), pos);
|
|
193
|
-
this.posOut += take;
|
|
194
|
-
pos += take;
|
|
195
|
-
}
|
|
196
|
-
return out;
|
|
197
|
-
}
|
|
198
|
-
xofInto(out) {
|
|
199
|
-
if (!this.enableXOF)
|
|
200
|
-
throw new Error('XOF is not possible after digest call');
|
|
201
|
-
return this.writeInto(out);
|
|
202
|
-
}
|
|
203
|
-
xof(bytes) {
|
|
204
|
-
number(bytes);
|
|
205
|
-
return this.xofInto(new Uint8Array(bytes));
|
|
206
|
-
}
|
|
207
|
-
digestInto(out) {
|
|
208
|
-
output(out, this);
|
|
209
|
-
if (this.finished)
|
|
210
|
-
throw new Error('digest() was already called');
|
|
211
|
-
this.enableXOF = false;
|
|
212
|
-
this.writeInto(out);
|
|
213
|
-
this.destroy();
|
|
214
|
-
return out;
|
|
215
|
-
}
|
|
216
|
-
digest() {
|
|
217
|
-
return this.digestInto(new Uint8Array(this.outputLen));
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
/**
|
|
221
|
-
* BLAKE3 hash function.
|
|
222
|
-
* @param msg - message that would be hashed
|
|
223
|
-
* @param opts - dkLen, key, context
|
|
224
|
-
*/
|
|
225
|
-
export const blake3 = /* @__PURE__ */ wrapXOFConstructorWithOpts((opts) => new BLAKE3(opts));
|
|
226
|
-
//# sourceMappingURL=blake3.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blake3.js","sourceRoot":"","sources":["../src/blake3.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,MAAM,EAAE,MAAM,cAAc,CAAC;AACtC,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAS,EAAE,EAAE,GAAG,EAAE,OAAO,EAAW,0BAA0B,EAAE,MAAM,YAAY,CAAC;AAe1F,MAAM,KAAK,GAAe,eAAe,CAAC,CAAC,GAAG,EAAE;IAC9C,MAAM,EAAE,GAAG,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;IACnD,MAAM,OAAO,GAAG,CAAC,GAAa,EAAE,EAAE,CAChC,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,EAAE,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;IAC5E,MAAM,GAAG,GAAa,EAAE,CAAC;IACzB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC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AAC,MAAM,MAAM,GAAG,eAAe,CAAC,0BAA0B,CAC9D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,MAAM,CAAC,IAAI,CAAC,CAC3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"crypto.js","sourceRoot":"","sources":["../src/crypto.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,MAAM,GACjB,OAAO,UAAU,KAAK,QAAQ,IAAI,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// We use WebCrypto aka globalThis.crypto, which exists in browsers and node.js 16+.
|
|
2
|
-
// See utils.ts for details.
|
|
3
|
-
// The file will throw on node.js 14 and earlier.
|
|
4
|
-
// @ts-ignore
|
|
5
|
-
import * as nc from 'node:crypto';
|
|
6
|
-
export const crypto = nc && typeof nc === 'object' && 'webcrypto' in nc ? nc.webcrypto : undefined;
|
|
7
|
-
//# sourceMappingURL=cryptoNode.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"cryptoNode.js","sourceRoot":"","sources":["../src/cryptoNode.ts"],"names":[],"mappings":"AAAA,oFAAoF;AACpF,4BAA4B;AAC5B,iDAAiD;AACjD,aAAa;AACb,OAAO,KAAK,EAAE,MAAM,aAAa,CAAC;AAClC,MAAM,CAAC,MAAM,MAAM,GACjB,EAAE,IAAI,OAAO,EAAE,KAAK,QAAQ,IAAI,WAAW,IAAI,EAAE,CAAC,CAAC,CAAE,EAAE,CAAC,SAAiB,CAAC,CAAC,CAAC,SAAS,CAAC"}
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
import { bytes as assertBytes } from './_assert.js';
|
|
2
|
-
import { hkdf } from './hkdf.js';
|
|
3
|
-
import { sha256 } from './sha256.js';
|
|
4
|
-
import { pbkdf2 as _pbkdf2 } from './pbkdf2.js';
|
|
5
|
-
import { scrypt as _scrypt } from './scrypt.js';
|
|
6
|
-
import { bytesToHex, createView, hexToBytes, toBytes } from './utils.js';
|
|
7
|
-
// A tiny KDF for various applications like AES key-gen.
|
|
8
|
-
// Uses HKDF in a non-standard way, so it's not "KDF-secure", only "PRF-secure".
|
|
9
|
-
// Which is good enough: assume sha2-256 retained preimage resistance.
|
|
10
|
-
const SCRYPT_FACTOR = 2 ** 19;
|
|
11
|
-
const PBKDF2_FACTOR = 2 ** 17;
|
|
12
|
-
// Scrypt KDF
|
|
13
|
-
export function scrypt(password, salt) {
|
|
14
|
-
return _scrypt(password, salt, { N: SCRYPT_FACTOR, r: 8, p: 1, dkLen: 32 });
|
|
15
|
-
}
|
|
16
|
-
// PBKDF2-HMAC-SHA256
|
|
17
|
-
export function pbkdf2(password, salt) {
|
|
18
|
-
return _pbkdf2(sha256, password, salt, { c: PBKDF2_FACTOR, dkLen: 32 });
|
|
19
|
-
}
|
|
20
|
-
// Combines two 32-byte byte arrays
|
|
21
|
-
function xor32(a, b) {
|
|
22
|
-
assertBytes(a, 32);
|
|
23
|
-
assertBytes(b, 32);
|
|
24
|
-
const arr = new Uint8Array(32);
|
|
25
|
-
for (let i = 0; i < 32; i++) {
|
|
26
|
-
arr[i] = a[i] ^ b[i];
|
|
27
|
-
}
|
|
28
|
-
return arr;
|
|
29
|
-
}
|
|
30
|
-
function strHasLength(str, min, max) {
|
|
31
|
-
return typeof str === 'string' && str.length >= min && str.length <= max;
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Derives main seed. Takes a lot of time. Prefer `eskdf` method instead.
|
|
35
|
-
*/
|
|
36
|
-
export function deriveMainSeed(username, password) {
|
|
37
|
-
if (!strHasLength(username, 8, 255))
|
|
38
|
-
throw new Error('invalid username');
|
|
39
|
-
if (!strHasLength(password, 8, 255))
|
|
40
|
-
throw new Error('invalid password');
|
|
41
|
-
const scr = scrypt(password + '\u{1}', username + '\u{1}');
|
|
42
|
-
const pbk = pbkdf2(password + '\u{2}', username + '\u{2}');
|
|
43
|
-
const res = xor32(scr, pbk);
|
|
44
|
-
scr.fill(0);
|
|
45
|
-
pbk.fill(0);
|
|
46
|
-
return res;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* Converts protocol & accountId pair to HKDF salt & info params.
|
|
50
|
-
*/
|
|
51
|
-
function getSaltInfo(protocol, accountId = 0) {
|
|
52
|
-
// Note that length here also repeats two lines below
|
|
53
|
-
// We do an additional length check here to reduce the scope of DoS attacks
|
|
54
|
-
if (!(strHasLength(protocol, 3, 15) && /^[a-z0-9]{3,15}$/.test(protocol))) {
|
|
55
|
-
throw new Error('invalid protocol');
|
|
56
|
-
}
|
|
57
|
-
// Allow string account ids for some protocols
|
|
58
|
-
const allowsStr = /^password\d{0,3}|ssh|tor|file$/.test(protocol);
|
|
59
|
-
let salt; // Extract salt. Default is undefined.
|
|
60
|
-
if (typeof accountId === 'string') {
|
|
61
|
-
if (!allowsStr)
|
|
62
|
-
throw new Error('accountId must be a number');
|
|
63
|
-
if (!strHasLength(accountId, 1, 255))
|
|
64
|
-
throw new Error('accountId must be valid string');
|
|
65
|
-
salt = toBytes(accountId);
|
|
66
|
-
}
|
|
67
|
-
else if (Number.isSafeInteger(accountId)) {
|
|
68
|
-
if (accountId < 0 || accountId > 2 ** 32 - 1)
|
|
69
|
-
throw new Error('invalid accountId');
|
|
70
|
-
// Convert to Big Endian Uint32
|
|
71
|
-
salt = new Uint8Array(4);
|
|
72
|
-
createView(salt).setUint32(0, accountId, false);
|
|
73
|
-
}
|
|
74
|
-
else {
|
|
75
|
-
throw new Error(`accountId must be a number${allowsStr ? ' or string' : ''}`);
|
|
76
|
-
}
|
|
77
|
-
const info = toBytes(protocol);
|
|
78
|
-
return { salt, info };
|
|
79
|
-
}
|
|
80
|
-
function countBytes(num) {
|
|
81
|
-
if (typeof num !== 'bigint' || num <= BigInt(128))
|
|
82
|
-
throw new Error('invalid number');
|
|
83
|
-
return Math.ceil(num.toString(2).length / 8);
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Parses keyLength and modulus options to extract length of result key.
|
|
87
|
-
* If modulus is used, adds 64 bits to it as per FIPS 186 B.4.1 to combat modulo bias.
|
|
88
|
-
*/
|
|
89
|
-
function getKeyLength(options) {
|
|
90
|
-
if (!options || typeof options !== 'object')
|
|
91
|
-
return 32;
|
|
92
|
-
const hasLen = 'keyLength' in options;
|
|
93
|
-
const hasMod = 'modulus' in options;
|
|
94
|
-
if (hasLen && hasMod)
|
|
95
|
-
throw new Error('cannot combine keyLength and modulus options');
|
|
96
|
-
if (!hasLen && !hasMod)
|
|
97
|
-
throw new Error('must have either keyLength or modulus option');
|
|
98
|
-
// FIPS 186 B.4.1 requires at least 64 more bits
|
|
99
|
-
const l = hasMod ? countBytes(options.modulus) + 8 : options.keyLength;
|
|
100
|
-
if (!(typeof l === 'number' && l >= 16 && l <= 8192))
|
|
101
|
-
throw new Error('invalid keyLength');
|
|
102
|
-
return l;
|
|
103
|
-
}
|
|
104
|
-
/**
|
|
105
|
-
* Converts key to bigint and divides it by modulus. Big Endian.
|
|
106
|
-
* Implements FIPS 186 B.4.1, which removes 0 and modulo bias from output.
|
|
107
|
-
*/
|
|
108
|
-
function modReduceKey(key, modulus) {
|
|
109
|
-
const _1 = BigInt(1);
|
|
110
|
-
const num = BigInt('0x' + bytesToHex(key)); // check for ui8a, then bytesToNumber()
|
|
111
|
-
const res = (num % (modulus - _1)) + _1; // Remove 0 from output
|
|
112
|
-
if (res < _1)
|
|
113
|
-
throw new Error('expected positive number'); // Guard against bad values
|
|
114
|
-
const len = key.length - 8; // FIPS requires 64 more bits = 8 bytes
|
|
115
|
-
const hex = res.toString(16).padStart(len * 2, '0'); // numberToHex()
|
|
116
|
-
const bytes = hexToBytes(hex);
|
|
117
|
-
if (bytes.length !== len)
|
|
118
|
-
throw new Error('invalid length of result key');
|
|
119
|
-
return bytes;
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* ESKDF
|
|
123
|
-
* @param username - username, email, or identifier, min: 8 characters, should have enough entropy
|
|
124
|
-
* @param password - password, min: 8 characters, should have enough entropy
|
|
125
|
-
* @example
|
|
126
|
-
* const kdf = await eskdf('example-university', 'beginning-new-example');
|
|
127
|
-
* const key = kdf.deriveChildKey('aes', 0);
|
|
128
|
-
* console.log(kdf.fingerprint);
|
|
129
|
-
* kdf.expire();
|
|
130
|
-
*/
|
|
131
|
-
export async function eskdf(username, password) {
|
|
132
|
-
// We are using closure + object instead of class because
|
|
133
|
-
// we want to make `seed` non-accessible for any external function.
|
|
134
|
-
let seed = deriveMainSeed(username, password);
|
|
135
|
-
function deriveCK(protocol, accountId = 0, options) {
|
|
136
|
-
assertBytes(seed, 32);
|
|
137
|
-
const { salt, info } = getSaltInfo(protocol, accountId); // validate protocol & accountId
|
|
138
|
-
const keyLength = getKeyLength(options); // validate options
|
|
139
|
-
const key = hkdf(sha256, seed, salt, info, keyLength);
|
|
140
|
-
// Modulus has already been validated
|
|
141
|
-
return options && 'modulus' in options ? modReduceKey(key, options.modulus) : key;
|
|
142
|
-
}
|
|
143
|
-
function expire() {
|
|
144
|
-
if (seed)
|
|
145
|
-
seed.fill(1);
|
|
146
|
-
seed = undefined;
|
|
147
|
-
}
|
|
148
|
-
// prettier-ignore
|
|
149
|
-
const fingerprint = Array.from(deriveCK('fingerprint', 0))
|
|
150
|
-
.slice(0, 6)
|
|
151
|
-
.map((char) => char.toString(16).padStart(2, '0').toUpperCase())
|
|
152
|
-
.join(':');
|
|
153
|
-
return Object.freeze({ deriveChildKey: deriveCK, expire, fingerprint });
|
|
154
|
-
}
|
|
155
|
-
//# sourceMappingURL=eskdf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eskdf.js","sourceRoot":"","sources":["../src/eskdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAE,IAAI,EAAE,M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AW,GAAG,KAAK,CAAC,IAAI,CAAC,QAAQ,CAAC,aAAa,EAAE,CAAC,CAAC,CAAC;SACvD,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC;SACX,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;SAC/D,IAAI,CAAC,GAAG,CAAC,CAAC;IACb,OAAO,MAAM,CAAC,MAAM,CAAC,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;AAC1E,CAAC"}
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { hash as assertHash, number as assertNumber } from './_assert.js';
|
|
2
|
-
import { toBytes } from './utils.js';
|
|
3
|
-
import { hmac } from './hmac.js';
|
|
4
|
-
// HKDF (RFC 5869)
|
|
5
|
-
// https://soatok.blog/2021/11/17/understanding-hkdf/
|
|
6
|
-
/**
|
|
7
|
-
* HKDF-Extract(IKM, salt) -> PRK
|
|
8
|
-
* Arguments position differs from spec (IKM is first one, since it is not optional)
|
|
9
|
-
* @param hash
|
|
10
|
-
* @param ikm
|
|
11
|
-
* @param salt
|
|
12
|
-
* @returns
|
|
13
|
-
*/
|
|
14
|
-
export function extract(hash, ikm, salt) {
|
|
15
|
-
assertHash(hash);
|
|
16
|
-
// NOTE: some libraries treat zero-length array as 'not provided';
|
|
17
|
-
// we don't, since we have undefined as 'not provided'
|
|
18
|
-
// https://github.com/RustCrypto/KDFs/issues/15
|
|
19
|
-
if (salt === undefined)
|
|
20
|
-
salt = new Uint8Array(hash.outputLen); // if not provided, it is set to a string of HashLen zeros
|
|
21
|
-
return hmac(hash, toBytes(salt), toBytes(ikm));
|
|
22
|
-
}
|
|
23
|
-
// HKDF-Expand(PRK, info, L) -> OKM
|
|
24
|
-
const HKDF_COUNTER = /* @__PURE__ */ new Uint8Array([0]);
|
|
25
|
-
const EMPTY_BUFFER = /* @__PURE__ */ new Uint8Array();
|
|
26
|
-
/**
|
|
27
|
-
* HKDF-expand from the spec.
|
|
28
|
-
* @param prk - a pseudorandom key of at least HashLen octets (usually, the output from the extract step)
|
|
29
|
-
* @param info - optional context and application specific information (can be a zero-length string)
|
|
30
|
-
* @param length - length of output keying material in octets
|
|
31
|
-
*/
|
|
32
|
-
export function expand(hash, prk, info, length = 32) {
|
|
33
|
-
assertHash(hash);
|
|
34
|
-
assertNumber(length);
|
|
35
|
-
if (length > 255 * hash.outputLen)
|
|
36
|
-
throw new Error('Length should be <= 255*HashLen');
|
|
37
|
-
const blocks = Math.ceil(length / hash.outputLen);
|
|
38
|
-
if (info === undefined)
|
|
39
|
-
info = EMPTY_BUFFER;
|
|
40
|
-
// first L(ength) octets of T
|
|
41
|
-
const okm = new Uint8Array(blocks * hash.outputLen);
|
|
42
|
-
// Re-use HMAC instance between blocks
|
|
43
|
-
const HMAC = hmac.create(hash, prk);
|
|
44
|
-
const HMACTmp = HMAC._cloneInto();
|
|
45
|
-
const T = new Uint8Array(HMAC.outputLen);
|
|
46
|
-
for (let counter = 0; counter < blocks; counter++) {
|
|
47
|
-
HKDF_COUNTER[0] = counter + 1;
|
|
48
|
-
// T(0) = empty string (zero length)
|
|
49
|
-
// T(N) = HMAC-Hash(PRK, T(N-1) | info | N)
|
|
50
|
-
HMACTmp.update(counter === 0 ? EMPTY_BUFFER : T)
|
|
51
|
-
.update(info)
|
|
52
|
-
.update(HKDF_COUNTER)
|
|
53
|
-
.digestInto(T);
|
|
54
|
-
okm.set(T, hash.outputLen * counter);
|
|
55
|
-
HMAC._cloneInto(HMACTmp);
|
|
56
|
-
}
|
|
57
|
-
HMAC.destroy();
|
|
58
|
-
HMACTmp.destroy();
|
|
59
|
-
T.fill(0);
|
|
60
|
-
HKDF_COUNTER.fill(0);
|
|
61
|
-
return okm.slice(0, length);
|
|
62
|
-
}
|
|
63
|
-
/**
|
|
64
|
-
* HKDF (RFC 5869): extract + expand in one step.
|
|
65
|
-
* @param hash - hash function that would be used (e.g. sha256)
|
|
66
|
-
* @param ikm - input keying material, the initial key
|
|
67
|
-
* @param salt - optional salt value (a non-secret random value)
|
|
68
|
-
* @param info - optional context and application specific information
|
|
69
|
-
* @param length - length of output keying material in octets
|
|
70
|
-
*/
|
|
71
|
-
export const hkdf = (hash, ikm, salt, info, length) => expand(hash, extract(hash, ikm, salt), info, length);
|
|
72
|
-
//# sourceMappingURL=hkdf.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hkdf.js","sourceRoot":"","sources":["../src/hkdf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,cAAc,CAAC;AAC1E,OAAO,EAAgB,OAAO,EAAE,MAAM,YAAY,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEjC,kBAAkB;AAClB,qDAAqD;AAErD;;;;;;;GAOG;AACH,MAAM,UAAU,OAAO,CAAC,IAAW,EAAE,GAAU,EAAE,IAAY;IAC3D,UAAU,CAAC,IAAI,CAAC,CAAC;IACjB,kEAAkE;IAClE,sDAAsD;IACtD,+CAA+C;IAC/C,IAAI,IAAI,KAAK,SAAS;QAAE,IAAI,GAAG,IAAI,UAAU,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,0DAA0D;IACzH,OAAO,IAAI,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC;AACjD,CAAC;AAED,mCAAmC;AACnC,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACzD,MAAM,YAAY,GAAG,eAAe,CAAC,IAAI,UAAU,EAAE,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,UAAU,MAAM,CAAC,IAAW,EAAE,GAAU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ACf,OAAO,CAAC,OAAO,EAAE,CAAC;IAClB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACV,YAAY,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACrB,OAAO,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAC9B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,IAAI,GAAG,CAClB,IAAW,EACX,GAAU,EACV,IAAuB,EACvB,IAAuB,EACvB,MAAc,EACd,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,IAAI,EAAE,GAAG,EAAE,IAAI,CAAC,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { hash as assertHash, bytes as assertBytes, exists as assertExists } from './_assert.js';
|
|
2
|
-
import { Hash, toBytes } from './utils.js';
|
|
3
|
-
// HMAC (RFC 2104)
|
|
4
|
-
export class HMAC extends Hash {
|
|
5
|
-
constructor(hash, _key) {
|
|
6
|
-
super();
|
|
7
|
-
this.finished = false;
|
|
8
|
-
this.destroyed = false;
|
|
9
|
-
assertHash(hash);
|
|
10
|
-
const key = toBytes(_key);
|
|
11
|
-
this.iHash = hash.create();
|
|
12
|
-
if (typeof this.iHash.update !== 'function')
|
|
13
|
-
throw new Error('Expected instance of class which extends utils.Hash');
|
|
14
|
-
this.blockLen = this.iHash.blockLen;
|
|
15
|
-
this.outputLen = this.iHash.outputLen;
|
|
16
|
-
const blockLen = this.blockLen;
|
|
17
|
-
const pad = new Uint8Array(blockLen);
|
|
18
|
-
// blockLen can be bigger than outputLen
|
|
19
|
-
pad.set(key.length > blockLen ? hash.create().update(key).digest() : key);
|
|
20
|
-
for (let i = 0; i < pad.length; i++)
|
|
21
|
-
pad[i] ^= 0x36;
|
|
22
|
-
this.iHash.update(pad);
|
|
23
|
-
// By doing update (processing of first block) of outer hash here we can re-use it between multiple calls via clone
|
|
24
|
-
this.oHash = hash.create();
|
|
25
|
-
// Undo internal XOR && apply outer XOR
|
|
26
|
-
for (let i = 0; i < pad.length; i++)
|
|
27
|
-
pad[i] ^= 0x36 ^ 0x5c;
|
|
28
|
-
this.oHash.update(pad);
|
|
29
|
-
pad.fill(0);
|
|
30
|
-
}
|
|
31
|
-
update(buf) {
|
|
32
|
-
assertExists(this);
|
|
33
|
-
this.iHash.update(buf);
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
digestInto(out) {
|
|
37
|
-
assertExists(this);
|
|
38
|
-
assertBytes(out, this.outputLen);
|
|
39
|
-
this.finished = true;
|
|
40
|
-
this.iHash.digestInto(out);
|
|
41
|
-
this.oHash.update(out);
|
|
42
|
-
this.oHash.digestInto(out);
|
|
43
|
-
this.destroy();
|
|
44
|
-
}
|
|
45
|
-
digest() {
|
|
46
|
-
const out = new Uint8Array(this.oHash.outputLen);
|
|
47
|
-
this.digestInto(out);
|
|
48
|
-
return out;
|
|
49
|
-
}
|
|
50
|
-
_cloneInto(to) {
|
|
51
|
-
// Create new instance without calling constructor since key already in state and we don't know it.
|
|
52
|
-
to || (to = Object.create(Object.getPrototypeOf(this), {}));
|
|
53
|
-
const { oHash, iHash, finished, destroyed, blockLen, outputLen } = this;
|
|
54
|
-
to = to;
|
|
55
|
-
to.finished = finished;
|
|
56
|
-
to.destroyed = destroyed;
|
|
57
|
-
to.blockLen = blockLen;
|
|
58
|
-
to.outputLen = outputLen;
|
|
59
|
-
to.oHash = oHash._cloneInto(to.oHash);
|
|
60
|
-
to.iHash = iHash._cloneInto(to.iHash);
|
|
61
|
-
return to;
|
|
62
|
-
}
|
|
63
|
-
destroy() {
|
|
64
|
-
this.destroyed = true;
|
|
65
|
-
this.oHash.destroy();
|
|
66
|
-
this.iHash.destroy();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
/**
|
|
70
|
-
* HMAC: RFC2104 message authentication code.
|
|
71
|
-
* @param hash - function that would be used e.g. sha256
|
|
72
|
-
* @param key - message key
|
|
73
|
-
* @param message - message data
|
|
74
|
-
*/
|
|
75
|
-
export const hmac = (hash, key, message) => new HMAC(hash, key).update(message).digest();
|
|
76
|
-
hmac.create = (hash, key) => new HMAC(hash, key);
|
|
77
|
-
//# sourceMappingURL=hmac.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hmac.js","sourceRoot":"","sources":["../src/hmac.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,UAAU,EAAE,KAAK,IAAI,WAAW,EAAE,MAAM,IAAI,YAAY,EAAE,MAAM,cAAc,CAAC;AAChG,OAAO,EAAE,IAAI,EAAgB,OAAO,EAAE,MAAM,YAAY,CAAC;AACzD,kBAAkB;AAClB,MAAM,OAAO,IAAwB,SAAQ,IAAa;IAQxD,YAAY,IAAW,EAAE,IAAW;QAClC,KAAK,EAAE,CAAC;QAJF,aAAQ,GAAG,KAAK,CAAC;QACjB,cAAS,GAAG,KAAK,CAAC;QAIxB,UAAU,CAAC,IAAI,CAAC,CAAC;QACjB,MAAM,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;QAC1B,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,MAAM,EAAO,CAAC;QAChC,IAAI,OAAO,IAAI,CAAC,KAAK,CAAC,MAAM,KAAK,UAAU;YACzC,MAAM,IAAI,KAAK,CAAC,qDAAqD,CAAC,CAAC;QACzE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC;QACpC,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC;QACtC,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAC;QAC/B,MAAM,GAAG,GAAG,IAAI,UAAU,CAAC,QAAQ,CAAC,CAAC;QACrC,wCAAwC;QACxC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,MAAM,GAAG,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,M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