Skip to content

Commit

Permalink
feat: update gno-js-client
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Jun 30, 2024
1 parent 87b03e3 commit 6734cfb
Show file tree
Hide file tree
Showing 3 changed files with 105 additions and 111 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"@ethersproject/providers": "^5.7.2",
"@expo-google-fonts/exo": "^0.2.2",
"@expo/metro-runtime": "~3.1.3",
"@gnolang/gno-js-client": "1.0.4",
"@gnolang/gno-js-client": "1.3.0",
"@improbable-eng/grpc-web": "^0.15.0",
"@improbable-eng/grpc-web-node-http-transport": "^0.15.0",
"@improbable-eng/grpc-web-react-native-transport": "^0.15.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/hooks/useNSPrimaryAlias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const gnoGetUsernameByAddress = async (
}

const provider = new GnoJSONRPCProvider(network.endpoint);

Check failure on line 55 in packages/hooks/useNSPrimaryAlias.ts

View workflow job for this annotation

GitHub Actions / lint-and-build

Delete `··`
const username = await provider.evaluateExpression(
network.nameServiceContractAddress,
`GetUserByAddress("${userAddress}").Name`,
Expand Down
212 changes: 103 additions & 109 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2228,18 +2228,6 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/amino@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/amino@npm:0.30.1"
dependencies:
"@cosmjs/crypto": ^0.30.1
"@cosmjs/encoding": ^0.30.1
"@cosmjs/math": ^0.30.1
"@cosmjs/utils": ^0.30.1
checksum: aa254f936fd95e146e05cc4d6e51f86f4fe7f2048d337d197ccb2cb6e488f8b8061aa6b21e63b1f7001d99b80417f029ef75a12bd0478749286932834157c5aa
languageName: node
linkType: hard

"@cosmjs/amino@npm:^0.31.0-alpha.1, @cosmjs/amino@npm:^0.31.3":
version: 0.31.3
resolution: "@cosmjs/amino@npm:0.31.3"
Expand All @@ -2252,6 +2240,18 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/amino@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/amino@npm:0.32.4"
dependencies:
"@cosmjs/crypto": ^0.32.4
"@cosmjs/encoding": ^0.32.4
"@cosmjs/math": ^0.32.4
"@cosmjs/utils": ^0.32.4
checksum: 7e37da1c04020a5382812881afd8dc65cf87b4643d8b7761869fd22bec6a057d97a8c8d158f0a2bb061843fa725a9511dbd8bc7762c783e7daf2563ac285167e
languageName: node
linkType: hard

"@cosmjs/cosmwasm-stargate@npm:0.32.2":
version: 0.32.2
resolution: "@cosmjs/cosmwasm-stargate@npm:0.32.2"
Expand Down Expand Up @@ -2303,21 +2303,6 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/crypto@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/crypto@npm:0.30.1"
dependencies:
"@cosmjs/encoding": ^0.30.1
"@cosmjs/math": ^0.30.1
"@cosmjs/utils": ^0.30.1
"@noble/hashes": ^1
bn.js: ^5.2.0
elliptic: ^6.5.4
libsodium-wrappers: ^0.7.6
checksum: f1989a5cab92de4ad8c4fef65554b1f65e6c3e8b9ef0d550fa84e5f1aa13286b96a5310a374bcea7d0ebd6b9c46ea69a8469d06275b317a09b9ec7e0a3a07f0e
languageName: node
linkType: hard

"@cosmjs/crypto@npm:^0.31.3":
version: 0.31.3
resolution: "@cosmjs/crypto@npm:0.31.3"
Expand Down Expand Up @@ -2348,6 +2333,21 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/crypto@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/crypto@npm:0.32.4"
dependencies:
"@cosmjs/encoding": ^0.32.4
"@cosmjs/math": ^0.32.4
"@cosmjs/utils": ^0.32.4
"@noble/hashes": ^1
bn.js: ^5.2.0
elliptic: ^6.5.4
libsodium-wrappers-sumo: ^0.7.11
checksum: 432313296350c070936af9516249a7c96c3c057242ab4a8ca261fcf12a5cfddf151d8b84dabec324e0d51e01643b0d92b798ab652ad4ec16321b691e875c93b3
languageName: node
linkType: hard

"@cosmjs/encoding@npm:0.27.1":
version: 0.27.1
resolution: "@cosmjs/encoding@npm:0.27.1"
Expand Down Expand Up @@ -2381,17 +2381,6 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/encoding@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/encoding@npm:0.30.1"
dependencies:
base64-js: ^1.3.0
bech32: ^1.1.4
readonly-date: ^1.0.0
checksum: bd1932fafecbf9876ad97dee8133cc955f52d2fd9b6040d8c991b40ba4195c02cb4dc3c4beec7c237217ba96db78cd914840b2b895348482190d459a21c2b6dd
languageName: node
linkType: hard

"@cosmjs/encoding@npm:^0.31.0-alpha.1, @cosmjs/encoding@npm:^0.31.3":
version: 0.31.3
resolution: "@cosmjs/encoding@npm:0.31.3"
Expand All @@ -2414,6 +2403,17 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/encoding@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/encoding@npm:0.32.4"
dependencies:
base64-js: ^1.3.0
bech32: ^1.1.4
readonly-date: ^1.0.0
checksum: 9a2a1d87b7fe3fa7ad05a0b049b783b5b08ccfd61ed5bb3a1a37e0ae93a0ad9bc8c6701b1d3112e7c154b2dd48a0c221263a39a4d6878a495dc59ac5eeef6ec2
languageName: node
linkType: hard

"@cosmjs/json-rpc@npm:^0.29.5":
version: 0.29.5
resolution: "@cosmjs/json-rpc@npm:0.29.5"
Expand Down Expand Up @@ -2469,33 +2469,18 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/ledger-amino@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/ledger-amino@npm:0.30.1"
dependencies:
"@cosmjs/amino": ^0.30.1
"@cosmjs/crypto": ^0.30.1
"@cosmjs/encoding": ^0.30.1
"@cosmjs/math": ^0.30.1
"@cosmjs/utils": ^0.30.1
ledger-cosmos-js: ^2.1.8
semver: ^7.3.2
checksum: 95462392fda4bcec028b941435d7c2ca51ede3e0a26fd1558db8748e0c9e85635bffcd8360023cc5e56e641c054c87257feb210125b67d90099500656fceb340
languageName: node
linkType: hard

"@cosmjs/ledger-amino@npm:^0.31.0":
version: 0.31.3
resolution: "@cosmjs/ledger-amino@npm:0.31.3"
"@cosmjs/ledger-amino@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/ledger-amino@npm:0.32.4"
dependencies:
"@cosmjs/amino": ^0.31.3
"@cosmjs/crypto": ^0.31.3
"@cosmjs/encoding": ^0.31.3
"@cosmjs/math": ^0.31.3
"@cosmjs/utils": ^0.31.3
"@cosmjs/amino": ^0.32.4
"@cosmjs/crypto": ^0.32.4
"@cosmjs/encoding": ^0.32.4
"@cosmjs/math": ^0.32.4
"@cosmjs/utils": ^0.32.4
ledger-cosmos-js: ^2.1.8
semver: ^7.5.2
checksum: bc0e70807d198fe7462ac6810a844c0296d2ef9af9914f03c7df9ddac16ee5c480ee0aaa683953e350ab6c7c577bc778cf74e07989c558c83e130d151b2aad38
checksum: ac2d27c6b7b1609930c720dbdaf9e0d95a1e897e75101ef4c22489fb27094c016a272ca2f1b40e6e603ec23e4b0556e5590c5c81ff36a1f1887d02b1dc4c1c84
languageName: node
linkType: hard

Expand Down Expand Up @@ -2526,15 +2511,6 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/math@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/math@npm:0.30.1"
dependencies:
bn.js: ^5.2.0
checksum: c13d2a89348407bcc0f737f989fc1eb850b81d1f0ae06f1cc656b9a3194bf9ee048ce2e5c948f6ada61e95f5bfa324fad43dc531ade7538bcf993ba2085cb5fe
languageName: node
linkType: hard

"@cosmjs/math@npm:^0.31.0-alpha.1, @cosmjs/math@npm:^0.31.3":
version: 0.31.3
resolution: "@cosmjs/math@npm:0.31.3"
Expand All @@ -2553,6 +2529,15 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/math@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/math@npm:0.32.4"
dependencies:
bn.js: ^5.2.0
checksum: 1269ad0c33a78b05c9f7c1bc7a7222d3b4504263ade3a15b07f95eb18c2620c96e4c79beeab66d7053294828b32cf04d0cc5a71610f755e1d1da06b04d462043
languageName: node
linkType: hard

"@cosmjs/proto-signing@npm:0.29.3":
version: 0.29.3
resolution: "@cosmjs/proto-signing@npm:0.29.3"
Expand Down Expand Up @@ -2837,13 +2822,6 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/utils@npm:^0.30.1":
version: 0.30.1
resolution: "@cosmjs/utils@npm:0.30.1"
checksum: 64ea16cdeba64d2b346a0b45ca47059ab4297fdf5c4e5fd89ec262eec488807f49f94dcdc294628142015ce4669c4eaf7426d1f8a6538146da5601dcc484cb19
languageName: node
linkType: hard

"@cosmjs/utils@npm:^0.31.0-alpha.1, @cosmjs/utils@npm:^0.31.3":
version: 0.31.3
resolution: "@cosmjs/utils@npm:0.31.3"
Expand All @@ -2858,6 +2836,13 @@ __metadata:
languageName: node
linkType: hard

"@cosmjs/utils@npm:^0.32.4":
version: 0.32.4
resolution: "@cosmjs/utils@npm:0.32.4"
checksum: 92f4d0878bedda53d113894ebadd31a6d189fdd45f2f884049ee99c2d7f907703b6dc40c8bc9b88b912443c38f3dbf77a9474183f41b85dec1f9ef3bec9d86c4
languageName: node
linkType: hard

"@cosmology/core@npm:2.0.1":
version: 2.0.1
resolution: "@cosmology/core@npm:2.0.1"
Expand Down Expand Up @@ -4235,45 +4220,32 @@ __metadata:
languageName: node
linkType: hard

"@gnolang/gno-js-client@npm:1.0.4":
version: 1.0.4
resolution: "@gnolang/gno-js-client@npm:1.0.4"
dependencies:
"@cosmjs/ledger-amino": ^0.31.0
"@gnolang/tm2-js-client": ^1.0.0
long: ^5.2.3
protobufjs: ^7.2.3
checksum: 1792eaecbd78e7c8a07e5ce4ebbe4cf979fc238b37283db6d57d658e6641a4e6382ae6d99c683669d03175950ea1e2907f73e46887d805788afd83e92eb89912
languageName: node
linkType: hard

"@gnolang/tm2-js-client@npm:1.0.1":
version: 1.0.1
resolution: "@gnolang/tm2-js-client@npm:1.0.1"
"@gnolang/gno-js-client@npm:1.3.0":
version: 1.3.0
resolution: "@gnolang/gno-js-client@npm:1.3.0"
dependencies:
"@cosmjs/amino": ^0.30.1
"@cosmjs/crypto": ^0.30.1
"@cosmjs/ledger-amino": ^0.30.1
axios: ^1.4.0
"@cosmjs/ledger-amino": ^0.32.4
"@gnolang/tm2-js-client": ^1.2.1
long: ^5.2.3
protobufjs: ^7.2.3
ws: ^8.13.0
checksum: 89944e1062a270a116f6744a2113a2caecf607c9975a9cef2bcf74f13671b3e1c22e5787fcd7f052b4b021949b8c01a60a2a8ee4d510ccdde55035e14e0cc7e3
checksum: 65de2b562cea8ddc8713aa3fdfb7aa2df173188455020406b4b591c41a63fdacf6f01ba91cba6288ef54281f887f227a7b4b3da7567af33e87d06382f7bef1a9
languageName: node
linkType: hard

"@gnolang/tm2-js-client@patch:@gnolang/tm2-js-client@npm%3A1.0.1#./.yarn/patches/@gnolang-tm2-js-client-npm-1.0.1-9e54bafbb3.patch::locator=teritori-dapp%40workspace%3A.":
version: 1.0.1
resolution: "@gnolang/tm2-js-client@patch:@gnolang/tm2-js-client@npm%3A1.0.1#./.yarn/patches/@gnolang-tm2-js-client-npm-1.0.1-9e54bafbb3.patch::version=1.0.1&hash=50ac98&locator=teritori-dapp%40workspace%3A."
"@gnolang/tm2-js-client@npm:^1.2.1":
version: 1.2.1
resolution: "@gnolang/tm2-js-client@npm:1.2.1"
dependencies:
"@cosmjs/amino": ^0.30.1
"@cosmjs/crypto": ^0.30.1
"@cosmjs/ledger-amino": ^0.30.1
"@cosmjs/amino": ^0.32.4
"@cosmjs/crypto": ^0.32.4
"@cosmjs/ledger-amino": ^0.32.4
"@types/uuid": ^9.0.4
axios: ^1.4.0
long: ^5.2.3
protobufjs: ^7.2.3
ws: ^8.13.0
checksum: 83730f9a8791be68f2b94f459cfb63be961a7ee2069b3605da3b75eb6b8ad6c2d6deaba46d8b14754444a0e97a9da5e6f1fb6480ceadd852026411d850fad396
uuid: ^9.0.1
ws: ^8.16.0
checksum: aadc03e5edfa130ff34a963fd6b571332e4380fb9d2e98bd40f301325dc1dfd40ab2634654a7c97edbba685c58cc8a79e58eeb96e8326d766dc3bdc89bb78ad9
languageName: node
linkType: hard

Expand Down Expand Up @@ -6871,6 +6843,13 @@ __metadata:
languageName: node
linkType: hard

"@types/uuid@npm:^9.0.4":
version: 9.0.8
resolution: "@types/uuid@npm:9.0.8"
checksum: b8c60b7ba8250356b5088302583d1704a4e1a13558d143c549c408bf8920535602ffc12394ede77f8a8083511b023704bc66d1345792714002bfa261b17c5275
languageName: node
linkType: hard

"@types/ws@npm:^7.4.4":
version: 7.4.7
resolution: "@types/ws@npm:7.4.7"
Expand Down Expand Up @@ -19335,7 +19314,7 @@ __metadata:
"@ethersproject/providers": ^5.7.2
"@expo-google-fonts/exo": ^0.2.2
"@expo/metro-runtime": ~3.1.3
"@gnolang/gno-js-client": 1.0.4
"@gnolang/gno-js-client": 1.3.0
"@improbable-eng/grpc-web": ^0.15.0
"@improbable-eng/grpc-web-node-http-transport": ^0.15.0
"@improbable-eng/grpc-web-react-native-transport": ^0.15.0
Expand Down Expand Up @@ -20322,7 +20301,7 @@ __metadata:
languageName: node
linkType: hard

"uuid@npm:^9.0.0":
"uuid@npm:^9.0.0, uuid@npm:^9.0.1":
version: 9.0.1
resolution: "uuid@npm:9.0.1"
bin:
Expand Down Expand Up @@ -21213,6 +21192,21 @@ __metadata:
languageName: node
linkType: hard

"ws@npm:^8.16.0":
version: 8.17.1
resolution: "ws@npm:8.17.1"
peerDependencies:
bufferutil: ^4.0.1
utf-8-validate: ">=5.0.2"
peerDependenciesMeta:
bufferutil:
optional: true
utf-8-validate:
optional: true
checksum: 442badcce1f1178ec87a0b5372ae2e9771e07c4929a3180321901f226127f252441e8689d765aa5cfba5f50ac60dd830954afc5aeae81609aefa11d3ddf5cecf
languageName: node
linkType: hard

"ws@npm:~8.11.0":
version: 8.11.0
resolution: "ws@npm:8.11.0"
Expand Down

0 comments on commit 6734cfb

Please sign in to comment.