@hinkal/common 0.0.117 → 0.0.119
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/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/AxelarQueryClient/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/AxelarQueryClient/types/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/AxelarSigningClient/const/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/TransactionRecoveryApi/client/helpers/cosmos.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/TransactionRecoveryApi/helpers/axelarHelper.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-sdk/dist/src/libs/TransactionRecoveryApi/interface/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/axelarnet/v1beta1/tx.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/axelarnet/v1beta1/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/evm/v1beta1/tx.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/nexus/exported/v1beta1/types.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/nexus/v1beta1/query.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/nexus/v1beta1/tx.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/nexus/v1beta1/types.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/snapshot/exported/v1beta1/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/tss/exported/v1beta1/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/tss/v1beta1/tx.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/tss/v1beta1/types.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/build/commonjs/axelar/vote/exported/v1beta1/types.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/node_modules/long/umd/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@axelar-network/axelarjs-types/node_modules/protobufjs/src/util/minimal.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@confio/ics23/build/ics23.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@confio/ics23/build/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@confio/ics23/build/proofs.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/addresses.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/coins.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/encoding.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/multisig.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/secp256k1hdwallet.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/secp256k1wallet.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/signature.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/signdoc.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/amino/build/wallet.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/bip39.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/libsodium.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/pbkdf2.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/ripemd.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/secp256k1.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/sha.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/crypto/build/slip10.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/encoding/build/base64.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/encoding/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/math/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/directsecp256k1hdwallet.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/directsecp256k1wallet.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/pubkey.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/signing.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/proto-signing/build/wallet.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/socket/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/socket/build/queueingstreamingsocket.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/socket/build/reconnectingsocket.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/socket/build/streamingsocket.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/accounts.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/events.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/fee.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/logs.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/modules/bank/queries.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/modules/gov/aminomessages.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/modules/ibc/queries.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/modules/mint/queries.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/modules/staking/aminomessages.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/multisignature.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/queryclient/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/queryclient/queryclient.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/queryclient/utils.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/signingstargateclient.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stargate/build/stargateclient.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stream/build/concat.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stream/build/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stream/build/promise.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/stream/build/valueandupdates.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/addresses.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/dates.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/index.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/inthelpers.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpbatchclient.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/httpclient.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/rpcclients/websocketclient.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/index.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/requests.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/adaptor/responses.mjs +6 -6
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/encodings.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/hasher.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint34/tendermint34client.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/adaptor/index.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/adaptor/requests.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/adaptor/responses.mjs +6 -6
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/encodings.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/hasher.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermint37/tendermint37client.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/tendermintclient.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/build/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/json-rpc/build/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/json-rpc/build/jsonrpcclient.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/tendermint-rpc/node_modules/@cosmjs/json-rpc/build/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/utils/build/assert.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@cosmjs/utils/build/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@protobufjs/base64/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@protobufjs/utf8/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/aes-js/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/assert/build/assert.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/base64-js/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake2b/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake2b-wasm/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/brorand/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/buffer/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/call-bind/index.mjs +5 -5
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/cosmos/ics23/v1/proofs.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/cosmos/staking/v1beta1/staking.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/cosmos/tx/v1beta1/service.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/ibc/core/commitment/v1/commitment.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/ibc/lightclients/tendermint/v1/tendermint.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/tendermint/abci/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/tendermint/types/block.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/tendermint/types/evidence.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/tendermint/types/types.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/cosmjs-types/tendermint/version/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/define-data-property/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/elliptic/lib/elliptic/curve/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/elliptic/lib/elliptic/curves.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/elliptic/lib/elliptic.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/socket.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/transport.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/transports/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/transports/polling.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/transports/websocket.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-client/build/cjs/transports/webtransport.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/engine.io-parser/build/cjs/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/es-define-property/index.mjs +16 -10
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/has-property-descriptors/index.mjs +4 -4
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/common.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/hmac.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/ripemd.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/1.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/224.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/256.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/384.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/512.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha/common.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/sha.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash/utils.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/hash.js/lib/hash.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/protobufjs/src/util/minimal.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/socket.io-client/build/cjs/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/socket.io-client/build/cjs/manager.mjs +3 -3
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/socket.io-client/build/cjs/socket.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/socket.io-client/build/cjs/url.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/socket.io-parser/build/cjs/index.mjs +2 -2
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/standard-http-error/index.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/util/support/types.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/util/util.mjs +1 -1
- package/Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/xstream/index.mjs +1 -1
- package/_virtual/assert2.mjs +2 -2
- package/_virtual/assert3.mjs +2 -2
- package/_virtual/index44.mjs +2 -2
- package/_virtual/index45.mjs +2 -2
- package/_virtual/index47.mjs +2 -2
- package/_virtual/index48.mjs +2 -2
- package/_virtual/index49.mjs +2 -2
- package/_virtual/index53.mjs +2 -2
- package/_virtual/index56.mjs +2 -2
- package/_virtual/index58.mjs +2 -2
- package/_virtual/index59.mjs +2 -2
- package/_virtual/index61.mjs +2 -2
- package/_virtual/index62.mjs +2 -2
- package/_virtual/index64.mjs +2 -2
- package/_virtual/index68.mjs +2 -2
- package/_virtual/index69.mjs +2 -2
- package/_virtual/index70.mjs +2 -2
- package/_virtual/index71.mjs +2 -4
- package/_virtual/index72.mjs +2 -2
- package/_virtual/index73.mjs +4 -2
- package/_virtual/index74.mjs +2 -2
- package/_virtual/index75.mjs +2 -2
- package/_virtual/index77.mjs +2 -2
- package/_virtual/index78.mjs +2 -2
- package/_virtual/index80.mjs +2 -2
- package/_virtual/index81.mjs +2 -2
- package/package.json +1 -1
- package/providers/Wagmi1ProviderAdapter.d.ts +41 -0
- package/providers/Wagmi1ProviderAdapter.mjs +210 -0
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { networkRegistry as s, chainIds as c, localhostNetwork as w } from "../constants/chains.constants.mjs";
|
|
2
|
+
import "../types/circom-data.types.mjs";
|
|
3
|
+
import "../types/transactions.types.mjs";
|
|
4
|
+
import "../types/curve.types.mjs";
|
|
5
|
+
import { transactionErrorCodes as o } from "../error-handling/error-codes.constants.mjs";
|
|
6
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/circomlibjs/node_modules/ffjavascript/build/browser.esm.mjs";
|
|
7
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake2b/index.mjs";
|
|
8
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake-hash/lib/api/blake.mjs";
|
|
9
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake-hash/lib/blake224.mjs";
|
|
10
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake-hash/lib/blake256.mjs";
|
|
11
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake-hash/lib/blake384.mjs";
|
|
12
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/blake-hash/lib/blake512.mjs";
|
|
13
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/circomlibjs/src/poseidon_gencontract.mjs";
|
|
14
|
+
import "../_virtual/assert.mjs";
|
|
15
|
+
import "../data-structures/crypto-keys/keys.mjs";
|
|
16
|
+
import "../data-structures/crypto-keys/encryptDecryptUtxo.mjs";
|
|
17
|
+
import "../data-structures/custom-token-registry/CustomTokenRegistry.mjs";
|
|
18
|
+
import "../functions/utils/external-action.utils.mjs";
|
|
19
|
+
import "../functions/utils/convertIntegrationProviderToExternalActionId.mjs";
|
|
20
|
+
import "../functions/utils/userAgent.mjs";
|
|
21
|
+
import "../data-structures/volatile-helper/VolatileHelper.mjs";
|
|
22
|
+
import "../webworker/workerFactory.mjs";
|
|
23
|
+
import "../constants/reorg-depths.constants.mjs";
|
|
24
|
+
import "../constants/kyc.constants.mjs";
|
|
25
|
+
import "../constants/coingecko.constants.mjs";
|
|
26
|
+
import "../constants/vite.constants.mjs";
|
|
27
|
+
import "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.mjs";
|
|
28
|
+
import { contractMetadataMapping as p } from "../constants/contracts.constants.mjs";
|
|
29
|
+
import "../constants/axelar.constants.mjs";
|
|
30
|
+
import "../constants/rewards.constants.mjs";
|
|
31
|
+
import { disconnect as l, getAccount as a, connect as g, signMessage as u, switchNetwork as f, watchAccount as m, watchNetwork as v } from "@wagmi/core";
|
|
32
|
+
import { WebSocketProvider as E } from "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@ethersproject/providers/lib.esm/websocket-provider.mjs";
|
|
33
|
+
import { StaticJsonRpcProvider as h } from "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@ethersproject/providers/lib.esm/url-json-rpc-provider.mjs";
|
|
34
|
+
import { getAddress as C } from "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@ethersproject/address/lib.esm/index.mjs";
|
|
35
|
+
import { Contract as P } from "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@ethersproject/contracts/lib.esm/index.mjs";
|
|
36
|
+
import { Web3Provider as d } from "../Users/nkoreli/Documents/GitHub/Hinkal-Protocol/node_modules/@ethersproject/providers/lib.esm/web3-provider.mjs";
|
|
37
|
+
class ct {
|
|
38
|
+
connector;
|
|
39
|
+
chainId;
|
|
40
|
+
originalProvider;
|
|
41
|
+
fetchProvider;
|
|
42
|
+
signer;
|
|
43
|
+
chainEventListener;
|
|
44
|
+
unsubscribeFns = [];
|
|
45
|
+
constructor(t) {
|
|
46
|
+
this.connector = t;
|
|
47
|
+
}
|
|
48
|
+
async init(t) {
|
|
49
|
+
t && (this.chainId = t), this.originalProvider = await this.connector.getProvider(), this.fetchProvider = this.createFetchProvider() ?? this.originalProvider, this.fetchProvider === this.originalProvider && console.warn("fetchProvider not available");
|
|
50
|
+
const r = await this.connector.getWalletClient();
|
|
51
|
+
this.signer = await this.walletClientToSigner(r, this.chainId);
|
|
52
|
+
}
|
|
53
|
+
async disconnectFromConnector() {
|
|
54
|
+
this.release(), await l();
|
|
55
|
+
}
|
|
56
|
+
async connectToConnector(t) {
|
|
57
|
+
const { isConnected: r } = a();
|
|
58
|
+
r && await this.disconnectFromConnector();
|
|
59
|
+
try {
|
|
60
|
+
return (await g({ connector: t })).chain.id;
|
|
61
|
+
} catch {
|
|
62
|
+
throw new Error(o.CONNECTION_FAILED);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
async waitForTransaction(t, r) {
|
|
66
|
+
if ((await this.fetchProvider?.waitForTransaction(t, r))?.status)
|
|
67
|
+
return !0;
|
|
68
|
+
throw Error(o.TRANSACTION_NOT_CONFIRMED);
|
|
69
|
+
}
|
|
70
|
+
async signMessage(t) {
|
|
71
|
+
const r = await u({ message: t });
|
|
72
|
+
if (!r)
|
|
73
|
+
throw new Error(o.SIGNING_FAILED);
|
|
74
|
+
if (r.includes("error"))
|
|
75
|
+
throw new Error(o.SIGNATURE_UNSUPPORTED_PERSONAL_SIGN);
|
|
76
|
+
return r;
|
|
77
|
+
}
|
|
78
|
+
async signTypedData(t, r, e) {
|
|
79
|
+
return this.signer._signTypedData(t, r, e);
|
|
80
|
+
}
|
|
81
|
+
getSelectedNetwork = () => {
|
|
82
|
+
if (!this.chainId)
|
|
83
|
+
throw new Error("Illegal state: no chaindId");
|
|
84
|
+
return s[this.chainId];
|
|
85
|
+
};
|
|
86
|
+
async switchNetwork(t) {
|
|
87
|
+
return f({ chainId: t.chainId });
|
|
88
|
+
}
|
|
89
|
+
createFetchProvider() {
|
|
90
|
+
try {
|
|
91
|
+
const r = s[this.chainId]?.fetchRpcUrl;
|
|
92
|
+
return r ? r.includes("wss") ? new E(r) : new h(r) : void 0;
|
|
93
|
+
} catch (t) {
|
|
94
|
+
console.log("create Fetch Provider error", t);
|
|
95
|
+
return;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
async getAddress() {
|
|
99
|
+
const { address: t } = a();
|
|
100
|
+
if (!t)
|
|
101
|
+
throw new Error("IllegalState");
|
|
102
|
+
return C(t);
|
|
103
|
+
}
|
|
104
|
+
setChainEventListener(t) {
|
|
105
|
+
this.chainEventListener = t, this.chainEventListener && (this.unsubscribeFns.push(
|
|
106
|
+
m((r) => {
|
|
107
|
+
if (!this.chainEventListener) {
|
|
108
|
+
console.warn("chainEventListener is not set");
|
|
109
|
+
return;
|
|
110
|
+
}
|
|
111
|
+
this.chainEventListener.onAccountChanged();
|
|
112
|
+
})
|
|
113
|
+
), this.unsubscribeFns.push(
|
|
114
|
+
v((r) => {
|
|
115
|
+
if (!this.chainEventListener) {
|
|
116
|
+
console.warn("chainEventListener is not set");
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
this.chainEventListener.onChainChanged(r.chain?.id);
|
|
120
|
+
})
|
|
121
|
+
));
|
|
122
|
+
}
|
|
123
|
+
onAccountChanged() {
|
|
124
|
+
return this.init();
|
|
125
|
+
}
|
|
126
|
+
onChainChanged(t) {
|
|
127
|
+
return this.init(t);
|
|
128
|
+
}
|
|
129
|
+
release() {
|
|
130
|
+
this.removeListeners();
|
|
131
|
+
}
|
|
132
|
+
removeListeners() {
|
|
133
|
+
this.unsubscribeFns.forEach((t) => t()), this.unsubscribeFns = [];
|
|
134
|
+
}
|
|
135
|
+
getContractMetadata(t, r) {
|
|
136
|
+
const e = r ?? this.chainId;
|
|
137
|
+
if (!e)
|
|
138
|
+
throw new Error("No chainId provided in context");
|
|
139
|
+
const n = s[e];
|
|
140
|
+
if (!n)
|
|
141
|
+
throw new Error(o.UNSUPPORTED_NETWORK);
|
|
142
|
+
const i = p[t];
|
|
143
|
+
if (!i)
|
|
144
|
+
throw new Error(`Unsupported contractType: ${t}`);
|
|
145
|
+
return i(n.contractData);
|
|
146
|
+
}
|
|
147
|
+
getContract(t, r = void 0, e) {
|
|
148
|
+
const n = this.getContractMetadata(t, e);
|
|
149
|
+
if (!n.abi)
|
|
150
|
+
throw new Error(`No ABI configured for contractType: ${t}`);
|
|
151
|
+
if (n.address && r)
|
|
152
|
+
throw new Error(`Overriding address is not supported for contractType: ${t}`);
|
|
153
|
+
const i = n.address ?? r;
|
|
154
|
+
if (!i)
|
|
155
|
+
throw new Error(`No contractAddress configured for contractType: ${t}`);
|
|
156
|
+
return new P(i, n.abi);
|
|
157
|
+
}
|
|
158
|
+
getContractWithSigner(t, r = void 0) {
|
|
159
|
+
if (!this.signer)
|
|
160
|
+
throw new Error("IllegalState: no signer");
|
|
161
|
+
return this.getContract(t, r).connect(this.signer);
|
|
162
|
+
}
|
|
163
|
+
getContractWithFetcher(t, r = void 0) {
|
|
164
|
+
if (!this.fetchProvider)
|
|
165
|
+
throw new Error("fetchProvider not initialized");
|
|
166
|
+
return this.getContract(t, r).connect(this.fetchProvider);
|
|
167
|
+
}
|
|
168
|
+
getContractWithFetcherForEthereum(t, r = void 0) {
|
|
169
|
+
const e = this.chainId === c.localhost && w === c.ethMainnet ? c.localhost : c.ethMainnet;
|
|
170
|
+
return this.getContract(t, r).connect(
|
|
171
|
+
new h(s[e].fetchRpcUrl)
|
|
172
|
+
);
|
|
173
|
+
}
|
|
174
|
+
async sendTransaction(t) {
|
|
175
|
+
if (!this.signer)
|
|
176
|
+
throw new Error("IllegalState: no signer");
|
|
177
|
+
return await this.signer.sendTransaction(t);
|
|
178
|
+
}
|
|
179
|
+
async patchExternalProvider(t) {
|
|
180
|
+
const r = await t.getProvider();
|
|
181
|
+
let e;
|
|
182
|
+
if (r instanceof d ? e = r.provider : e = r, "isWalletConnect" in e) {
|
|
183
|
+
const n = await t.getChainId();
|
|
184
|
+
e.http = e.setHttpProvider?.(n);
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
async connectAndPatchProvider(t) {
|
|
188
|
+
const r = await this.connectToConnector(t);
|
|
189
|
+
return await this.patchExternalProvider(t), r;
|
|
190
|
+
}
|
|
191
|
+
isPermitterAvailable() {
|
|
192
|
+
return !!this.getSelectedNetwork()?.contractData?.permitterAddress;
|
|
193
|
+
}
|
|
194
|
+
async getGasPrice() {
|
|
195
|
+
const t = await this.fetchProvider?.getGasPrice();
|
|
196
|
+
if (!t)
|
|
197
|
+
throw Error("Could not fetch gas price in getGasPrice");
|
|
198
|
+
return t.toBigInt();
|
|
199
|
+
}
|
|
200
|
+
async walletClientToSigner(t, r) {
|
|
201
|
+
const { account: e, transport: n } = t, i = {
|
|
202
|
+
chainId: r,
|
|
203
|
+
name: ""
|
|
204
|
+
};
|
|
205
|
+
return new d(n, i).getSigner(e.address);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
export {
|
|
209
|
+
ct as ProviderAdapter
|
|
210
|
+
};
|