diff --git a/.pnp.cjs b/.pnp.cjs index 543393ed..9e344930 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -114,97 +114,97 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "@agoric/transform-module",\ "npm:0.4.1"\ ],\ + [\ + "@ampproject/remapping",\ + "npm:2.2.1"\ + ],\ [\ "@babel/code-frame",\ - "npm:7.12.13"\ + "npm:7.22.13"\ ],\ [\ "@babel/compat-data",\ - "npm:7.14.0"\ + "npm:7.23.2"\ ],\ [\ "@babel/core",\ - "npm:7.14.3"\ + "npm:7.23.2"\ ],\ [\ "@babel/generator",\ - "npm:7.14.3"\ + "npm:7.23.0"\ ],\ [\ "@babel/helper-compilation-targets",\ - "virtual:9181aae4d97715a94d175eeb28481474469d9a92ff383295cd43eff028bd01f2bf9f49d84b8d34047ac7d6e33c4bf822a6d6790e29e06180e55c1239694939ca#npm:7.13.16"\ + "npm:7.22.15"\ + ],\ + [\ + "@babel/helper-environment-visitor",\ + "npm:7.22.20"\ ],\ [\ "@babel/helper-function-name",\ - "npm:7.14.2"\ + "npm:7.23.0"\ ],\ [\ - "@babel/helper-get-function-arity",\ - "npm:7.12.13"\ - ],\ - [\ - "@babel/helper-member-expression-to-functions",\ - "npm:7.13.12"\ + "@babel/helper-hoist-variables",\ + "npm:7.22.5"\ ],\ [\ "@babel/helper-module-imports",\ - "npm:7.13.12"\ + "npm:7.22.15"\ ],\ [\ "@babel/helper-module-transforms",\ - "npm:7.14.2"\ - ],\ - [\ - "@babel/helper-optimise-call-expression",\ - "npm:7.12.13"\ - ],\ - [\ - "@babel/helper-replace-supers",\ - "npm:7.14.3"\ + "virtual:b93f58690783b1aa7251e34369c6b343463347ed3b67c8f474540571f75c1eb3fa5322b266d6e130537e52dc2e98ff7f4d8b1f27dc27eed7f0d2cdafe52641a3#npm:7.23.0"\ ],\ [\ "@babel/helper-simple-access",\ - "npm:7.13.12"\ + "npm:7.22.5"\ ],\ [\ "@babel/helper-split-export-declaration",\ - "npm:7.12.13"\ + "npm:7.22.6"\ + ],\ + [\ + "@babel/helper-string-parser",\ + "npm:7.22.5"\ ],\ [\ "@babel/helper-validator-identifier",\ - "npm:7.14.0"\ + "npm:7.22.20"\ ],\ [\ "@babel/helper-validator-option",\ - "npm:7.12.17"\ + "npm:7.22.15"\ ],\ [\ "@babel/helpers",\ - "npm:7.14.0"\ + "npm:7.23.2"\ ],\ [\ "@babel/highlight",\ - "npm:7.14.0"\ + "npm:7.22.20"\ ],\ [\ "@babel/parser",\ - "npm:7.14.3"\ + "npm:7.23.0"\ ],\ [\ "@babel/runtime",\ - "npm:7.14.0"\ + "npm:7.23.2"\ ],\ [\ "@babel/template",\ - "npm:7.12.13"\ + "npm:7.22.15"\ ],\ [\ "@babel/traverse",\ - "npm:7.14.2"\ + "npm:7.23.2"\ ],\ [\ "@babel/types",\ - "npm:7.14.2"\ + "npm:7.23.0"\ ],\ [\ "@confio/ics23",\ @@ -512,7 +512,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "@types/jasmine",\ - "npm:4.0.3"\ + "npm:4.6.1"\ ],\ [\ "@types/json-schema",\ @@ -896,7 +896,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "browserslist",\ - "npm:4.16.6"\ + "npm:4.22.1"\ ],\ [\ "buffer",\ @@ -936,7 +936,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "caniuse-lite",\ - "npm:1.0.30001228"\ + "npm:1.0.30001553"\ ],\ [\ "chalk",\ @@ -1056,7 +1056,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "cosmjs-types",\ - "npm:0.8.0"\ + "npm:0.9.0"\ ],\ [\ "cross-spawn",\ @@ -1148,7 +1148,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "electron-to-chromium",\ - "npm:1.3.734"\ + "npm:1.4.565"\ ],\ [\ "elliptic",\ @@ -1768,11 +1768,11 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "jasmine",\ - "npm:4.2.1"\ + "npm:4.6.0"\ ],\ [\ "jasmine-core",\ - "npm:4.2.0"\ + "npm:4.6.0"\ ],\ [\ "jasmine-spec-reporter",\ @@ -2080,7 +2080,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "node-releases",\ - "npm:1.1.72"\ + "npm:2.0.13"\ ],\ [\ "noop-logger",\ @@ -2218,6 +2218,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "path-type",\ "npm:4.0.0"\ ],\ + [\ + "picocolors",\ + "npm:1.0.0"\ + ],\ [\ "picomatch",\ "npm:2.2.3"\ @@ -2336,7 +2340,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ [\ "regenerator-runtime",\ - "npm:0.13.8"\ + "npm:0.14.0"\ ],\ [\ "regexpp",\ @@ -2724,6 +2728,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "unpipe",\ "npm:1.0.0"\ ],\ + [\ + "update-browserslist-db",\ + "virtual:cccae6d74e613cbaceb4c608cb01004dea3f5ca235673f5c541d60f516ef320907d258256abf63eac9b8704e23cf5d52eb19f2a57a07471accc943ea645de308#npm:1.0.13"\ + ],\ [\ "uri-js",\ "npm:4.4.1"\ @@ -2909,87 +2917,155 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["@ampproject/remapping", [\ + ["npm:2.2.1", {\ + "packageLocation": "./.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip/node_modules/@ampproject/remapping/",\ + "packageDependencies": [\ + ["@ampproject/remapping", "npm:2.2.1"],\ + ["@jridgewell/gen-mapping", "npm:0.3.2"],\ + ["@jridgewell/trace-mapping", "npm:0.3.14"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["@babel/code-frame", [\ ["npm:7.12.11", {\ "packageLocation": "./.yarn/cache/@babel-code-frame-npm-7.12.11-1a9a1b277f-3963eff3eb.zip/node_modules/@babel/code-frame/",\ "packageDependencies": [\ ["@babel/code-frame", "npm:7.12.11"],\ - ["@babel/highlight", "npm:7.14.0"]\ + ["@babel/highlight", "npm:7.22.20"]\ ],\ "linkType": "HARD"\ }],\ - ["npm:7.12.13", {\ - "packageLocation": "./.yarn/cache/@babel-code-frame-npm-7.12.13-fb5ba5a992-d0491bb59f.zip/node_modules/@babel/code-frame/",\ + ["npm:7.22.13", {\ + "packageLocation": "./.yarn/cache/@babel-code-frame-npm-7.22.13-2782581d20-22e342c807.zip/node_modules/@babel/code-frame/",\ "packageDependencies": [\ - ["@babel/code-frame", "npm:7.12.13"],\ - ["@babel/highlight", "npm:7.14.0"]\ + ["@babel/code-frame", "npm:7.22.13"],\ + ["@babel/highlight", "npm:7.22.20"],\ + ["chalk", "npm:2.4.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/compat-data", [\ - ["npm:7.14.0", {\ - "packageLocation": "./.yarn/cache/@babel-compat-data-npm-7.14.0-150bea01c2-24a9ce6d25.zip/node_modules/@babel/compat-data/",\ + ["npm:7.23.2", {\ + "packageLocation": "./.yarn/cache/@babel-compat-data-npm-7.23.2-763f35b25b-d8dc27437d.zip/node_modules/@babel/compat-data/",\ "packageDependencies": [\ - ["@babel/compat-data", "npm:7.14.0"]\ + ["@babel/compat-data", "npm:7.23.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/core", [\ - ["npm:7.14.3", {\ - "packageLocation": "./.yarn/cache/@babel-core-npm-7.14.3-9181aae4d9-b91ed6adc7.zip/node_modules/@babel/core/",\ + ["npm:7.23.2", {\ + "packageLocation": "./.yarn/cache/@babel-core-npm-7.23.2-b93f586907-003897718d.zip/node_modules/@babel/core/",\ "packageDependencies": [\ - ["@babel/core", "npm:7.14.3"],\ - ["@babel/code-frame", "npm:7.12.13"],\ - ["@babel/generator", "npm:7.14.3"],\ - ["@babel/helper-compilation-targets", "virtual:9181aae4d97715a94d175eeb28481474469d9a92ff383295cd43eff028bd01f2bf9f49d84b8d34047ac7d6e33c4bf822a6d6790e29e06180e55c1239694939ca#npm:7.13.16"],\ - ["@babel/helper-module-transforms", "npm:7.14.2"],\ - ["@babel/helpers", "npm:7.14.0"],\ - ["@babel/parser", "npm:7.14.3"],\ - ["@babel/template", "npm:7.12.13"],\ - ["@babel/traverse", "npm:7.14.2"],\ - ["@babel/types", "npm:7.14.2"],\ - ["convert-source-map", "npm:1.7.0"],\ + ["@babel/core", "npm:7.23.2"],\ + ["@ampproject/remapping", "npm:2.2.1"],\ + ["@babel/code-frame", "npm:7.22.13"],\ + ["@babel/generator", "npm:7.23.0"],\ + ["@babel/helper-compilation-targets", "npm:7.22.15"],\ + ["@babel/helper-module-transforms", "virtual:b93f58690783b1aa7251e34369c6b343463347ed3b67c8f474540571f75c1eb3fa5322b266d6e130537e52dc2e98ff7f4d8b1f27dc27eed7f0d2cdafe52641a3#npm:7.23.0"],\ + ["@babel/helpers", "npm:7.23.2"],\ + ["@babel/parser", "npm:7.23.0"],\ + ["@babel/template", "npm:7.22.15"],\ + ["@babel/traverse", "npm:7.23.2"],\ + ["@babel/types", "npm:7.23.0"],\ + ["convert-source-map", "npm:2.0.0"],\ ["debug", "virtual:6d7ba8035a34a8cbc48e227f3e803dbc3acaabbab2521c3cd66a45a2853fa6bda5b3ccb3ab1942c8a738927bc0e228ea8d5baa6461d73e2cf6a345db629c4f47#npm:4.3.3"],\ ["gensync", "npm:1.0.0-beta.2"],\ - ["json5", "npm:2.2.0"],\ - ["semver", "npm:6.3.0"],\ - ["source-map", "npm:0.5.7"]\ + ["json5", "npm:2.2.3"],\ + ["semver", "npm:6.3.1"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/generator", [\ - ["npm:7.14.3", {\ - "packageLocation": "./.yarn/cache/@babel-generator-npm-7.14.3-3bb0a82750-2c104bbe53.zip/node_modules/@babel/generator/",\ + ["npm:7.23.0", {\ + "packageLocation": "./.yarn/cache/@babel-generator-npm-7.23.0-08841c5369-8efe24adad.zip/node_modules/@babel/generator/",\ "packageDependencies": [\ - ["@babel/generator", "npm:7.14.3"],\ - ["@babel/types", "npm:7.14.2"],\ - ["jsesc", "npm:2.5.2"],\ - ["source-map", "npm:0.5.7"]\ + ["@babel/generator", "npm:7.23.0"],\ + ["@babel/types", "npm:7.23.0"],\ + ["@jridgewell/gen-mapping", "npm:0.3.3"],\ + ["@jridgewell/trace-mapping", "npm:0.3.17"],\ + ["jsesc", "npm:2.5.2"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/helper-compilation-targets", [\ - ["npm:7.13.16", {\ - "packageLocation": "./.yarn/cache/@babel-helper-compilation-targets-npm-7.13.16-e8eed91d8d-08c8fcd998.zip/node_modules/@babel/helper-compilation-targets/",\ + ["npm:7.22.15", {\ + "packageLocation": "./.yarn/cache/@babel-helper-compilation-targets-npm-7.22.15-7aac9e71ad-ce85196769.zip/node_modules/@babel/helper-compilation-targets/",\ "packageDependencies": [\ - ["@babel/helper-compilation-targets", "npm:7.13.16"]\ + ["@babel/helper-compilation-targets", "npm:7.22.15"],\ + ["@babel/compat-data", "npm:7.23.2"],\ + ["@babel/helper-validator-option", "npm:7.22.15"],\ + ["browserslist", "npm:4.22.1"],\ + ["lru-cache", "npm:5.1.1"],\ + ["semver", "npm:6.3.1"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-environment-visitor", [\ + ["npm:7.22.20", {\ + "packageLocation": "./.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip/node_modules/@babel/helper-environment-visitor/",\ + "packageDependencies": [\ + ["@babel/helper-environment-visitor", "npm:7.22.20"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-function-name", [\ + ["npm:7.23.0", {\ + "packageLocation": "./.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip/node_modules/@babel/helper-function-name/",\ + "packageDependencies": [\ + ["@babel/helper-function-name", "npm:7.23.0"],\ + ["@babel/template", "npm:7.22.15"],\ + ["@babel/types", "npm:7.23.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-hoist-variables", [\ + ["npm:7.22.5", {\ + "packageLocation": "./.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip/node_modules/@babel/helper-hoist-variables/",\ + "packageDependencies": [\ + ["@babel/helper-hoist-variables", "npm:7.22.5"],\ + ["@babel/types", "npm:7.23.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-module-imports", [\ + ["npm:7.22.15", {\ + "packageLocation": "./.yarn/cache/@babel-helper-module-imports-npm-7.22.15-687e77ee50-ecd7e457df.zip/node_modules/@babel/helper-module-imports/",\ + "packageDependencies": [\ + ["@babel/helper-module-imports", "npm:7.22.15"],\ + ["@babel/types", "npm:7.23.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-module-transforms", [\ + ["npm:7.23.0", {\ + "packageLocation": "./.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip/node_modules/@babel/helper-module-transforms/",\ + "packageDependencies": [\ + ["@babel/helper-module-transforms", "npm:7.23.0"]\ ],\ "linkType": "SOFT"\ }],\ - ["virtual:9181aae4d97715a94d175eeb28481474469d9a92ff383295cd43eff028bd01f2bf9f49d84b8d34047ac7d6e33c4bf822a6d6790e29e06180e55c1239694939ca#npm:7.13.16", {\ - "packageLocation": "./.yarn/__virtual__/@babel-helper-compilation-targets-virtual-bd770daa72/0/cache/@babel-helper-compilation-targets-npm-7.13.16-e8eed91d8d-08c8fcd998.zip/node_modules/@babel/helper-compilation-targets/",\ + ["virtual:b93f58690783b1aa7251e34369c6b343463347ed3b67c8f474540571f75c1eb3fa5322b266d6e130537e52dc2e98ff7f4d8b1f27dc27eed7f0d2cdafe52641a3#npm:7.23.0", {\ + "packageLocation": "./.yarn/__virtual__/@babel-helper-module-transforms-virtual-94c9f98ad7/0/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip/node_modules/@babel/helper-module-transforms/",\ "packageDependencies": [\ - ["@babel/helper-compilation-targets", "virtual:9181aae4d97715a94d175eeb28481474469d9a92ff383295cd43eff028bd01f2bf9f49d84b8d34047ac7d6e33c4bf822a6d6790e29e06180e55c1239694939ca#npm:7.13.16"],\ - ["@babel/compat-data", "npm:7.14.0"],\ - ["@babel/core", "npm:7.14.3"],\ - ["@babel/helper-validator-option", "npm:7.12.17"],\ - ["@types/babel__core", null],\ - ["browserslist", "npm:4.16.6"],\ - ["semver", "npm:6.3.0"]\ + ["@babel/helper-module-transforms", "virtual:b93f58690783b1aa7251e34369c6b343463347ed3b67c8f474540571f75c1eb3fa5322b266d6e130537e52dc2e98ff7f4d8b1f27dc27eed7f0d2cdafe52641a3#npm:7.23.0"],\ + ["@babel/core", "npm:7.23.2"],\ + ["@babel/helper-environment-visitor", "npm:7.22.20"],\ + ["@babel/helper-module-imports", "npm:7.22.15"],\ + ["@babel/helper-simple-access", "npm:7.22.5"],\ + ["@babel/helper-split-export-declaration", "npm:7.22.6"],\ + ["@babel/helper-validator-identifier", "npm:7.22.20"],\ + ["@types/babel__core", null]\ ],\ "packagePeers": [\ "@babel/core",\ @@ -2998,144 +3074,71 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ - ["@babel/helper-function-name", [\ - ["npm:7.14.2", {\ - "packageLocation": "./.yarn/cache/@babel-helper-function-name-npm-7.14.2-52642340ac-70365d36ad.zip/node_modules/@babel/helper-function-name/",\ - "packageDependencies": [\ - ["@babel/helper-function-name", "npm:7.14.2"],\ - ["@babel/helper-get-function-arity", "npm:7.12.13"],\ - ["@babel/template", "npm:7.12.13"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-get-function-arity", [\ - ["npm:7.12.13", {\ - "packageLocation": "./.yarn/cache/@babel-helper-get-function-arity-npm-7.12.13-7d8bcf34b7-847ef9f4d4.zip/node_modules/@babel/helper-get-function-arity/",\ - "packageDependencies": [\ - ["@babel/helper-get-function-arity", "npm:7.12.13"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-member-expression-to-functions", [\ - ["npm:7.13.12", {\ - "packageLocation": "./.yarn/cache/@babel-helper-member-expression-to-functions-npm-7.13.12-0092ecd45c-76a5ad6ae6.zip/node_modules/@babel/helper-member-expression-to-functions/",\ - "packageDependencies": [\ - ["@babel/helper-member-expression-to-functions", "npm:7.13.12"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-module-imports", [\ - ["npm:7.13.12", {\ - "packageLocation": "./.yarn/cache/@babel-helper-module-imports-npm-7.13.12-6f45f76073-9abb5e3acb.zip/node_modules/@babel/helper-module-imports/",\ - "packageDependencies": [\ - ["@babel/helper-module-imports", "npm:7.13.12"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-module-transforms", [\ - ["npm:7.14.2", {\ - "packageLocation": "./.yarn/cache/@babel-helper-module-transforms-npm-7.14.2-81e49440fe-cb6930cb45.zip/node_modules/@babel/helper-module-transforms/",\ - "packageDependencies": [\ - ["@babel/helper-module-transforms", "npm:7.14.2"],\ - ["@babel/helper-module-imports", "npm:7.13.12"],\ - ["@babel/helper-replace-supers", "npm:7.14.3"],\ - ["@babel/helper-simple-access", "npm:7.13.12"],\ - ["@babel/helper-split-export-declaration", "npm:7.12.13"],\ - ["@babel/helper-validator-identifier", "npm:7.14.0"],\ - ["@babel/template", "npm:7.12.13"],\ - ["@babel/traverse", "npm:7.14.2"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-optimise-call-expression", [\ - ["npm:7.12.13", {\ - "packageLocation": "./.yarn/cache/@babel-helper-optimise-call-expression-npm-7.12.13-52e64fc268-9925679d67.zip/node_modules/@babel/helper-optimise-call-expression/",\ - "packageDependencies": [\ - ["@babel/helper-optimise-call-expression", "npm:7.12.13"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ - ["@babel/helper-replace-supers", [\ - ["npm:7.14.3", {\ - "packageLocation": "./.yarn/cache/@babel-helper-replace-supers-npm-7.14.3-52201924ca-c01363c502.zip/node_modules/@babel/helper-replace-supers/",\ - "packageDependencies": [\ - ["@babel/helper-replace-supers", "npm:7.14.3"],\ - ["@babel/helper-member-expression-to-functions", "npm:7.13.12"],\ - ["@babel/helper-optimise-call-expression", "npm:7.12.13"],\ - ["@babel/traverse", "npm:7.14.2"],\ - ["@babel/types", "npm:7.14.2"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["@babel/helper-simple-access", [\ - ["npm:7.13.12", {\ - "packageLocation": "./.yarn/cache/@babel-helper-simple-access-npm-7.13.12-038331126e-afd0a8d1c7.zip/node_modules/@babel/helper-simple-access/",\ + ["npm:7.22.5", {\ + "packageLocation": "./.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip/node_modules/@babel/helper-simple-access/",\ "packageDependencies": [\ - ["@babel/helper-simple-access", "npm:7.13.12"],\ - ["@babel/types", "npm:7.14.2"]\ + ["@babel/helper-simple-access", "npm:7.22.5"],\ + ["@babel/types", "npm:7.23.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/helper-split-export-declaration", [\ - ["npm:7.12.13", {\ - "packageLocation": "./.yarn/cache/@babel-helper-split-export-declaration-npm-7.12.13-bb30c88575-adc8954a0b.zip/node_modules/@babel/helper-split-export-declaration/",\ + ["npm:7.22.6", {\ + "packageLocation": "./.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip/node_modules/@babel/helper-split-export-declaration/",\ "packageDependencies": [\ - ["@babel/helper-split-export-declaration", "npm:7.12.13"],\ - ["@babel/types", "npm:7.14.2"]\ + ["@babel/helper-split-export-declaration", "npm:7.22.6"],\ + ["@babel/types", "npm:7.23.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ + ["@babel/helper-string-parser", [\ + ["npm:7.22.5", {\ + "packageLocation": "./.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip/node_modules/@babel/helper-string-parser/",\ + "packageDependencies": [\ + ["@babel/helper-string-parser", "npm:7.22.5"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/helper-validator-identifier", [\ - ["npm:7.14.0", {\ - "packageLocation": "./.yarn/cache/@babel-helper-validator-identifier-npm-7.14.0-88c0d4b395-6276d57677.zip/node_modules/@babel/helper-validator-identifier/",\ + ["npm:7.22.20", {\ + "packageLocation": "./.yarn/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-136412784d.zip/node_modules/@babel/helper-validator-identifier/",\ "packageDependencies": [\ - ["@babel/helper-validator-identifier", "npm:7.14.0"]\ + ["@babel/helper-validator-identifier", "npm:7.22.20"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/helper-validator-option", [\ - ["npm:7.12.17", {\ - "packageLocation": "./.yarn/cache/@babel-helper-validator-option-npm-7.12.17-098722d989-940e7b78dc.zip/node_modules/@babel/helper-validator-option/",\ + ["npm:7.22.15", {\ + "packageLocation": "./.yarn/cache/@babel-helper-validator-option-npm-7.22.15-29aa330042-68da52b1e1.zip/node_modules/@babel/helper-validator-option/",\ "packageDependencies": [\ - ["@babel/helper-validator-option", "npm:7.12.17"]\ + ["@babel/helper-validator-option", "npm:7.22.15"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/helpers", [\ - ["npm:7.14.0", {\ - "packageLocation": "./.yarn/cache/@babel-helpers-npm-7.14.0-37cb1e5143-276716f77c.zip/node_modules/@babel/helpers/",\ + ["npm:7.23.2", {\ + "packageLocation": "./.yarn/cache/@babel-helpers-npm-7.23.2-aa45e8b40c-aaf4828df7.zip/node_modules/@babel/helpers/",\ "packageDependencies": [\ - ["@babel/helpers", "npm:7.14.0"],\ - ["@babel/template", "npm:7.12.13"],\ - ["@babel/traverse", "npm:7.14.2"],\ - ["@babel/types", "npm:7.14.2"]\ + ["@babel/helpers", "npm:7.23.2"],\ + ["@babel/template", "npm:7.22.15"],\ + ["@babel/traverse", "npm:7.23.2"],\ + ["@babel/types", "npm:7.23.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/highlight", [\ - ["npm:7.14.0", {\ - "packageLocation": "./.yarn/cache/@babel-highlight-npm-7.14.0-54986133d5-5aae226c0d.zip/node_modules/@babel/highlight/",\ + ["npm:7.22.20", {\ + "packageLocation": "./.yarn/cache/@babel-highlight-npm-7.22.20-5de7aba88d-84bd034dca.zip/node_modules/@babel/highlight/",\ "packageDependencies": [\ - ["@babel/highlight", "npm:7.14.0"],\ - ["@babel/helper-validator-identifier", "npm:7.14.0"],\ + ["@babel/highlight", "npm:7.22.20"],\ + ["@babel/helper-validator-identifier", "npm:7.22.20"],\ ["chalk", "npm:2.4.2"],\ ["js-tokens", "npm:4.0.0"]\ ],\ @@ -3143,48 +3146,50 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@babel/parser", [\ - ["npm:7.14.3", {\ - "packageLocation": "./.yarn/cache/@babel-parser-npm-7.14.3-4c3311dd2f-39653900d3.zip/node_modules/@babel/parser/",\ + ["npm:7.23.0", {\ + "packageLocation": "./.yarn/cache/@babel-parser-npm-7.23.0-8a7b151672-453fdf8b9e.zip/node_modules/@babel/parser/",\ "packageDependencies": [\ - ["@babel/parser", "npm:7.14.3"],\ - ["@babel/types", "npm:7.14.2"]\ + ["@babel/parser", "npm:7.23.0"],\ + ["@babel/types", "npm:7.23.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/runtime", [\ - ["npm:7.14.0", {\ - "packageLocation": "./.yarn/cache/@babel-runtime-npm-7.14.0-fba2a32266-257dc25943.zip/node_modules/@babel/runtime/",\ + ["npm:7.23.2", {\ + "packageLocation": "./.yarn/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-6c4df4839e.zip/node_modules/@babel/runtime/",\ "packageDependencies": [\ - ["@babel/runtime", "npm:7.14.0"],\ - ["regenerator-runtime", "npm:0.13.8"]\ + ["@babel/runtime", "npm:7.23.2"],\ + ["regenerator-runtime", "npm:0.14.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/template", [\ - ["npm:7.12.13", {\ - "packageLocation": "./.yarn/cache/@babel-template-npm-7.12.13-069e9c8875-e037731631.zip/node_modules/@babel/template/",\ + ["npm:7.22.15", {\ + "packageLocation": "./.yarn/cache/@babel-template-npm-7.22.15-0b464facb4-1f3e7dcd6c.zip/node_modules/@babel/template/",\ "packageDependencies": [\ - ["@babel/template", "npm:7.12.13"],\ - ["@babel/code-frame", "npm:7.12.13"],\ - ["@babel/parser", "npm:7.14.3"],\ - ["@babel/types", "npm:7.14.2"]\ + ["@babel/template", "npm:7.22.15"],\ + ["@babel/code-frame", "npm:7.22.13"],\ + ["@babel/parser", "npm:7.23.0"],\ + ["@babel/types", "npm:7.23.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["@babel/traverse", [\ - ["npm:7.14.2", {\ - "packageLocation": "./.yarn/cache/@babel-traverse-npm-7.14.2-5dffae5dce-054d5e4442.zip/node_modules/@babel/traverse/",\ + ["npm:7.23.2", {\ + "packageLocation": "./.yarn/cache/@babel-traverse-npm-7.23.2-4758feee42-26a1eea0dd.zip/node_modules/@babel/traverse/",\ "packageDependencies": [\ - ["@babel/traverse", "npm:7.14.2"],\ - ["@babel/code-frame", "npm:7.12.13"],\ - ["@babel/generator", "npm:7.14.3"],\ - ["@babel/helper-function-name", "npm:7.14.2"],\ - ["@babel/helper-split-export-declaration", "npm:7.12.13"],\ - ["@babel/parser", "npm:7.14.3"],\ - ["@babel/types", "npm:7.14.2"],\ + ["@babel/traverse", "npm:7.23.2"],\ + ["@babel/code-frame", "npm:7.22.13"],\ + ["@babel/generator", "npm:7.23.0"],\ + ["@babel/helper-environment-visitor", "npm:7.22.20"],\ + ["@babel/helper-function-name", "npm:7.23.0"],\ + ["@babel/helper-hoist-variables", "npm:7.22.5"],\ + ["@babel/helper-split-export-declaration", "npm:7.22.6"],\ + ["@babel/parser", "npm:7.23.0"],\ + ["@babel/types", "npm:7.23.0"],\ ["debug", "virtual:6d7ba8035a34a8cbc48e227f3e803dbc3acaabbab2521c3cd66a45a2853fa6bda5b3ccb3ab1942c8a738927bc0e228ea8d5baa6461d73e2cf6a345db629c4f47#npm:4.3.3"],\ ["globals", "npm:11.12.0"]\ ],\ @@ -3192,11 +3197,12 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@babel/types", [\ - ["npm:7.14.2", {\ - "packageLocation": "./.yarn/cache/@babel-types-npm-7.14.2-0a9f9700cf-b8e4796ba8.zip/node_modules/@babel/types/",\ + ["npm:7.23.0", {\ + "packageLocation": "./.yarn/cache/@babel-types-npm-7.23.0-332fd21daf-215fe04bd7.zip/node_modules/@babel/types/",\ "packageDependencies": [\ - ["@babel/types", "npm:7.14.2"],\ - ["@babel/helper-validator-identifier", "npm:7.14.0"],\ + ["@babel/types", "npm:7.23.0"],\ + ["@babel/helper-string-parser", "npm:7.22.5"],\ + ["@babel/helper-validator-identifier", "npm:7.22.20"],\ ["to-fast-properties", "npm:2.0.0"]\ ],\ "linkType": "HARD"\ @@ -3224,7 +3230,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3238,7 +3244,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3277,7 +3283,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/babylon", "npm:6.16.5"],\ ["@types/diff", "npm:4.0.2"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/node", "npm:18.15.11"],\ ["@types/yargs", "npm:15.0.13"],\ ["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ @@ -3285,7 +3291,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["axios", "npm:0.21.4"],\ ["babylon", "npm:6.18.0"],\ ["chalk", "npm:4.1.2"],\ - ["cosmjs-types", "npm:0.8.0"],\ + ["cosmjs-types", "npm:0.9.0"],\ ["diff", "npm:4.0.2"],\ ["eslint", "npm:7.26.0"],\ ["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\ @@ -3294,7 +3300,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:3.4.0"],\ ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["nyc", "npm:15.1.0"],\ ["prettier", "npm:2.8.8"],\ @@ -3322,7 +3328,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3331,7 +3337,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/pako", "npm:1.0.1"],\ ["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ ["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ - ["cosmjs-types", "npm:0.8.0"],\ + ["cosmjs-types", "npm:0.9.0"],\ ["eslint", "npm:7.26.0"],\ ["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\ ["eslint-import-resolver-node", "npm:0.3.4"],\ @@ -3340,18 +3346,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ ["karma-firefox-launcher", "npm:2.1.0"],\ ["karma-jasmine", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.1.0"],\ ["karma-jasmine-html-reporter", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.6.0"],\ - ["long", "npm:4.0.0"],\ ["nyc", "npm:15.1.0"],\ ["pako", "npm:2.0.3"],\ ["prettier", "npm:2.8.8"],\ - ["protobufjs", "npm:6.11.4"],\ ["readonly-date", "npm:1.0.0"],\ ["ses", "npm:0.11.1"],\ ["source-map-support", "npm:0.5.21"],\ @@ -3377,7 +3381,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/bn.js", "npm:5.1.0"],\ ["@types/elliptic", "npm:6.4.14"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3396,7 +3400,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3425,7 +3429,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/base64-js", "npm:1.3.0"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3442,7 +3446,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3477,7 +3481,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@koa/cors", "npm:3.3.0"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/koa", "npm:2.13.4"],\ ["@types/koa-bodyparser", "npm:4.3.7"],\ ["@types/koa__cors", "npm:3.3.0"],\ @@ -3490,7 +3494,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:3.4.0"],\ ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["koa", "npm:2.13.4"],\ ["koa-bodyparser", "npm:4.3.0"],\ @@ -3513,7 +3517,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/faucet-client", "workspace:packages/faucet-client"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3529,7 +3533,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3557,7 +3561,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/stream", "workspace:packages/stream"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3571,7 +3575,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3608,7 +3612,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@ledgerhq/hw-transport-node-hid", "npm:5.51.1"],\ ["@ledgerhq/hw-transport-webusb", "npm:5.51.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/ledgerhq__hw-transport", "npm:4.21.3"],\ ["@types/ledgerhq__hw-transport-node-hid", "npm:4.22.2"],\ ["@types/ledgerhq__hw-transport-webusb", "npm:4.70.1"],\ @@ -3623,7 +3627,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["ledger-cosmos-js", "npm:2.1.8"],\ ["nyc", "npm:15.1.0"],\ @@ -3648,7 +3652,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/bn.js", "npm:5.1.0"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3664,7 +3668,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3696,7 +3700,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3704,7 +3708,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/node", "npm:18.15.11"],\ ["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ ["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ - ["cosmjs-types", "npm:0.8.0"],\ + ["cosmjs-types", "npm:0.9.0"],\ ["eslint", "npm:7.26.0"],\ ["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\ ["eslint-import-resolver-node", "npm:0.3.4"],\ @@ -3713,14 +3717,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ ["karma-firefox-launcher", "npm:2.1.0"],\ ["karma-jasmine", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.1.0"],\ ["karma-jasmine-html-reporter", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.6.0"],\ - ["long", "npm:4.0.0"],\ ["nyc", "npm:15.1.0"],\ ["prettier", "npm:2.8.8"],\ ["protobufjs", "npm:6.11.4"],\ @@ -3743,7 +3746,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/stream", "workspace:packages/stream"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3759,7 +3762,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ ["isomorphic-ws", "virtual:992e8a49329af27dec1603ba7ec6f83173fb73e1d5752e95d78d0bec9ff8e148a218f65e20742125a49b958677fd4d6119ec35f9c56f9b4ea72f0e32f53b591b#npm:4.0.1"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3797,7 +3800,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3805,7 +3808,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@types/node", "npm:18.15.11"],\ ["@typescript-eslint/eslint-plugin", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ ["@typescript-eslint/parser", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.54.0"],\ - ["cosmjs-types", "npm:0.8.0"],\ + ["cosmjs-types", "npm:0.9.0"],\ ["eslint", "npm:7.26.0"],\ ["eslint-config-prettier", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:8.3.0"],\ ["eslint-import-resolver-node", "npm:0.3.4"],\ @@ -3814,17 +3817,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ ["karma-firefox-launcher", "npm:2.1.0"],\ ["karma-jasmine", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.1.0"],\ ["karma-jasmine-html-reporter", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.6.0"],\ - ["long", "npm:4.0.0"],\ ["nyc", "npm:15.1.0"],\ ["prettier", "npm:2.8.8"],\ - ["protobufjs", "npm:6.11.4"],\ ["readonly-date", "npm:1.0.0"],\ ["ses", "npm:0.11.1"],\ ["source-map-support", "npm:0.5.21"],\ @@ -3845,7 +3846,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/stream", "workspace:packages/stream"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3860,7 +3861,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3895,7 +3896,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3911,7 +3912,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -3940,7 +3941,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@cosmjs/utils", "workspace:packages/utils"],\ ["@istanbuljs/nyc-config-typescript", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:1.0.1"],\ ["@types/eslint-plugin-prettier", "npm:3.1.0"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma-firefox-launcher", "npm:2.1.0"],\ ["@types/karma-jasmine", "npm:4.0.2"],\ ["@types/karma-jasmine-html-reporter", "npm:1.5.1"],\ @@ -3956,7 +3957,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["eslint-plugin-simple-import-sort", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:7.0.0"],\ ["esm", "npm:3.2.25"],\ ["glob", "npm:7.2.0"],\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["jasmine-spec-reporter", "npm:6.0.0"],\ ["karma", "npm:6.3.16"],\ ["karma-chrome-launcher", "npm:3.1.0"],\ @@ -4091,6 +4092,16 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["@jridgewell/trace-mapping", "npm:0.3.14"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:0.3.3", {\ + "packageLocation": "./.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip/node_modules/@jridgewell/gen-mapping/",\ + "packageDependencies": [\ + ["@jridgewell/gen-mapping", "npm:0.3.3"],\ + ["@jridgewell/set-array", "npm:1.1.2"],\ + ["@jridgewell/sourcemap-codec", "npm:1.4.14"],\ + ["@jridgewell/trace-mapping", "npm:0.3.14"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["@jridgewell/resolve-uri", [\ @@ -4637,10 +4648,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["@types/jasmine", [\ - ["npm:4.0.3", {\ - "packageLocation": "./.yarn/cache/@types-jasmine-npm-4.0.3-569abf6439-9d2af9ddb5.zip/node_modules/@types/jasmine/",\ + ["npm:4.6.1", {\ + "packageLocation": "./.yarn/cache/@types-jasmine-npm-4.6.1-55b5288466-1c34321d0b.zip/node_modules/@types/jasmine/",\ "packageDependencies": [\ - ["@types/jasmine", "npm:4.0.3"]\ + ["@types/jasmine", "npm:4.6.1"]\ ],\ "linkType": "HARD"\ }]\ @@ -4696,7 +4707,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/cache/@types-karma-jasmine-npm-4.0.2-3aedb99021-42b3221d68.zip/node_modules/@types/karma-jasmine/",\ "packageDependencies": [\ ["@types/karma-jasmine", "npm:4.0.2"],\ - ["@types/jasmine", "npm:4.0.3"],\ + ["@types/jasmine", "npm:4.6.1"],\ ["@types/karma", "npm:6.3.0"]\ ],\ "linkType": "HARD"\ @@ -6626,6 +6637,17 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["node-releases", "npm:1.1.72"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:4.22.1", {\ + "packageLocation": "./.yarn/cache/browserslist-npm-4.22.1-cccae6d74e-7e6b10c53f.zip/node_modules/browserslist/",\ + "packageDependencies": [\ + ["browserslist", "npm:4.22.1"],\ + ["caniuse-lite", "npm:1.0.30001553"],\ + ["electron-to-chromium", "npm:1.4.565"],\ + ["node-releases", "npm:2.0.13"],\ + ["update-browserslist-db", "virtual:cccae6d74e613cbaceb4c608cb01004dea3f5ca235673f5c541d60f516ef320907d258256abf63eac9b8704e23cf5d52eb19f2a57a07471accc943ea645de308#npm:1.0.13"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["buffer", [\ @@ -6747,6 +6769,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["caniuse-lite", "npm:1.0.30001228"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:1.0.30001553", {\ + "packageLocation": "./.yarn/cache/caniuse-lite-npm-1.0.30001553-af33af7fcd-45d6a2a3c3.zip/node_modules/caniuse-lite/",\ + "packageDependencies": [\ + ["caniuse-lite", "npm:1.0.30001553"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["chalk", [\ @@ -7041,6 +7070,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["safe-buffer", "npm:5.1.2"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:2.0.0", {\ + "packageLocation": "./.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip/node_modules/convert-source-map/",\ + "packageDependencies": [\ + ["convert-source-map", "npm:2.0.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["cookie", [\ @@ -7111,12 +7147,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["cosmjs-types", [\ - ["npm:0.8.0", {\ - "packageLocation": "./.yarn/cache/cosmjs-types-npm-0.8.0-4c175fd383-99714ec956.zip/node_modules/cosmjs-types/",\ + ["npm:0.9.0", {\ + "packageLocation": "./.yarn/cache/cosmjs-types-npm-0.9.0-e5d36a4ae5-9b00d169ec.zip/node_modules/cosmjs-types/",\ "packageDependencies": [\ - ["cosmjs-types", "npm:0.8.0"],\ - ["long", "npm:4.0.0"],\ - ["protobufjs", "npm:6.11.4"]\ + ["cosmjs-types", "npm:0.9.0"]\ ],\ "linkType": "HARD"\ }]\ @@ -7430,6 +7464,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["electron-to-chromium", "npm:1.3.734"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:1.4.565", {\ + "packageLocation": "./.yarn/cache/electron-to-chromium-npm-1.4.565-e46f4c4b3f-5baa0ea0b5.zip/node_modules/electron-to-chromium/",\ + "packageDependencies": [\ + ["electron-to-chromium", "npm:1.4.565"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["elliptic", [\ @@ -9291,7 +9332,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/cache/istanbul-lib-instrument-npm-4.0.3-4d4c2263f8-fa1171d302.zip/node_modules/istanbul-lib-instrument/",\ "packageDependencies": [\ ["istanbul-lib-instrument", "npm:4.0.3"],\ - ["@babel/core", "npm:7.14.3"],\ + ["@babel/core", "npm:7.23.2"],\ ["@istanbuljs/schema", "npm:0.1.3"],\ ["istanbul-lib-coverage", "npm:3.0.0"],\ ["semver", "npm:6.3.0"]\ @@ -9362,21 +9403,21 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["jasmine", [\ - ["npm:4.2.1", {\ - "packageLocation": "./.yarn/cache/jasmine-npm-4.2.1-b8c8f1d620-3fe11afead.zip/node_modules/jasmine/",\ + ["npm:4.6.0", {\ + "packageLocation": "./.yarn/cache/jasmine-npm-4.6.0-610a07828e-1034466aac.zip/node_modules/jasmine/",\ "packageDependencies": [\ - ["jasmine", "npm:4.2.1"],\ + ["jasmine", "npm:4.6.0"],\ ["glob", "npm:7.2.0"],\ - ["jasmine-core", "npm:4.2.0"]\ + ["jasmine-core", "npm:4.6.0"]\ ],\ "linkType": "HARD"\ }]\ ]],\ ["jasmine-core", [\ - ["npm:4.2.0", {\ - "packageLocation": "./.yarn/cache/jasmine-core-npm-4.2.0-21c91c9b6b-86c731bb4d.zip/node_modules/jasmine-core/",\ + ["npm:4.6.0", {\ + "packageLocation": "./.yarn/cache/jasmine-core-npm-4.6.0-57a71d0bb0-c5c5ce16c5.zip/node_modules/jasmine-core/",\ "packageDependencies": [\ - ["jasmine-core", "npm:4.2.0"]\ + ["jasmine-core", "npm:4.6.0"]\ ],\ "linkType": "HARD"\ }]\ @@ -9484,11 +9525,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ - ["npm:2.2.0", {\ - "packageLocation": "./.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip/node_modules/json5/",\ + ["npm:2.2.3", {\ + "packageLocation": "./.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip/node_modules/json5/",\ "packageDependencies": [\ - ["json5", "npm:2.2.0"],\ - ["minimist", "npm:1.2.6"]\ + ["json5", "npm:2.2.3"]\ ],\ "linkType": "HARD"\ }]\ @@ -9580,7 +9620,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageDependencies": [\ ["karma-jasmine", "virtual:4f1584ad4aba8733a24be7c8aebbffafef25607f2d00f4b314cf96717145c692763628a31c2b85d4686fbb091ff21ebffa3cc337399c042c19a32b9bdb786464#npm:5.1.0"],\ ["@types/karma", null],\ - ["jasmine-core", "npm:4.2.0"],\ + ["jasmine-core", "npm:4.6.0"],\ ["karma", "npm:6.3.16"]\ ],\ "packagePeers": [\ @@ -9707,7 +9747,7 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "packageLocation": "./.yarn/cache/ledger-cosmos-js-npm-2.1.8-e975511a2f-cba4f5e29d.zip/node_modules/ledger-cosmos-js/",\ "packageDependencies": [\ ["ledger-cosmos-js", "npm:2.1.8"],\ - ["@babel/runtime", "npm:7.14.0"],\ + ["@babel/runtime", "npm:7.23.2"],\ ["@ledgerhq/hw-transport", "npm:5.51.1"],\ ["bech32", "npm:1.1.4"],\ ["ripemd160", "npm:2.0.2"]\ @@ -9853,6 +9893,14 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ + ["npm:5.1.1", {\ + "packageLocation": "./.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip/node_modules/lru-cache/",\ + "packageDependencies": [\ + ["lru-cache", "npm:5.1.1"],\ + ["yallist", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:6.0.0", {\ "packageLocation": "./.yarn/cache/lru-cache-npm-6.0.0-b4c8668fe1-f97f499f89.zip/node_modules/lru-cache/",\ "packageDependencies": [\ @@ -10343,6 +10391,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ["node-releases", "npm:1.1.72"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:2.0.13", {\ + "packageLocation": "./.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip/node_modules/node-releases/",\ + "packageDependencies": [\ + ["node-releases", "npm:2.0.13"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["noop-logger", [\ @@ -10783,6 +10838,15 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["picocolors", [\ + ["npm:1.0.0", {\ + "packageLocation": "./.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip/node_modules/picocolors/",\ + "packageDependencies": [\ + ["picocolors", "npm:1.0.0"]\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["picomatch", [\ ["npm:2.2.3", {\ "packageLocation": "./.yarn/cache/picomatch-npm-2.2.3-3797e21cf0-45e2b882b5.zip/node_modules/picomatch/",\ @@ -11144,10 +11208,10 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["regenerator-runtime", [\ - ["npm:0.13.8", {\ - "packageLocation": "./.yarn/cache/regenerator-runtime-npm-0.13.8-0450f887d6-5f89699ab5.zip/node_modules/regenerator-runtime/",\ + ["npm:0.14.0", {\ + "packageLocation": "./.yarn/cache/regenerator-runtime-npm-0.14.0-e060897cf7-1c977ad82a.zip/node_modules/regenerator-runtime/",\ "packageDependencies": [\ - ["regenerator-runtime", "npm:0.13.8"]\ + ["regenerator-runtime", "npm:0.14.0"]\ ],\ "linkType": "HARD"\ }]\ @@ -11373,6 +11437,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { ],\ "linkType": "HARD"\ }],\ + ["npm:6.3.1", {\ + "packageLocation": "./.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip/node_modules/semver/",\ + "packageDependencies": [\ + ["semver", "npm:6.3.1"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:7.5.3", {\ "packageLocation": "./.yarn/cache/semver-npm-7.5.3-275095dbf3-9d58db1652.zip/node_modules/semver/",\ "packageDependencies": [\ @@ -11616,13 +11687,6 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["source-map", [\ - ["npm:0.5.7", {\ - "packageLocation": "./.yarn/cache/source-map-npm-0.5.7-7c3f035429-5dc2043b93.zip/node_modules/source-map/",\ - "packageDependencies": [\ - ["source-map", "npm:0.5.7"]\ - ],\ - "linkType": "HARD"\ - }],\ ["npm:0.6.1", {\ "packageLocation": "./.yarn/cache/source-map-npm-0.6.1-1a3621db16-59ce8640cf.zip/node_modules/source-map/",\ "packageDependencies": [\ @@ -12797,6 +12861,30 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { "linkType": "HARD"\ }]\ ]],\ + ["update-browserslist-db", [\ + ["npm:1.0.13", {\ + "packageLocation": "./.yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip/node_modules/update-browserslist-db/",\ + "packageDependencies": [\ + ["update-browserslist-db", "npm:1.0.13"]\ + ],\ + "linkType": "SOFT"\ + }],\ + ["virtual:cccae6d74e613cbaceb4c608cb01004dea3f5ca235673f5c541d60f516ef320907d258256abf63eac9b8704e23cf5d52eb19f2a57a07471accc943ea645de308#npm:1.0.13", {\ + "packageLocation": "./.yarn/__virtual__/update-browserslist-db-virtual-1935275eaa/0/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip/node_modules/update-browserslist-db/",\ + "packageDependencies": [\ + ["update-browserslist-db", "virtual:cccae6d74e613cbaceb4c608cb01004dea3f5ca235673f5c541d60f516ef320907d258256abf63eac9b8704e23cf5d52eb19f2a57a07471accc943ea645de308#npm:1.0.13"],\ + ["@types/browserslist", null],\ + ["browserslist", "npm:4.22.1"],\ + ["escalade", "npm:3.1.1"],\ + ["picocolors", "npm:1.0.0"]\ + ],\ + "packagePeers": [\ + "@types/browserslist",\ + "browserslist"\ + ],\ + "linkType": "HARD"\ + }]\ + ]],\ ["uri-js", [\ ["npm:4.4.1", {\ "packageLocation": "./.yarn/cache/uri-js-npm-4.4.1-66d11cbcaf-7167432de6.zip/node_modules/uri-js/",\ @@ -14345,6 +14433,13 @@ function $$SETUP_STATE(hydrateRuntimeState, basePath) { }]\ ]],\ ["yallist", [\ + ["npm:3.1.1", {\ + "packageLocation": "./.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip/node_modules/yallist/",\ + "packageDependencies": [\ + ["yallist", "npm:3.1.1"]\ + ],\ + "linkType": "HARD"\ + }],\ ["npm:4.0.0", {\ "packageLocation": "./.yarn/cache/yallist-npm-4.0.0-b493d9e907-343617202a.zip/node_modules/yallist/",\ "packageDependencies": [\ diff --git a/.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip b/.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip new file mode 100644 index 00000000..0238b90c --- /dev/null +++ b/.yarn/cache/@ampproject-remapping-npm-2.2.1-3da3d624be-03c04fd526.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9531f5b5dbe12c40563ceccd7a80f70595ad855b401d19123b84d7f85676195d +size 27327 diff --git a/.yarn/cache/@babel-code-frame-npm-7.12.13-fb5ba5a992-d0491bb59f.zip b/.yarn/cache/@babel-code-frame-npm-7.12.13-fb5ba5a992-d0491bb59f.zip deleted file mode 100644 index dc193d10..00000000 --- a/.yarn/cache/@babel-code-frame-npm-7.12.13-fb5ba5a992-d0491bb59f.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f1160e26b55940c7e7eb44988cb348de9006a18be8446ae10ea37f08d774f485 -size 4236 diff --git a/.yarn/cache/@babel-code-frame-npm-7.22.13-2782581d20-22e342c807.zip b/.yarn/cache/@babel-code-frame-npm-7.22.13-2782581d20-22e342c807.zip new file mode 100644 index 00000000..4c6ff5a1 --- /dev/null +++ b/.yarn/cache/@babel-code-frame-npm-7.22.13-2782581d20-22e342c807.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:745fcf3f83283a962c6057d0f05384508e543b4191c28ac09afb93279ad10f1e +size 9380 diff --git a/.yarn/cache/@babel-compat-data-npm-7.14.0-150bea01c2-24a9ce6d25.zip b/.yarn/cache/@babel-compat-data-npm-7.14.0-150bea01c2-24a9ce6d25.zip deleted file mode 100644 index b851caef..00000000 --- a/.yarn/cache/@babel-compat-data-npm-7.14.0-150bea01c2-24a9ce6d25.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fd95947358c983b58b054197dd387f961b056156152d58bbd08d086aedb28528 -size 8468 diff --git a/.yarn/cache/@babel-compat-data-npm-7.23.2-763f35b25b-d8dc27437d.zip b/.yarn/cache/@babel-compat-data-npm-7.23.2-763f35b25b-d8dc27437d.zip new file mode 100644 index 00000000..ae9f3c3d --- /dev/null +++ b/.yarn/cache/@babel-compat-data-npm-7.23.2-763f35b25b-d8dc27437d.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5b510eb1d6bd9d8abe2b00a11e1c8c121c7fd4b2b059cd1324cf95e21495a8f7 +size 9675 diff --git a/.yarn/cache/@babel-core-npm-7.14.3-9181aae4d9-b91ed6adc7.zip b/.yarn/cache/@babel-core-npm-7.14.3-9181aae4d9-b91ed6adc7.zip deleted file mode 100644 index 350d0db1..00000000 --- a/.yarn/cache/@babel-core-npm-7.14.3-9181aae4d9-b91ed6adc7.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:aaedc4ae736929763233ec7a8ddc1f3c609899f094cc9b56e5d2e21e88c7f544 -size 66621 diff --git a/.yarn/cache/@babel-core-npm-7.23.2-b93f586907-003897718d.zip b/.yarn/cache/@babel-core-npm-7.23.2-b93f586907-003897718d.zip new file mode 100644 index 00000000..288a96c5 --- /dev/null +++ b/.yarn/cache/@babel-core-npm-7.23.2-b93f586907-003897718d.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e9d2c511a3f901ebdf04e6311e955998e7984adb00a4f272355055793ec35022 +size 251503 diff --git a/.yarn/cache/@babel-generator-npm-7.14.3-3bb0a82750-2c104bbe53.zip b/.yarn/cache/@babel-generator-npm-7.14.3-3bb0a82750-2c104bbe53.zip deleted file mode 100644 index 30373945..00000000 --- a/.yarn/cache/@babel-generator-npm-7.14.3-3bb0a82750-2c104bbe53.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b47ba0db36432372d148fee74d6c14a37861e3d19d97abfbcaa954476cf0b5c1 -size 31094 diff --git a/.yarn/cache/@babel-generator-npm-7.23.0-08841c5369-8efe24adad.zip b/.yarn/cache/@babel-generator-npm-7.23.0-08841c5369-8efe24adad.zip new file mode 100644 index 00000000..be9a8d98 --- /dev/null +++ b/.yarn/cache/@babel-generator-npm-7.23.0-08841c5369-8efe24adad.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bf93d168e27d297945cd8646c7a07d9b44a987e99f983de460191550187f8587 +size 121904 diff --git a/.yarn/cache/@babel-helper-compilation-targets-npm-7.13.16-e8eed91d8d-08c8fcd998.zip b/.yarn/cache/@babel-helper-compilation-targets-npm-7.13.16-e8eed91d8d-08c8fcd998.zip deleted file mode 100644 index 28877a82..00000000 --- a/.yarn/cache/@babel-helper-compilation-targets-npm-7.13.16-e8eed91d8d-08c8fcd998.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:9fc2e54a7c3be8071ef47f113dcb2ee44870a6a0cee19ebcd232420a7a8bc1a3 -size 9147 diff --git a/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.15-7aac9e71ad-ce85196769.zip b/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.15-7aac9e71ad-ce85196769.zip new file mode 100644 index 00000000..ccbe323f --- /dev/null +++ b/.yarn/cache/@babel-helper-compilation-targets-npm-7.22.15-7aac9e71ad-ce85196769.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75bfec871e8547e59aef4b9ab28446661d7b2ce22bb568f1544708e1237e58cc +size 22213 diff --git a/.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip b/.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip new file mode 100644 index 00000000..65f94b85 --- /dev/null +++ b/.yarn/cache/@babel-helper-environment-visitor-npm-7.22.20-260909e014-d80ee98ff6.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5c559dbc34eb3397e06b1b7f0b05d6b6dfafc027609b44da7bc38f79e6b2c270 +size 4411 diff --git a/.yarn/cache/@babel-helper-function-name-npm-7.14.2-52642340ac-70365d36ad.zip b/.yarn/cache/@babel-helper-function-name-npm-7.14.2-52642340ac-70365d36ad.zip deleted file mode 100644 index 4e6f9f52..00000000 --- a/.yarn/cache/@babel-helper-function-name-npm-7.14.2-52642340ac-70365d36ad.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2cc1bef9faff7b6f0f7a7378db91b373b0b894441ee14e9ed430e955945329b8 -size 3752 diff --git a/.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip b/.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip new file mode 100644 index 00000000..3617b039 --- /dev/null +++ b/.yarn/cache/@babel-helper-function-name-npm-7.23.0-ce38271242-e44542257b.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd6c88e6b1df2c66667c645728a2373783d158ff42fd40713f1839cbfe171c4d +size 8978 diff --git a/.yarn/cache/@babel-helper-get-function-arity-npm-7.12.13-7d8bcf34b7-847ef9f4d4.zip b/.yarn/cache/@babel-helper-get-function-arity-npm-7.12.13-7d8bcf34b7-847ef9f4d4.zip deleted file mode 100644 index ce5a7bdb..00000000 --- a/.yarn/cache/@babel-helper-get-function-arity-npm-7.12.13-7d8bcf34b7-847ef9f4d4.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a5938792bd55e39017cf1258f9077473b3def043e58691c89585983a10ed800a -size 2999 diff --git a/.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip b/.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip new file mode 100644 index 00000000..4c628ab5 --- /dev/null +++ b/.yarn/cache/@babel-helper-hoist-variables-npm-7.22.5-6db3192347-394ca191b4.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:10f3c06e3819728eb0a959e2f26a820e8db503547f6a684276e3d225c6c73e5d +size 4610 diff --git a/.yarn/cache/@babel-helper-member-expression-to-functions-npm-7.13.12-0092ecd45c-76a5ad6ae6.zip b/.yarn/cache/@babel-helper-member-expression-to-functions-npm-7.13.12-0092ecd45c-76a5ad6ae6.zip deleted file mode 100644 index a9d72e07..00000000 --- a/.yarn/cache/@babel-helper-member-expression-to-functions-npm-7.13.12-0092ecd45c-76a5ad6ae6.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7218c971662837518ffde4ab3eec15c2378ca820befe57544063f437b2824e6f -size 14500 diff --git a/.yarn/cache/@babel-helper-module-imports-npm-7.13.12-6f45f76073-9abb5e3acb.zip b/.yarn/cache/@babel-helper-module-imports-npm-7.13.12-6f45f76073-9abb5e3acb.zip deleted file mode 100644 index 5ef06215..00000000 --- a/.yarn/cache/@babel-helper-module-imports-npm-7.13.12-6f45f76073-9abb5e3acb.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:759e2f947e7bba3e8ae98e75e097b0b160c67283a51bd4c26f47ac4c185cb24d -size 6932 diff --git a/.yarn/cache/@babel-helper-module-imports-npm-7.22.15-687e77ee50-ecd7e457df.zip b/.yarn/cache/@babel-helper-module-imports-npm-7.22.15-687e77ee50-ecd7e457df.zip new file mode 100644 index 00000000..d220a0a8 --- /dev/null +++ b/.yarn/cache/@babel-helper-module-imports-npm-7.22.15-687e77ee50-ecd7e457df.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bb45c2f3bf11db674ce71d6fb85d0efecf8152cbd36f84fb716f59f4084c323 +size 16401 diff --git a/.yarn/cache/@babel-helper-module-transforms-npm-7.14.2-81e49440fe-cb6930cb45.zip b/.yarn/cache/@babel-helper-module-transforms-npm-7.14.2-81e49440fe-cb6930cb45.zip deleted file mode 100644 index feaaca05..00000000 --- a/.yarn/cache/@babel-helper-module-transforms-npm-7.14.2-81e49440fe-cb6930cb45.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:3a455168e05cbe3bdc2bcb80f9535669eb6f175cee528ab311b1ee4d09793769 -size 11778 diff --git a/.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip b/.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip new file mode 100644 index 00000000..951dcb40 --- /dev/null +++ b/.yarn/cache/@babel-helper-module-transforms-npm-7.23.0-6d065838a4-6e2afffb05.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:786a15d2ce2d114091c6a6d6c94f59e65f38fa037d3d8040e339f7587374b33f +size 46326 diff --git a/.yarn/cache/@babel-helper-optimise-call-expression-npm-7.12.13-52e64fc268-9925679d67.zip b/.yarn/cache/@babel-helper-optimise-call-expression-npm-7.12.13-52e64fc268-9925679d67.zip deleted file mode 100644 index a7a51ddc..00000000 --- a/.yarn/cache/@babel-helper-optimise-call-expression-npm-7.12.13-52e64fc268-9925679d67.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:798654ebd6e343bd603e4cf5f06d73db985cea220364542cd720caee597b72e4 -size 3202 diff --git a/.yarn/cache/@babel-helper-replace-supers-npm-7.14.3-52201924ca-c01363c502.zip b/.yarn/cache/@babel-helper-replace-supers-npm-7.14.3-52201924ca-c01363c502.zip deleted file mode 100644 index fab6680d..00000000 --- a/.yarn/cache/@babel-helper-replace-supers-npm-7.14.3-52201924ca-c01363c502.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ac9db0bc44eaaf2dd829b212a110f967e8b8506a6f7e77877b74f233c64ddb56 -size 4347 diff --git a/.yarn/cache/@babel-helper-simple-access-npm-7.13.12-038331126e-afd0a8d1c7.zip b/.yarn/cache/@babel-helper-simple-access-npm-7.13.12-038331126e-afd0a8d1c7.zip deleted file mode 100644 index 1c9f04b3..00000000 --- a/.yarn/cache/@babel-helper-simple-access-npm-7.13.12-038331126e-afd0a8d1c7.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:529dfc218bd4dbdc6adde13c54fb506e4b27c767e8a7be3c57d52891260c7e96 -size 3534 diff --git a/.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip b/.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip new file mode 100644 index 00000000..6c109888 --- /dev/null +++ b/.yarn/cache/@babel-helper-simple-access-npm-7.22.5-0a3f578780-fe9686714c.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e061870206e1c07737abb5f1ff4c4eddfefcef14dddec244492b7fe6025f71f4 +size 6046 diff --git a/.yarn/cache/@babel-helper-split-export-declaration-npm-7.12.13-bb30c88575-adc8954a0b.zip b/.yarn/cache/@babel-helper-split-export-declaration-npm-7.12.13-bb30c88575-adc8954a0b.zip deleted file mode 100644 index 4fda1891..00000000 --- a/.yarn/cache/@babel-helper-split-export-declaration-npm-7.12.13-bb30c88575-adc8954a0b.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:75a6369c30757dfc5260d93265b15bff89527ffa34576e0560bcb3cb8f5682a5 -size 3487 diff --git a/.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip b/.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip new file mode 100644 index 00000000..92bc2fba --- /dev/null +++ b/.yarn/cache/@babel-helper-split-export-declaration-npm-7.22.6-e723505aef-e141cace58.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9aa49f74a2787e9eea7185c654846ba9e0e5a480f9ed674a6e28a410390783c7 +size 5379 diff --git a/.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip b/.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip new file mode 100644 index 00000000..7a96d0c7 --- /dev/null +++ b/.yarn/cache/@babel-helper-string-parser-npm-7.22.5-448ff0e489-836851ca5e.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae268fa5c8d653bf050c0c7bdef827ee07f95a8e9eb491d0f57d90404dffb909 +size 10052 diff --git a/.yarn/cache/@babel-helper-validator-identifier-npm-7.14.0-88c0d4b395-6276d57677.zip b/.yarn/cache/@babel-helper-validator-identifier-npm-7.14.0-88c0d4b395-6276d57677.zip deleted file mode 100644 index 3ca2d451..00000000 --- a/.yarn/cache/@babel-helper-validator-identifier-npm-7.14.0-88c0d4b395-6276d57677.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4fcca05f02b2fafdd0c8cd62636555a1d46e7f9a3764a414399b2a70a18fb28f -size 9220 diff --git a/.yarn/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-136412784d.zip b/.yarn/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-136412784d.zip new file mode 100644 index 00000000..63271e97 --- /dev/null +++ b/.yarn/cache/@babel-helper-validator-identifier-npm-7.22.20-18305bb306-136412784d.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fdfdf97b4962356d120e28b00eab1abdbbbf1f706c737366ef26147b5f158030 +size 17936 diff --git a/.yarn/cache/@babel-helper-validator-option-npm-7.12.17-098722d989-940e7b78dc.zip b/.yarn/cache/@babel-helper-validator-option-npm-7.12.17-098722d989-940e7b78dc.zip deleted file mode 100644 index 2b4b5038..00000000 --- a/.yarn/cache/@babel-helper-validator-option-npm-7.12.17-098722d989-940e7b78dc.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:bf81c29ceb214845f9890d4c015f1589cce8c089c04a8afc418342d0d222b1f6 -size 3856 diff --git a/.yarn/cache/@babel-helper-validator-option-npm-7.22.15-29aa330042-68da52b1e1.zip b/.yarn/cache/@babel-helper-validator-option-npm-7.22.15-29aa330042-68da52b1e1.zip new file mode 100644 index 00000000..e295d0be --- /dev/null +++ b/.yarn/cache/@babel-helper-validator-option-npm-7.22.15-29aa330042-68da52b1e1.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccb682000ab636b3a48a5cf324ec352fbe0701a6b68e9555e06c22c6a8805f21 +size 7323 diff --git a/.yarn/cache/@babel-helpers-npm-7.14.0-37cb1e5143-276716f77c.zip b/.yarn/cache/@babel-helpers-npm-7.14.0-37cb1e5143-276716f77c.zip deleted file mode 100644 index 1d7c2515..00000000 --- a/.yarn/cache/@babel-helpers-npm-7.14.0-37cb1e5143-276716f77c.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ad7fe2c247d56290e822610ac0bf9aee8de8b3f95e1ec5aba4d138fc2693e90d -size 23262 diff --git a/.yarn/cache/@babel-helpers-npm-7.23.2-aa45e8b40c-aaf4828df7.zip b/.yarn/cache/@babel-helpers-npm-7.23.2-aa45e8b40c-aaf4828df7.zip new file mode 100644 index 00000000..c10c60ab --- /dev/null +++ b/.yarn/cache/@babel-helpers-npm-7.23.2-aa45e8b40c-aaf4828df7.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b314e72763839d7937a7839ad52810c9dc697d943841d2136e77857b78e752d9 +size 157826 diff --git a/.yarn/cache/@babel-highlight-npm-7.14.0-54986133d5-5aae226c0d.zip b/.yarn/cache/@babel-highlight-npm-7.14.0-54986133d5-5aae226c0d.zip deleted file mode 100644 index b1f41a39..00000000 --- a/.yarn/cache/@babel-highlight-npm-7.14.0-54986133d5-5aae226c0d.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b5343b90f77cc0552242d231e2e48b01fb09b7dfd4e14a5adc05b2a6a3e9d11 -size 3384 diff --git a/.yarn/cache/@babel-highlight-npm-7.22.20-5de7aba88d-84bd034dca.zip b/.yarn/cache/@babel-highlight-npm-7.22.20-5de7aba88d-84bd034dca.zip new file mode 100644 index 00000000..107077f2 --- /dev/null +++ b/.yarn/cache/@babel-highlight-npm-7.22.20-5de7aba88d-84bd034dca.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:009dfed052b4ec07181a427a74bc064206fb9a5c7dae76678bbc1578ee6da543 +size 8030 diff --git a/.yarn/cache/@babel-parser-npm-7.14.3-4c3311dd2f-39653900d3.zip b/.yarn/cache/@babel-parser-npm-7.14.3-4c3311dd2f-39653900d3.zip deleted file mode 100644 index 473c4b64..00000000 --- a/.yarn/cache/@babel-parser-npm-7.14.3-4c3311dd2f-39653900d3.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:04636be4052b6b83324ff79f7cf0ebec824be3f34314a5af55cec1e139ca17e5 -size 372362 diff --git a/.yarn/cache/@babel-parser-npm-7.23.0-8a7b151672-453fdf8b9e.zip b/.yarn/cache/@babel-parser-npm-7.23.0-8a7b151672-453fdf8b9e.zip new file mode 100644 index 00000000..0b54027c --- /dev/null +++ b/.yarn/cache/@babel-parser-npm-7.23.0-8a7b151672-453fdf8b9e.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dd9f8373d7148163d52b80307ea73c4bbf1531fbc3646788c2e577e571d93b0e +size 415052 diff --git a/.yarn/cache/@babel-runtime-npm-7.14.0-fba2a32266-257dc25943.zip b/.yarn/cache/@babel-runtime-npm-7.14.0-fba2a32266-257dc25943.zip deleted file mode 100644 index 9acb8f9b..00000000 --- a/.yarn/cache/@babel-runtime-npm-7.14.0-fba2a32266-257dc25943.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:fe0d96f26185121ca428d727bafb3cf3ad5b2db8af1cdfdb5b9dde20fd659473 -size 84343 diff --git a/.yarn/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-6c4df4839e.zip b/.yarn/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-6c4df4839e.zip new file mode 100644 index 00000000..48ec43e9 --- /dev/null +++ b/.yarn/cache/@babel-runtime-npm-7.23.2-d013d6cf7e-6c4df4839e.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fee2bcf9a8d0068fddd16aae08bcca6dd0cd340374580d68a9a46d967292eff4 +size 123584 diff --git a/.yarn/cache/@babel-template-npm-7.12.13-069e9c8875-e037731631.zip b/.yarn/cache/@babel-template-npm-7.12.13-069e9c8875-e037731631.zip deleted file mode 100644 index c543a473..00000000 --- a/.yarn/cache/@babel-template-npm-7.12.13-069e9c8875-e037731631.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:869ff7c9907f922a629b99d6c2204dee9ef97a315fb1a9cbbf4936b8bffafa6c -size 11041 diff --git a/.yarn/cache/@babel-template-npm-7.22.15-0b464facb4-1f3e7dcd6c.zip b/.yarn/cache/@babel-template-npm-7.22.15-0b464facb4-1f3e7dcd6c.zip new file mode 100644 index 00000000..d19e2323 --- /dev/null +++ b/.yarn/cache/@babel-template-npm-7.22.15-0b464facb4-1f3e7dcd6c.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ab3f428b20f55aeb7516bbf91448ce9ab7ccfb092587e5e33b941a659b8a52c0 +size 26734 diff --git a/.yarn/cache/@babel-traverse-npm-7.14.2-5dffae5dce-054d5e4442.zip b/.yarn/cache/@babel-traverse-npm-7.14.2-5dffae5dce-054d5e4442.zip deleted file mode 100644 index 9514c7dd..00000000 --- a/.yarn/cache/@babel-traverse-npm-7.14.2-5dffae5dce-054d5e4442.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:f2661cb0d35261f50195a5f8dd994dc60d8065e07e4f0a1c178bb5a74b6b4eb9 -size 47876 diff --git a/.yarn/cache/@babel-traverse-npm-7.23.2-4758feee42-26a1eea0dd.zip b/.yarn/cache/@babel-traverse-npm-7.23.2-4758feee42-26a1eea0dd.zip new file mode 100644 index 00000000..894e9589 --- /dev/null +++ b/.yarn/cache/@babel-traverse-npm-7.23.2-4758feee42-26a1eea0dd.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a9b529231b4a4f296e95d1179258c87919b1851eef43c754f6e19c1fca1460b8 +size 178434 diff --git a/.yarn/cache/@babel-types-npm-7.14.2-0a9f9700cf-b8e4796ba8.zip b/.yarn/cache/@babel-types-npm-7.14.2-0a9f9700cf-b8e4796ba8.zip deleted file mode 100644 index d025b7d9..00000000 --- a/.yarn/cache/@babel-types-npm-7.14.2-0a9f9700cf-b8e4796ba8.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8acde4b77ad764aff2a81b5e6656b68f24f87ee092e842a1aeae4419d2d86378 -size 162797 diff --git a/.yarn/cache/@babel-types-npm-7.23.0-332fd21daf-215fe04bd7.zip b/.yarn/cache/@babel-types-npm-7.23.0-332fd21daf-215fe04bd7.zip new file mode 100644 index 00000000..31630fce --- /dev/null +++ b/.yarn/cache/@babel-types-npm-7.23.0-332fd21daf-215fe04bd7.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6540f88ddbebb175ab088429c955159098b44ec1840a976a5dbd53e1d30af8fc +size 331524 diff --git a/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip b/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip new file mode 100644 index 00000000..5d1e726a --- /dev/null +++ b/.yarn/cache/@jridgewell-gen-mapping-npm-0.3.3-1815eba94c-4a74944bd3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1bb43036e5caf8d5982c6907a18d1c7d13538037a9b1163fb1a9c6ccecb115b7 +size 22889 diff --git a/.yarn/cache/@types-jasmine-npm-4.0.3-569abf6439-9d2af9ddb5.zip b/.yarn/cache/@types-jasmine-npm-4.0.3-569abf6439-9d2af9ddb5.zip deleted file mode 100644 index 1cbc3911..00000000 --- a/.yarn/cache/@types-jasmine-npm-4.0.3-569abf6439-9d2af9ddb5.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5971ec98524c2e5624abc047d03fa18cc188e19c476340bb223ae2cc2d2f05c9 -size 13203 diff --git a/.yarn/cache/@types-jasmine-npm-4.6.1-55b5288466-1c34321d0b.zip b/.yarn/cache/@types-jasmine-npm-4.6.1-55b5288466-1c34321d0b.zip new file mode 100644 index 00000000..8f9313fd --- /dev/null +++ b/.yarn/cache/@types-jasmine-npm-4.6.1-55b5288466-1c34321d0b.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bcaf20c261f0bde99689353083345e5b3038b8bad6c826ec3cd0e202b5663c61 +size 12937 diff --git a/.yarn/cache/browserslist-npm-4.22.1-cccae6d74e-7e6b10c53f.zip b/.yarn/cache/browserslist-npm-4.22.1-cccae6d74e-7e6b10c53f.zip new file mode 100644 index 00000000..3e0ff3d0 --- /dev/null +++ b/.yarn/cache/browserslist-npm-4.22.1-cccae6d74e-7e6b10c53f.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:db3f79406cc4cb21ed1f830b43e4ac36dfc1f4b156886e26bff31833f4051a6f +size 18344 diff --git a/.yarn/cache/caniuse-lite-npm-1.0.30001553-af33af7fcd-45d6a2a3c3.zip b/.yarn/cache/caniuse-lite-npm-1.0.30001553-af33af7fcd-45d6a2a3c3.zip new file mode 100644 index 00000000..569c842f --- /dev/null +++ b/.yarn/cache/caniuse-lite-npm-1.0.30001553-af33af7fcd-45d6a2a3c3.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e79bbf676ec0ff0858846ef786a04ea5784c12156e479a294217360b23e7e7bd +size 799101 diff --git a/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip b/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip new file mode 100644 index 00000000..e69801bd --- /dev/null +++ b/.yarn/cache/convert-source-map-npm-2.0.0-7ab664dc4e-63ae9933be.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39b507512936808f011a283496ce80cb84f6f7ee7a0b989571f5254f8e0020a1 +size 6022 diff --git a/.yarn/cache/cosmjs-types-npm-0.8.0-4c175fd383-99714ec956.zip b/.yarn/cache/cosmjs-types-npm-0.8.0-4c175fd383-99714ec956.zip deleted file mode 100644 index 6fa9b74c..00000000 --- a/.yarn/cache/cosmjs-types-npm-0.8.0-4c175fd383-99714ec956.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e13a216c190d35403482b571ccbd193228085a05f0583919b363800bf5614333 -size 1513560 diff --git a/.yarn/cache/cosmjs-types-npm-0.9.0-e5d36a4ae5-9b00d169ec.zip b/.yarn/cache/cosmjs-types-npm-0.9.0-e5d36a4ae5-9b00d169ec.zip new file mode 100644 index 00000000..88989965 --- /dev/null +++ b/.yarn/cache/cosmjs-types-npm-0.9.0-e5d36a4ae5-9b00d169ec.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90a64c14d4f9e3ab9a5a1fa533c8206dcee18724dd3aae037f9fbf5f06e4ef7d +size 1235028 diff --git a/.yarn/cache/electron-to-chromium-npm-1.4.565-e46f4c4b3f-5baa0ea0b5.zip b/.yarn/cache/electron-to-chromium-npm-1.4.565-e46f4c4b3f-5baa0ea0b5.zip new file mode 100644 index 00000000..afc1b73e --- /dev/null +++ b/.yarn/cache/electron-to-chromium-npm-1.4.565-e46f4c4b3f-5baa0ea0b5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ec536fe503d6e12c5d296defc8bdb9e461d148dcaf46a5cdd637de86d1b53af +size 36014 diff --git a/.yarn/cache/jasmine-core-npm-4.2.0-21c91c9b6b-86c731bb4d.zip b/.yarn/cache/jasmine-core-npm-4.2.0-21c91c9b6b-86c731bb4d.zip deleted file mode 100644 index 9ab98fb1..00000000 --- a/.yarn/cache/jasmine-core-npm-4.2.0-21c91c9b6b-86c731bb4d.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b8016d3abe6d4abab81116f2cd4d72d3c3a3ace8b6446cff9555627a1a71f33f -size 95299 diff --git a/.yarn/cache/jasmine-core-npm-4.6.0-57a71d0bb0-c5c5ce16c5.zip b/.yarn/cache/jasmine-core-npm-4.6.0-57a71d0bb0-c5c5ce16c5.zip new file mode 100644 index 00000000..5b8de39f --- /dev/null +++ b/.yarn/cache/jasmine-core-npm-4.6.0-57a71d0bb0-c5c5ce16c5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3bc71e5e36b70a0f4b1bcd4b6f78f98a9deb6abee6603bb75a90300d39eab8e5 +size 97148 diff --git a/.yarn/cache/jasmine-npm-4.2.1-b8c8f1d620-3fe11afead.zip b/.yarn/cache/jasmine-npm-4.2.1-b8c8f1d620-3fe11afead.zip deleted file mode 100644 index ac0d1a2f..00000000 --- a/.yarn/cache/jasmine-npm-4.2.1-b8c8f1d620-3fe11afead.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d7c0c826ca6a6c41fe2f3ab5737423ee58d9458ff1ada21cfb29f222d20ab58b -size 16720 diff --git a/.yarn/cache/jasmine-npm-4.6.0-610a07828e-1034466aac.zip b/.yarn/cache/jasmine-npm-4.6.0-610a07828e-1034466aac.zip new file mode 100644 index 00000000..0bcb0c6c --- /dev/null +++ b/.yarn/cache/jasmine-npm-4.6.0-610a07828e-1034466aac.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:defc2a944c49debb42ecf881f15eef21581bd9452c07340e03bb1b4349a53c6e +size 17732 diff --git a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip b/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip deleted file mode 100644 index f07817e9..00000000 --- a/.yarn/cache/json5-npm-2.2.0-da49dc7cb5-e88fc5274b.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1106b5b98b92ec1b0a0264dd0811b2fde4350a640235203dec2827c19ef0da8e -size 63029 diff --git a/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip b/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip new file mode 100644 index 00000000..b989eb3e --- /dev/null +++ b/.yarn/cache/json5-npm-2.2.3-9962c55073-2a7436a933.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ca8a814b2f1584a3a7c0301e0836d01336eff31c49fc64dfa9b9dede0f720575 +size 60244 diff --git a/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip b/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip new file mode 100644 index 00000000..da147b8e --- /dev/null +++ b/.yarn/cache/lru-cache-npm-5.1.1-f475882a51-c154ae1cbb.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62f845ba19707faf876bb5a3c41f895d7efaa185cca6f8a518740b404dad3c02 +size 6628 diff --git a/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip b/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip new file mode 100644 index 00000000..5dd46fcf --- /dev/null +++ b/.yarn/cache/node-releases-npm-2.0.13-1f2e177887-17ec8f315d.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:69d0adcaa035a6ca38daf417fbf5b2cf57addbee9b962416e5830bcb402f968f +size 5661 diff --git a/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip b/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip new file mode 100644 index 00000000..9646a124 --- /dev/null +++ b/.yarn/cache/picocolors-npm-1.0.0-d81e0b1927-a2e8092dd8.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ea6edfe62564f2987fb4b379ba1f7b74f4f3415913cc785150da7615dbcdebcb +size 3741 diff --git a/.yarn/cache/regenerator-runtime-npm-0.13.8-0450f887d6-5f89699ab5.zip b/.yarn/cache/regenerator-runtime-npm-0.13.8-0450f887d6-5f89699ab5.zip deleted file mode 100644 index a7e1acab..00000000 --- a/.yarn/cache/regenerator-runtime-npm-0.13.8-0450f887d6-5f89699ab5.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:715350f565e29022ef36be31cce475e9118577e74897e48e711794cf63491d16 -size 9536 diff --git a/.yarn/cache/regenerator-runtime-npm-0.14.0-e060897cf7-1c977ad82a.zip b/.yarn/cache/regenerator-runtime-npm-0.14.0-e060897cf7-1c977ad82a.zip new file mode 100644 index 00000000..88cc4c08 --- /dev/null +++ b/.yarn/cache/regenerator-runtime-npm-0.14.0-e060897cf7-1c977ad82a.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b4343b056bb58b891ab3a094b01e6df33b7d6e4cbc60f474eef025cb74626eb9 +size 9691 diff --git a/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip b/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip new file mode 100644 index 00000000..a2e6d5f5 --- /dev/null +++ b/.yarn/cache/semver-npm-6.3.1-bcba31fdbe-ae47d06de2.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:19f6e1e5c6453e67e854c5ad3c2abdd3173653461903160b263fef9960aa5834 +size 20538 diff --git a/.yarn/cache/source-map-npm-0.5.7-7c3f035429-5dc2043b93.zip b/.yarn/cache/source-map-npm-0.5.7-7c3f035429-5dc2043b93.zip deleted file mode 100644 index 45cccce0..00000000 --- a/.yarn/cache/source-map-npm-0.5.7-7c3f035429-5dc2043b93.zip +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0450bd08f87b31cdae68b15b390d70da7fb33b79e7db1701fa3fbfd9da95fae4 -size 197714 diff --git a/.yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip b/.yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip new file mode 100644 index 00000000..e7256897 --- /dev/null +++ b/.yarn/cache/update-browserslist-db-npm-1.0.13-ea7b8ee24d-1e47d80182.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cf052a64a0917885db3cc0b930952742f15546e96f69bdb52b43f791c42b807a +size 6729 diff --git a/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip b/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip new file mode 100644 index 00000000..178a0b73 --- /dev/null +++ b/.yarn/cache/yallist-npm-3.1.1-a568a556b4-48f7bb00dc.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43439ad784e8df692371398fa1961e0b22a29cdd834befd1bec69943178af124 +size 5374 diff --git a/CHANGELOG.md b/CHANGELOG.md index ca578235..7c2f7832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,15 +6,12 @@ and this project adheres to ## [Unreleased] -### Fixed - -- @cosmjs/stargate: Add missing memo field to Amino JSON representation of - `MsgTransfer` and adapt converters. ([#1456]) - -[#1456]: https://github.com/cosmos/cosmjs/issues/1429 - ### Changed +- all: Upgrade cosmjs-types to 0.9.0. This makes a few fields non-optional. It + changes all 64 bit int fields from type `long` to `bigint`. As part of the + upgrade, the types do not require the `long` and `protobufjs` anymore. + ([#1484]) - Drop support for Node.js 14 and add support for Node.js 20. ([#1421]) - @cosmjs/tendermint-rpc: Remove `Adaptor` abstractions which are not needed anymore by haing a dedicated client for each backend. @@ -23,12 +20,31 @@ and this project adheres to `connectComet` for auto-detecting the right client for a provided endpoint. [#1421]: https://github.com/cosmos/cosmjs/issues/1421 +[#1484]: https://github.com/cosmos/cosmjs/pull/1484 ### Deprecated - @cosmjs/tendermint-rpc: `CometClient` should be used instead of `TendermintClient`. +## [0.31.3] - 2023-10-25 + +### Fixed + +- @cosmjs/stargate: Add missing memo field to `fromAmino` implementation for + `MsgTransfer`. ([#1493]) + +[#1493]: https://github.com/cosmos/cosmjs/issues/1493 + +## [0.31.2] - 2023-10-24 + +### Fixed + +- @cosmjs/stargate: Add missing memo field to Amino JSON representation of + `MsgTransfer` and adapt converters. ([#1456]) + +[#1456]: https://github.com/cosmos/cosmjs/pull/1456 + ## [0.31.1] - 2023-08-21 ### Fixed @@ -1318,7 +1334,9 @@ CHANGELOG entries missing. Please see [the diff][0.24.1]. `FeeTable`. @cosmjs/cosmwasm has its own `FeeTable` with those properties. - @cosmjs/sdk38: Rename package to @cosmjs/launchpad. -[unreleased]: https://github.com/cosmos/cosmjs/compare/v0.31.1...HEAD +[unreleased]: https://github.com/cosmos/cosmjs/compare/v0.31.3...HEAD +[0.31.3]: https://github.com/cosmos/cosmjs/compare/v0.31.2...v0.31.3 +[0.31.2]: https://github.com/cosmos/cosmjs/compare/v0.31.1...v0.31.2 [0.31.1]: https://github.com/cosmos/cosmjs/compare/v0.31.0...v0.31.1 [0.31.0]: https://github.com/cosmos/cosmjs/compare/v0.30.1...v0.31.0 [0.30.1]: https://github.com/cosmos/cosmjs/compare/v0.30.0...v0.30.1 diff --git a/packages/amino/package.json b/packages/amino/package.json index cc25b61d..b82edf79 100644 --- a/packages/amino/package.json +++ b/packages/amino/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/amino", - "version": "0.31.1", + "version": "0.31.3", "description": "Helpers for Amino based signing.", "contributors": [ "Simon Warta " diff --git a/packages/cli/package.json b/packages/cli/package.json index b577d19e..17d820b5 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/cli", - "version": "0.31.1", + "version": "0.31.3", "description": "Command line interface", "contributors": [ "IOV SAS ", @@ -54,7 +54,7 @@ "axios": "^0.21.2", "babylon": "^6.18.0", "chalk": "^4", - "cosmjs-types": "^0.8.0", + "cosmjs-types": "^0.9.0", "diff": "^4", "recast": "^0.20", "ts-node": "^8", diff --git a/packages/cosmwasm-stargate/package.json b/packages/cosmwasm-stargate/package.json index cc7b29a3..99743e43 100644 --- a/packages/cosmwasm-stargate/package.json +++ b/packages/cosmwasm-stargate/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/cosmwasm-stargate", - "version": "0.31.1", + "version": "0.31.3", "description": "CosmWasm SDK", "contributors": [ "Will Clark " @@ -46,8 +46,7 @@ "@cosmjs/stargate": "workspace:^", "@cosmjs/tendermint-rpc": "workspace:^", "@cosmjs/utils": "workspace:^", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0", + "cosmjs-types": "^0.9.0", "pako": "^2.0.2" }, "devDependencies": { @@ -79,7 +78,6 @@ "karma-jasmine-html-reporter": "^1.5.4", "nyc": "^15.1.0", "prettier": "^2.8.1", - "protobufjs": "~6.11.4", "readonly-date": "^1.0.0", "ses": "^0.11.0", "source-map-support": "^0.5.19", diff --git a/packages/cosmwasm-stargate/src/cosmwasmclient.ts b/packages/cosmwasm-stargate/src/cosmwasmclient.ts index 7c31dd3e..7a825196 100644 --- a/packages/cosmwasm-stargate/src/cosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/cosmwasmclient.ts @@ -339,7 +339,7 @@ export class CosmWasmClient { return allCodes.map((entry: CodeInfoResponse): Code => { assert(entry.creator && entry.codeId && entry.dataHash, "entry incomplete"); return { - id: entry.codeId.toNumber(), + id: Number(entry.codeId), creator: entry.creator, checksum: toHex(entry.dataHash), }; @@ -356,7 +356,7 @@ export class CosmWasmClient { "codeInfo missing or incomplete", ); const codeDetails: CodeDetails = { - id: codeInfo.codeId.toNumber(), + id: Number(codeInfo.codeId), creator: codeInfo.creator, checksum: toHex(codeInfo.dataHash), data: data, @@ -413,7 +413,7 @@ export class CosmWasmClient { assert(contractInfo.codeId && contractInfo.creator && contractInfo.label, "contractInfo incomplete"); return { address: retrievedAddress, - codeId: contractInfo.codeId.toNumber(), + codeId: Number(contractInfo.codeId), creator: contractInfo.creator, admin: contractInfo.admin || undefined, label: contractInfo.label, @@ -436,7 +436,7 @@ export class CosmWasmClient { assert(entry.operation && entry.codeId && entry.msg); return { operation: operations[entry.operation], - codeId: entry.codeId.toNumber(), + codeId: Number(entry.codeId), msg: JSON.parse(fromUtf8(entry.msg)), }; }); diff --git a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.spec.ts b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.spec.ts index ffa7bbbd..a9413a32 100644 --- a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.spec.ts +++ b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.spec.ts @@ -11,7 +11,6 @@ import { MsgUpdateAdmin, } from "cosmjs-types/cosmwasm/wasm/v1/tx"; import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; -import Long from "long"; import { AminoMsgClearAdmin, @@ -27,11 +26,10 @@ import { describe("AminoTypes", () => { describe("toAmino", () => { it("works for MsgStoreCode", () => { - const msg: MsgStoreCode = { + const msg = MsgStoreCode.fromPartial({ sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), - instantiatePermission: undefined, - }; + }); const aminoMsg = new AminoTypes(createWasmAminoConverters()).toAmino({ typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", value: msg, @@ -81,7 +79,7 @@ describe("AminoTypes", () => { { const msg: MsgInstantiateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -109,7 +107,7 @@ describe("AminoTypes", () => { { const msg: MsgInstantiateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -139,7 +137,7 @@ describe("AminoTypes", () => { { const msg: MsgInstantiateContract2 = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -171,7 +169,7 @@ describe("AminoTypes", () => { { const msg: MsgInstantiateContract2 = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -267,7 +265,7 @@ describe("AminoTypes", () => { const msg: MsgMigrateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", contract: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", - codeId: Long.fromString("98765"), + codeId: BigInt("98765"), msg: toUtf8(`{"foo":"bar"}`), }; const aminoMsg = new AminoTypes(createWasmAminoConverters()).toAmino({ @@ -297,11 +295,10 @@ describe("AminoTypes", () => { }, }; const msg = new AminoTypes(createWasmAminoConverters()).fromAmino(aminoMsg); - const expectedValue: MsgStoreCode = { + const expectedValue = MsgStoreCode.fromPartial({ sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", wasmByteCode: fromBase64("WUVMTE9XIFNVQk1BUklORQ=="), - instantiatePermission: undefined, - }; + }); expect(msg).toEqual({ typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", value: expectedValue, @@ -354,7 +351,7 @@ describe("AminoTypes", () => { const msg = new AminoTypes(createWasmAminoConverters()).fromAmino(aminoMsg); const expectedValue: MsgInstantiateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -381,7 +378,7 @@ describe("AminoTypes", () => { const msg = new AminoTypes(createWasmAminoConverters()).fromAmino(aminoMsg); const expectedValue: MsgInstantiateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", - codeId: Long.fromString("12345"), + codeId: BigInt("12345"), label: "sticky", msg: toUtf8(`{"foo":"bar"}`), funds: coins(1234, "ucosm"), @@ -471,7 +468,7 @@ describe("AminoTypes", () => { const expectedValue: MsgMigrateContract = { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", contract: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", - codeId: Long.fromString("98765"), + codeId: BigInt("98765"), msg: toUtf8(`{"foo":"bar"}`), }; expect(msg).toEqual({ diff --git a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts index 0bb180b6..c4e1adb8 100644 --- a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts +++ b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts @@ -10,8 +10,7 @@ import { MsgStoreCode, MsgUpdateAdmin, } from "cosmjs-types/cosmwasm/wasm/v1/tx"; -import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; -import Long from "long"; +import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; export function accessTypeFromString(str: string): AccessType { switch (str) { @@ -51,7 +50,7 @@ export function accessTypeToString(object: any): string { /** * @see https://github.com/CosmWasm/wasmd/blob/v0.18.0-rc1/proto/cosmwasm/wasm/v1/types.proto#L36-L41 */ -export interface AccessConfig { +export interface AminoAccessConfig { /** * Permission should be one kind of string 'Nobody', 'OnlyAddress', 'Everybody', 'AnyOfAddresses', 'Unspecified' * @see https://github.com/CosmWasm/wasmd/blob/v0.31.0/x/wasm/types/params.go#L54 @@ -77,7 +76,7 @@ export interface AminoMsgStoreCode { readonly sender: string; /** Base64 encoded Wasm */ readonly wasm_byte_code: string; - readonly instantiate_permission?: AccessConfig; + readonly instantiate_permission?: AminoAccessConfig; }; } @@ -226,11 +225,11 @@ export function createWasmAminoConverters(): AminoConverters { sender: sender, wasmByteCode: fromBase64(wasm_byte_code), instantiatePermission: instantiate_permission - ? { + ? AccessConfig.fromPartial({ permission: accessTypeFromString(instantiate_permission.permission), address: instantiate_permission.address ?? "", addresses: instantiate_permission.addresses ?? [], - } + }) : undefined, }), }, @@ -260,7 +259,7 @@ export function createWasmAminoConverters(): AminoConverters { admin, }: AminoMsgInstantiateContract["value"]): MsgInstantiateContract => ({ sender: sender, - codeId: Long.fromString(code_id), + codeId: BigInt(code_id), label: label, msg: toUtf8(JSON.stringify(msg)), funds: [...funds], @@ -299,7 +298,7 @@ export function createWasmAminoConverters(): AminoConverters { fix_msg, }: AminoMsgInstantiateContract2["value"]): MsgInstantiateContract2 => ({ sender: sender, - codeId: Long.fromString(code_id), + codeId: BigInt(code_id), label: label, msg: toUtf8(JSON.stringify(msg)), funds: [...funds], @@ -368,7 +367,7 @@ export function createWasmAminoConverters(): AminoConverters { }: AminoMsgMigrateContract["value"]): MsgMigrateContract => ({ sender: sender, contract: contract, - codeId: Long.fromString(code_id), + codeId: BigInt(code_id), msg: toUtf8(JSON.stringify(msg)), }), }, diff --git a/packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts b/packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts index 15296bbe..84e944fc 100644 --- a/packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts +++ b/packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts @@ -14,7 +14,6 @@ import { import { assert, assertDefined } from "@cosmjs/utils"; import { MsgExecuteContract, MsgInstantiateContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; import { AbsoluteTxPosition, ContractCodeHistoryOperationType } from "cosmjs-types/cosmwasm/wasm/v1/types"; -import Long from "long"; import { SigningCosmWasmClient } from "../../signingcosmwasmclient"; import { @@ -74,7 +73,7 @@ async function instantiateContract( typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", value: MsgInstantiateContract.fromPartial({ sender: alice.address0, - codeId: Long.fromNumber(codeId), + codeId: BigInt(codeId), label: "my escrow", msg: toUtf8( JSON.stringify({ @@ -161,7 +160,7 @@ describe("WasmExtension", () => { const { codeInfos } = await client.wasm.listCodeInfo(); assert(codeInfos); const lastCode = codeInfos[codeInfos.length - 1]; - expect(lastCode.codeId.toNumber()).toEqual(hackatomCodeId); + expect(Number(lastCode.codeId)).toEqual(hackatomCodeId); expect(lastCode.creator).toEqual(alice.address0); expect(toHex(lastCode.dataHash)).toEqual(toHex(sha256(hackatom.data))); }); @@ -174,7 +173,7 @@ describe("WasmExtension", () => { const client = await makeWasmClient(wasmd.endpoint); const { codeInfo, data } = await client.wasm.getCode(hackatomCodeId); assert(codeInfo); - expect(codeInfo.codeId.toNumber()).toEqual(hackatomCodeId); + expect(Number(codeInfo.codeId)).toEqual(hackatomCodeId); expect(codeInfo.creator).toEqual(alice.address0); expect(toHex(codeInfo.dataHash)).toEqual(toHex(sha256(hackatom.data))); expect(data).toEqual(hackatom.data); @@ -213,18 +212,20 @@ describe("WasmExtension", () => { const { contractInfo } = await client.wasm.getContractInfo(myAddress); assert(contractInfo); - expect(contractInfo).toEqual({ - codeId: Long.fromNumber(hackatomCodeId, true), - creator: alice.address0, - label: "my escrow", - admin: "", - ibcPortId: "", - created: AbsoluteTxPosition.fromPartial({ - blockHeight: Long.fromNumber(instantiateResult.height, true), - txIndex: Long.UZERO, + expect(contractInfo).toEqual( + jasmine.objectContaining({ + codeId: BigInt(hackatomCodeId), + creator: alice.address0, + label: "my escrow", + admin: "", + ibcPortId: "", + created: AbsoluteTxPosition.fromPartial({ + blockHeight: BigInt(instantiateResult.height), + txIndex: BigInt(0), + }), + extension: undefined, }), - extension: undefined, - }); + ); expect(contractInfo.admin).toEqual(""); }); @@ -261,7 +262,7 @@ describe("WasmExtension", () => { assert(history.entries); expect(history.entries).toContain( jasmine.objectContaining({ - codeId: Long.fromNumber(hackatomCodeId, true), + codeId: BigInt(hackatomCodeId), operation: ContractCodeHistoryOperationType.CONTRACT_CODE_HISTORY_OPERATION_TYPE_INIT, msg: toUtf8( JSON.stringify({ diff --git a/packages/cosmwasm-stargate/src/modules/wasm/queries.ts b/packages/cosmwasm-stargate/src/modules/wasm/queries.ts index 35bca8af..a0f5c25e 100644 --- a/packages/cosmwasm-stargate/src/modules/wasm/queries.ts +++ b/packages/cosmwasm-stargate/src/modules/wasm/queries.ts @@ -3,15 +3,16 @@ import { createPagination, createProtobufRpcClient, QueryClient } from "@cosmjs/ import { QueryAllContractStateResponse, QueryClientImpl, + QueryCodeRequest, QueryCodeResponse, QueryCodesResponse, QueryContractHistoryResponse, QueryContractInfoResponse, + QueryContractsByCodeRequest, QueryContractsByCodeResponse, QueryContractsByCreatorResponse, QueryRawContractStateResponse, } from "cosmjs-types/cosmwasm/wasm/v1/query"; -import Long from "long"; /** * An object containing a parsed JSON document. The result of JSON.parse(). @@ -88,14 +89,14 @@ export function setupWasmExtension(base: QueryClient): WasmExtension { return queryService.Codes(request); }, getCode: async (id: number) => { - const request = { codeId: Long.fromNumber(id) }; + const request = QueryCodeRequest.fromPartial({ codeId: BigInt(id) }); return queryService.Code(request); }, listContractsByCodeId: async (id: number, paginationKey?: Uint8Array) => { - const request = { - codeId: Long.fromNumber(id), + const request = QueryContractsByCodeRequest.fromPartial({ + codeId: BigInt(id), pagination: createPagination(paginationKey), - }; + }); return queryService.ContractsByCode(request); }, listContractsByCreator: async (creator: string, paginationKey?: Uint8Array) => { diff --git a/packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts b/packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts index 131be57d..1f50c162 100644 --- a/packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts +++ b/packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts @@ -15,15 +15,14 @@ import { } from "@cosmjs/stargate"; import { assert, sleep } from "@cosmjs/utils"; import { DeepPartial } from "cosmjs-types"; +import { BinaryWriter } from "cosmjs-types/binary"; import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx"; import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { MsgExecuteContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx"; import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types"; -import Long from "long"; import pako from "pako"; -import protobuf from "protobufjs/minimal"; import { instantiate2Address } from "./instantiate2"; import { MsgExecuteContractEncodeObject, MsgStoreCodeEncodeObject } from "./modules"; @@ -481,7 +480,7 @@ describe("SigningCosmWasmClient", () => { assert(contractInfo2); expect({ ...contractInfo2 }).toEqual({ ...contractInfo1, - codeId: Long.fromNumber(codeId2, true), + codeId: BigInt(codeId2), }); client.disconnect(); @@ -526,7 +525,7 @@ describe("SigningCosmWasmClient", () => { assert(contractInfo2); expect({ ...contractInfo2 }).toEqual({ ...contractInfo1, - codeId: Long.fromNumber(codeId2, true), + codeId: BigInt(codeId2), }); client.disconnect(); @@ -879,7 +878,7 @@ describe("SigningCosmWasmClient", () => { // From ModifyingDirectSecp256k1HdWallet expect(tx.body.memo).toEqual("This was modified"); expect({ ...tx.authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(tx.authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(Number(tx.authInfo.fee!.gasLimit)).toEqual(333333); client.disconnect(); }); @@ -949,11 +948,10 @@ describe("SigningCosmWasmClient", () => { }); const { data } = getHackatom(); - const msgStoreCode: MsgStoreCode = { + const msgStoreCode = MsgStoreCode.fromPartial({ sender: alice.address0, wasmByteCode: pako.gzip(data), - instantiatePermission: undefined, - }; + }); const msgAny: MsgStoreCodeEncodeObject = { typeUrl: "/cosmwasm.wasm.v1.MsgStoreCode", value: msgStoreCode, @@ -985,11 +983,9 @@ describe("SigningCosmWasmClient", () => { customValidatorAddress: "", }; const CustomMsgDelegate = { + typeUrl: "foobar", // Adapted from autogenerated MsgDelegate implementation - encode( - message: CustomMsgDelegate, - writer: protobuf.Writer = protobuf.Writer.create(), - ): protobuf.Writer { + encode(message: CustomMsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { writer.uint32(10).string(message.customDelegatorAddress ?? ""); writer.uint32(18).string(message.customValidatorAddress ?? ""); if (message.customAmount !== undefined) { @@ -1118,7 +1114,7 @@ describe("SigningCosmWasmClient", () => { // From ModifyingSecp256k1HdWallet expect(tx.body.memo).toEqual("This was modified"); expect({ ...tx.authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(tx.authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(Number(tx.authInfo.fee!.gasLimit)).toEqual(333333); client.disconnect(); }); @@ -1187,7 +1183,7 @@ describe("SigningCosmWasmClient", () => { // From ModifyingDirectSecp256k1HdWallet expect(body.memo).toEqual("This was modified"); expect({ ...authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(Number(authInfo.fee!.gasLimit)).toEqual(333333); // ensure signature is valid const result = await client.broadcastTx(Uint8Array.from(TxRaw.encode(signed).finish())); @@ -1313,11 +1309,9 @@ describe("SigningCosmWasmClient", () => { customValidatorAddress: "", }; const CustomMsgDelegate = { + typeUrl: "foobar", // Adapted from autogenerated MsgDelegate implementation - encode( - message: CustomMsgDelegate, - writer: protobuf.Writer = protobuf.Writer.create(), - ): protobuf.Writer { + encode(message: CustomMsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { writer.uint32(10).string(message.customDelegatorAddress ?? ""); writer.uint32(18).string(message.customValidatorAddress ?? ""); if (message.customAmount !== undefined && message.customAmount !== undefined) { @@ -1443,7 +1437,7 @@ describe("SigningCosmWasmClient", () => { // From ModifyingSecp256k1HdWallet expect(body.memo).toEqual("This was modified"); expect({ ...authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(Number(authInfo.fee!.gasLimit)).toEqual(333333); // ensure signature is valid const result = await client.broadcastTx(Uint8Array.from(TxRaw.encode(signed).finish())); diff --git a/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts b/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts index e277ed04..9627cf9d 100644 --- a/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts +++ b/packages/cosmwasm-stargate/src/signingcosmwasmclient.ts @@ -47,7 +47,6 @@ import { MsgUpdateAdmin, } from "cosmjs-types/cosmwasm/wasm/v1/tx"; import { AccessConfig } from "cosmjs-types/cosmwasm/wasm/v1/types"; -import Long from "long"; import pako from "pako"; import { CosmWasmClient } from "./cosmwasmclient"; @@ -317,7 +316,7 @@ export class SigningCosmWasmClient extends CosmWasmClient { typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract", value: MsgInstantiateContract.fromPartial({ sender: senderAddress, - codeId: Long.fromString(new Uint53(codeId).toString()), + codeId: BigInt(new Uint53(codeId).toString()), label: label, msg: toUtf8(JSON.stringify(msg)), funds: [...(options.funds || [])], @@ -354,7 +353,7 @@ export class SigningCosmWasmClient extends CosmWasmClient { typeUrl: "/cosmwasm.wasm.v1.MsgInstantiateContract2", value: MsgInstantiateContract2.fromPartial({ sender: senderAddress, - codeId: Long.fromString(new Uint53(codeId).toString()), + codeId: BigInt(new Uint53(codeId).toString()), label: label, msg: toUtf8(JSON.stringify(msg)), funds: [...(options.funds || [])], @@ -449,7 +448,7 @@ export class SigningCosmWasmClient extends CosmWasmClient { value: MsgMigrateContract.fromPartial({ sender: senderAddress, contract: contractAddress, - codeId: Long.fromString(new Uint53(codeId).toString()), + codeId: BigInt(new Uint53(codeId).toString()), msg: toUtf8(JSON.stringify(migrateMsg)), }), }; diff --git a/packages/cosmwasm-stargate/src/testutils.spec.ts b/packages/cosmwasm-stargate/src/testutils.spec.ts index bdbe43ee..d246bd83 100644 --- a/packages/cosmwasm-stargate/src/testutils.spec.ts +++ b/packages/cosmwasm-stargate/src/testutils.spec.ts @@ -19,6 +19,7 @@ import { setupBankExtension, } from "@cosmjs/stargate"; import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; +import { assertDefinedAndNotNull } from "@cosmjs/utils"; import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { AuthInfo, SignDoc, TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx"; @@ -219,10 +220,13 @@ export class ModifyingDirectSecp256k1HdWallet extends DirectSecp256k1HdWallet { memo: "This was modified", }); const authInfo = AuthInfo.decode(signDoc.authInfoBytes); - const signers = authInfo.signerInfos.map((signerInfo) => ({ - pubkey: signerInfo.publicKey!, - sequence: signerInfo.sequence.toNumber(), - })); + const signers = authInfo.signerInfos.map((signerInfo) => { + assertDefinedAndNotNull(signerInfo.publicKey); + return { + pubkey: signerInfo.publicKey, + sequence: Number(signerInfo.sequence), + }; + }); const modifiedFeeAmount = coins(3000, "ucosm"); const modifiedGasLimit = 333333; const modifiedFeeGranter = undefined; diff --git a/packages/crypto/package.json b/packages/crypto/package.json index a69fceb7..3be693be 100644 --- a/packages/crypto/package.json +++ b/packages/crypto/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/crypto", - "version": "0.31.1", + "version": "0.31.3", "description": "Cryptography resources for blockchain projects", "contributors": [ "IOV SAS ", diff --git a/packages/encoding/package.json b/packages/encoding/package.json index ca792ffa..681000bd 100644 --- a/packages/encoding/package.json +++ b/packages/encoding/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/encoding", - "version": "0.31.1", + "version": "0.31.3", "description": "Encoding helpers for blockchain projects", "contributors": [ "IOV SAS " diff --git a/packages/faucet-client/package.json b/packages/faucet-client/package.json index 52a32b34..77801e48 100644 --- a/packages/faucet-client/package.json +++ b/packages/faucet-client/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/faucet-client", - "version": "0.31.1", + "version": "0.31.3", "description": "The faucet client", "contributors": [ "Will Clark " diff --git a/packages/faucet/package.json b/packages/faucet/package.json index 24be6040..5900b96b 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/faucet", - "version": "0.31.1", + "version": "0.31.3", "description": "The faucet", "contributors": [ "Ethan Frey ", diff --git a/packages/json-rpc/package.json b/packages/json-rpc/package.json index 974ec85e..2cbb8135 100644 --- a/packages/json-rpc/package.json +++ b/packages/json-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/json-rpc", - "version": "0.31.1", + "version": "0.31.3", "description": "Framework for implementing a JSON-RPC 2.0 API", "contributors": [ "IOV SAS ", diff --git a/packages/ledger-amino/package.json b/packages/ledger-amino/package.json index 6d24b388..74fb7ac5 100644 --- a/packages/ledger-amino/package.json +++ b/packages/ledger-amino/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/ledger-amino", - "version": "0.31.1", + "version": "0.31.3", "description": "A library for signing Amino-encoded transactions using Ledger devices", "contributors": [ "Will Clark " diff --git a/packages/math/package.json b/packages/math/package.json index 128f547a..e9bab109 100644 --- a/packages/math/package.json +++ b/packages/math/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/math", - "version": "0.31.1", + "version": "0.31.3", "description": "Math helpers for blockchain projects", "contributors": [ "IOV SAS " diff --git a/packages/proto-signing/package.json b/packages/proto-signing/package.json index 397ac262..62ff5aeb 100644 --- a/packages/proto-signing/package.json +++ b/packages/proto-signing/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/proto-signing", - "version": "0.31.1", + "version": "0.31.3", "description": "Utilities for protobuf based signing (Cosmos SDK 0.40+)", "contributors": [ "Will Clark ", @@ -44,8 +44,7 @@ "@cosmjs/encoding": "workspace:^", "@cosmjs/math": "workspace:^", "@cosmjs/utils": "workspace:^", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0" + "cosmjs-types": "^0.9.0" }, "devDependencies": { "@istanbuljs/nyc-config-typescript": "^1.0.1", diff --git a/packages/proto-signing/src/decode.spec.ts b/packages/proto-signing/src/decode.spec.ts index e4f39cfa..912fde9d 100644 --- a/packages/proto-signing/src/decode.spec.ts +++ b/packages/proto-signing/src/decode.spec.ts @@ -3,7 +3,6 @@ import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys"; import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { decodeTxRaw } from "./decode"; import { faucet, testVectors } from "./testutils.spec"; @@ -46,11 +45,11 @@ describe("decode", () => { }, multi: undefined, }, - sequence: Long.UZERO, + sequence: BigInt(0), }, ], fee: { - gasLimit: Long.fromNumber(200000, true), + gasLimit: BigInt(200000), payer: "", granter: "", amount: [{ amount: "2000", denom: "ucosm" }], @@ -58,7 +57,7 @@ describe("decode", () => { }), body: { memo: "", - timeoutHeight: Long.UZERO, + timeoutHeight: BigInt(0), messages: [expectedMsg], extensionOptions: [], nonCriticalExtensionOptions: [], diff --git a/packages/proto-signing/src/index.ts b/packages/proto-signing/src/index.ts index c34d0ff7..9c25e61a 100644 --- a/packages/proto-signing/src/index.ts +++ b/packages/proto-signing/src/index.ts @@ -8,7 +8,7 @@ export { } from "./directsecp256k1hdwallet"; export { DirectSecp256k1Wallet } from "./directsecp256k1wallet"; export { makeCosmoshubPath } from "./paths"; -export { anyToSinglePubkey, decodePubkey, encodePubkey } from "./pubkey"; +export { anyToSinglePubkey, decodeOptionalPubkey, decodePubkey, encodePubkey } from "./pubkey"; export { DecodeObject, EncodeObject, diff --git a/packages/proto-signing/src/pubkey.ts b/packages/proto-signing/src/pubkey.ts index 8fc935f9..8ccaa943 100644 --- a/packages/proto-signing/src/pubkey.ts +++ b/packages/proto-signing/src/pubkey.ts @@ -97,6 +97,30 @@ export function decodePubkey(pubkey: Any): Pubkey { return out; } default: - throw new Error(`Pubkey type_url ${pubkey.typeUrl} not recognized`); + throw new Error(`Pubkey type URL '${pubkey.typeUrl}' not recognized`); + } +} + +/** + * Decodes an optional pubkey from a protobuf `Any` into `Pubkey | null`. + * This supports single pubkeys such as Cosmos ed25519 and secp256k1 keys + * as well as multisig threshold pubkeys. + */ +export function decodeOptionalPubkey(pubkey: Any | null | undefined): Pubkey | null { + if (!pubkey) return null; + if (pubkey.typeUrl) { + if (pubkey.value.length) { + // both set + return decodePubkey(pubkey); + } else { + throw new Error(`Pubkey is an Any with type URL '${pubkey.typeUrl}' but an empty value`); + } + } else { + if (pubkey.value.length) { + throw new Error(`Pubkey is an Any with an empty type URL but a value set`); + } else { + // both unset, assuming this empty instance means null + return null; + } } } diff --git a/packages/proto-signing/src/registry.spec.ts b/packages/proto-signing/src/registry.spec.ts index 1cdda7de..750be145 100644 --- a/packages/proto-signing/src/registry.spec.ts +++ b/packages/proto-signing/src/registry.spec.ts @@ -4,7 +4,6 @@ import { assert } from "@cosmjs/utils"; import { MsgSend as IMsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { Field, Type } from "protobufjs"; import { isPbjsGeneratedType, isTsProtoGeneratedType, Registry } from "./registry"; @@ -36,7 +35,7 @@ describe("registry demo", () => { const txBody = TxBody.fromPartial({ messages: [msgSendWrapped], memo: "Some memo", - timeoutHeight: Long.fromNumber(9999), + timeoutHeight: BigInt(9999), extensionOptions: [], }); const txBodyBytes = TxBody.encode(txBody).finish(); @@ -84,7 +83,7 @@ describe("registry demo", () => { const txBody = TxBody.fromPartial({ messages: [msgDemoWrapped], memo: "Some memo", - timeoutHeight: Long.fromNumber(9999), + timeoutHeight: BigInt(9999), extensionOptions: [], }); const txBodyBytes = TxBody.encode(txBody).finish(); diff --git a/packages/proto-signing/src/registry.ts b/packages/proto-signing/src/registry.ts index 503f7abe..e75ffdbd 100644 --- a/packages/proto-signing/src/registry.ts +++ b/packages/proto-signing/src/registry.ts @@ -1,11 +1,29 @@ /* eslint-disable @typescript-eslint/naming-convention */ +import { BinaryWriter } from "cosmjs-types/binary"; import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import type protobuf from "protobufjs"; +/** + * A type generated by Telescope 1.0. + */ +export interface TelescopeGeneratedType { + /** This may or may not exist depending on the code generator settings. Don't rely on it. */ + readonly typeUrl?: string; + readonly encode: ( + message: + | any + | { + [k: string]: any; + }, + writer?: BinaryWriter, + ) => BinaryWriter; + readonly decode: (input: Uint8Array, length?: number) => any; + readonly fromPartial: (object: any) => any; +} + /** * A type generated by [ts-proto](https://github.com/stephenh/ts-proto). */ @@ -30,7 +48,12 @@ export interface PbjsGeneratedType { readonly decode: (reader: protobuf.Reader | Uint8Array, length?: number) => any; } -export type GeneratedType = TsProtoGeneratedType | PbjsGeneratedType; +export type GeneratedType = TelescopeGeneratedType | TsProtoGeneratedType | PbjsGeneratedType; + +export function isTelescopeGeneratedType(type: GeneratedType): type is TelescopeGeneratedType { + const casted = type as TelescopeGeneratedType; + return typeof casted.fromPartial === "function" && typeof casted.typeUrl == "string"; +} export function isTsProtoGeneratedType(type: GeneratedType): type is TsProtoGeneratedType { return typeof (type as TsProtoGeneratedType).fromPartial === "function"; @@ -60,7 +83,7 @@ export interface EncodeObject { interface TxBodyValue { readonly messages: readonly EncodeObject[]; readonly memo?: string; - readonly timeoutHeight?: Long; + readonly timeoutHeight?: bigint; readonly extensionOptions?: Any[]; readonly nonCriticalExtensionOptions?: Any[]; } @@ -144,7 +167,10 @@ export class Registry { return this.encodeTxBody(value); } const type = this.lookupTypeWithError(typeUrl); - const instance = isTsProtoGeneratedType(type) ? type.fromPartial(value) : type.create(value); + const instance = + isTelescopeGeneratedType(type) || isTsProtoGeneratedType(type) + ? type.fromPartial(value) + : type.create(value); return type.encode(instance).finish(); } @@ -164,6 +190,7 @@ export class Registry { const wrappedMessages = txBodyFields.messages.map((message) => this.encodeAsAny(message)); const txBody = TxBody.fromPartial({ ...txBodyFields, + timeoutHeight: BigInt(txBodyFields.timeoutHeight?.toString() ?? "0"), messages: wrappedMessages, }); return TxBody.encode(txBody).finish(); diff --git a/packages/proto-signing/src/signing.ts b/packages/proto-signing/src/signing.ts index 985b89b2..e37220dd 100644 --- a/packages/proto-signing/src/signing.ts +++ b/packages/proto-signing/src/signing.ts @@ -4,7 +4,6 @@ import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { AuthInfo, SignDoc, SignerInfo } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; /** * Create signer infos from the provided signers. @@ -12,7 +11,7 @@ import Long from "long"; * This implementation does not support different signing modes for the different signers. */ function makeSignerInfos( - signers: ReadonlyArray<{ readonly pubkey: Any; readonly sequence: number }>, + signers: ReadonlyArray<{ readonly pubkey: Any; readonly sequence: number | bigint }>, signMode: SignMode, ): SignerInfo[] { return signers.map( @@ -21,7 +20,7 @@ function makeSignerInfos( modeInfo: { single: { mode: signMode }, }, - sequence: Long.fromNumber(sequence), + sequence: BigInt(sequence), }), ); } @@ -32,7 +31,7 @@ function makeSignerInfos( * This implementation does not support different signing modes for the different signers. */ export function makeAuthInfoBytes( - signers: ReadonlyArray<{ readonly pubkey: Any; readonly sequence: number }>, + signers: ReadonlyArray<{ readonly pubkey: Any; readonly sequence: bigint | number }>, feeAmount: readonly Coin[], gasLimit: number, feeGranter: string | undefined, @@ -50,7 +49,7 @@ export function makeAuthInfoBytes( signerInfos: makeSignerInfos(signers, signMode), fee: { amount: [...feeAmount], - gasLimit: Long.fromNumber(gasLimit), + gasLimit: BigInt(gasLimit), granter: feeGranter, payer: feePayer, }, @@ -68,7 +67,7 @@ export function makeSignDoc( bodyBytes: bodyBytes, authInfoBytes: authInfoBytes, chainId: chainId, - accountNumber: Long.fromNumber(accountNumber), + accountNumber: BigInt(accountNumber), }; } diff --git a/packages/socket/package.json b/packages/socket/package.json index 62ec1ae0..10519cba 100644 --- a/packages/socket/package.json +++ b/packages/socket/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/socket", - "version": "0.31.1", + "version": "0.31.3", "description": "Utility functions for working with WebSockets", "contributors": [ "IOV SAS ", diff --git a/packages/stargate/package.json b/packages/stargate/package.json index 44b92d71..095a7ed0 100644 --- a/packages/stargate/package.json +++ b/packages/stargate/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/stargate", - "version": "0.31.1", + "version": "0.31.3", "description": "Utilities for Cosmos SDK 0.40", "contributors": [ "Simon Warta " @@ -46,9 +46,7 @@ "@cosmjs/stream": "workspace:^", "@cosmjs/tendermint-rpc": "workspace:^", "@cosmjs/utils": "workspace:^", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0", - "protobufjs": "~6.11.4", + "cosmjs-types": "^0.9.0", "xstream": "^11.14.0" }, "devDependencies": { diff --git a/packages/stargate/src/accounts.ts b/packages/stargate/src/accounts.ts index 77ca4f96..95a765ab 100644 --- a/packages/stargate/src/accounts.ts +++ b/packages/stargate/src/accounts.ts @@ -1,6 +1,6 @@ import { Pubkey } from "@cosmjs/amino"; import { Uint64 } from "@cosmjs/math"; -import { decodePubkey } from "@cosmjs/proto-signing"; +import { decodeOptionalPubkey } from "@cosmjs/proto-signing"; import { assert } from "@cosmjs/utils"; import { BaseAccount, ModuleAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth"; import { @@ -10,7 +10,6 @@ import { PeriodicVestingAccount, } from "cosmjs-types/cosmos/vesting/v1beta1/vesting"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; export interface Account { /** Bech32 account address */ @@ -20,13 +19,13 @@ export interface Account { readonly sequence: number; } -function uint64FromProto(input: number | Long): Uint64 { +function uint64FromProto(input: number | bigint): Uint64 { return Uint64.fromString(input.toString()); } function accountFromBaseAccount(input: BaseAccount): Account { const { address, pubKey, accountNumber, sequence } = input; - const pubkey = pubKey ? decodePubkey(pubKey) : null; + const pubkey = decodeOptionalPubkey(pubKey); return { address: address, pubkey: pubkey, diff --git a/packages/stargate/src/modules/auth/queries.spec.ts b/packages/stargate/src/modules/auth/queries.spec.ts index 6db9dd61..d4d96b61 100644 --- a/packages/stargate/src/modules/auth/queries.spec.ts +++ b/packages/stargate/src/modules/auth/queries.spec.ts @@ -4,7 +4,6 @@ import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; import { assert } from "@cosmjs/utils"; import { BaseAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { QueryClient } from "../../queryclient"; import { nonExistentAddress, pendingWithoutSimapp, simapp, unused, validator } from "../../testutils.spec"; @@ -26,12 +25,13 @@ describe("AuthExtension", () => { assert(account); expect(account.typeUrl).toEqual("/cosmos.auth.v1beta1.BaseAccount"); - expect(BaseAccount.decode(account.value)).toEqual({ - address: unused.address, - pubKey: undefined, - accountNumber: Long.fromNumber(unused.accountNumber, true), - sequence: Long.UZERO, - }); + expect(BaseAccount.decode(account.value)).toEqual( + jasmine.objectContaining({ + address: unused.address, + accountNumber: BigInt(unused.accountNumber), + sequence: BigInt(0), + }), + ); tmClient.disconnect(); }); @@ -46,8 +46,8 @@ describe("AuthExtension", () => { expect(BaseAccount.decode(account.value)).toEqual({ address: validator.delegatorAddress, pubKey: Any.fromPartial(encodePubkey(validator.pubkey)), - accountNumber: Long.UZERO, - sequence: Long.fromNumber(validator.sequence, true), + accountNumber: BigInt(0), + sequence: BigInt(validator.sequence), }); tmClient.disconnect(); diff --git a/packages/stargate/src/modules/bank/queries.ts b/packages/stargate/src/modules/bank/queries.ts index c631fe47..4ac41c01 100644 --- a/packages/stargate/src/modules/bank/queries.ts +++ b/packages/stargate/src/modules/bank/queries.ts @@ -1,7 +1,12 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { assert } from "@cosmjs/utils"; import { Metadata } from "cosmjs-types/cosmos/bank/v1beta1/bank"; -import { QueryClientImpl, QueryTotalSupplyResponse } from "cosmjs-types/cosmos/bank/v1beta1/query"; +import { + QueryAllBalancesRequest, + QueryClientImpl, + QueryDenomsMetadataRequest, + QueryTotalSupplyResponse, +} from "cosmjs-types/cosmos/bank/v1beta1/query"; import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient"; @@ -31,7 +36,9 @@ export function setupBankExtension(base: QueryClient): BankExtension { return balance; }, allBalances: async (address: string) => { - const { balances } = await queryService.AllBalances({ address: address }); + const { balances } = await queryService.AllBalances( + QueryAllBalancesRequest.fromPartial({ address: address }), + ); return balances; }, totalSupply: async (paginationKey?: Uint8Array) => { @@ -51,9 +58,11 @@ export function setupBankExtension(base: QueryClient): BankExtension { return metadata; }, denomsMetadata: async () => { - const { metadatas } = await queryService.DenomsMetadata({ - pagination: undefined, // Not implemented - }); + const { metadatas } = await queryService.DenomsMetadata( + QueryDenomsMetadataRequest.fromPartial({ + pagination: undefined, // Not implemented + }), + ); return metadatas; }, }, diff --git a/packages/stargate/src/modules/distribution/queries.ts b/packages/stargate/src/modules/distribution/queries.ts index d9271b5f..5a66ac9a 100644 --- a/packages/stargate/src/modules/distribution/queries.ts +++ b/packages/stargate/src/modules/distribution/queries.ts @@ -11,7 +11,6 @@ import { QueryValidatorOutstandingRewardsResponse, QueryValidatorSlashesResponse, } from "cosmjs-types/cosmos/distribution/v1beta1/query"; -import Long from "long"; import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient"; @@ -100,8 +99,8 @@ export function setupDistributionExtension(base: QueryClient): DistributionExten ) => { const response = await queryService.ValidatorSlashes({ validatorAddress: validatorAddress, - startingHeight: Long.fromNumber(startingHeight, true), - endingHeight: Long.fromNumber(endingHeight, true), + startingHeight: BigInt(startingHeight), + endingHeight: BigInt(endingHeight), pagination: createPagination(paginationKey), }); return response; diff --git a/packages/stargate/src/modules/gov/aminomessages.spec.ts b/packages/stargate/src/modules/gov/aminomessages.spec.ts index 28801529..d471543a 100644 --- a/packages/stargate/src/modules/gov/aminomessages.spec.ts +++ b/packages/stargate/src/modules/gov/aminomessages.spec.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { TextProposal, VoteOption } from "cosmjs-types/cosmos/gov/v1beta1/gov"; import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "cosmjs-types/cosmos/gov/v1beta1/tx"; -import Long from "long"; import { AminoTypes } from "../../aminotypes"; import { @@ -18,7 +17,7 @@ describe("AminoTypes", () => { const msg: MsgDeposit = { amount: [{ amount: "12300000", denom: "ustake" }], depositor: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), }; const aminoTypes = new AminoTypes(createGovAminoConverters()); const aminoMsg = aminoTypes.toAmino({ @@ -73,7 +72,7 @@ describe("AminoTypes", () => { it("works for MsgVote", () => { const msg: MsgVote = { option: VoteOption.VOTE_OPTION_NO_WITH_VETO, - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), voter: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", }; const aminoTypes = new AminoTypes(createGovAminoConverters()); @@ -94,7 +93,7 @@ describe("AminoTypes", () => { it("works for MsgVoteWeighted", () => { const msg: MsgVoteWeighted = { - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), voter: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", options: [ { option: VoteOption.VOTE_OPTION_NO_WITH_VETO, weight: "700000000000000000" /* 0.7 */ }, @@ -135,7 +134,7 @@ describe("AminoTypes", () => { const expectedValue: MsgDeposit = { amount: [{ amount: "12300000", denom: "ustake" }], depositor: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), }; expect(msg).toEqual({ typeUrl: "/cosmos.gov.v1beta1.MsgDeposit", @@ -188,7 +187,7 @@ describe("AminoTypes", () => { const msg = new AminoTypes(createGovAminoConverters()).fromAmino(aminoMsg); const expectedValue: MsgVote = { option: VoteOption.VOTE_OPTION_NO_WITH_VETO, - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), voter: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", }; expect(msg).toEqual({ @@ -211,7 +210,7 @@ describe("AminoTypes", () => { }; const msg = new AminoTypes(createGovAminoConverters()).fromAmino(aminoMsg); const expectedValue: MsgVoteWeighted = { - proposalId: Long.fromNumber(5), + proposalId: BigInt(5), voter: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", options: [ { option: VoteOption.VOTE_OPTION_NO_WITH_VETO, weight: "750000000000000000" }, diff --git a/packages/stargate/src/modules/gov/aminomessages.ts b/packages/stargate/src/modules/gov/aminomessages.ts index d364f468..9e4cd4fd 100644 --- a/packages/stargate/src/modules/gov/aminomessages.ts +++ b/packages/stargate/src/modules/gov/aminomessages.ts @@ -5,7 +5,6 @@ import { assert, assertDefinedAndNotNull, isNonNullObject } from "@cosmjs/utils" import { TextProposal, voteOptionFromJSON } from "cosmjs-types/cosmos/gov/v1beta1/gov"; import { MsgDeposit, MsgSubmitProposal, MsgVote, MsgVoteWeighted } from "cosmjs-types/cosmos/gov/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { AminoConverters } from "../../aminotypes"; import { decodeCosmosSdkDecFromProto } from "../../queryclient"; @@ -120,7 +119,7 @@ export function createGovAminoConverters(): AminoConverters { return { amount: Array.from(amount), depositor, - proposalId: Long.fromString(proposal_id), + proposalId: BigInt(proposal_id), }; }, }, @@ -136,7 +135,7 @@ export function createGovAminoConverters(): AminoConverters { fromAmino: ({ option, proposal_id, voter }: AminoMsgVote["value"]): MsgVote => { return { option: voteOptionFromJSON(option), - proposalId: Long.fromString(proposal_id), + proposalId: BigInt(proposal_id), voter: voter, }; }, @@ -157,7 +156,7 @@ export function createGovAminoConverters(): AminoConverters { }, fromAmino: ({ options, proposal_id, voter }: AminoMsgVoteWeighted["value"]): MsgVoteWeighted => { return { - proposalId: Long.fromString(proposal_id), + proposalId: BigInt(proposal_id), voter: voter, options: options.map((o) => ({ option: voteOptionFromJSON(o.option), diff --git a/packages/stargate/src/modules/gov/queries.spec.ts b/packages/stargate/src/modules/gov/queries.spec.ts index 80de9d86..6f0f557e 100644 --- a/packages/stargate/src/modules/gov/queries.spec.ts +++ b/packages/stargate/src/modules/gov/queries.spec.ts @@ -11,7 +11,6 @@ import { WeightedVoteOption, } from "cosmjs-types/cosmos/gov/v1beta1/gov"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { longify, QueryClient } from "../../queryclient"; import { SigningStargateClient } from "../../signingstargateclient"; @@ -161,7 +160,7 @@ describe("GovExtension", () => { depositParams: { minDeposit: simapp.govMinDeposit, maxDepositPeriod: { - seconds: Long.fromNumber(172800, false), + seconds: BigInt(172800), nanos: 0, }, }, @@ -199,7 +198,7 @@ describe("GovExtension", () => { jasmine.objectContaining({ votingParams: { votingPeriod: { - seconds: Long.fromNumber(172800, false), + seconds: BigInt(172800), nanos: 0, }, }, @@ -230,11 +229,11 @@ describe("GovExtension", () => { proposalId: longify(proposalId), status: ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD, finalTallyResult: { yes: "0", abstain: "0", no: "0", noWithVeto: "0" }, - submitTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, - depositEndTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, + submitTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, + depositEndTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, totalDeposit: initialDeposit, - votingStartTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, - votingEndTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, + votingStartTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, + votingEndTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, }); tmClient.disconnect(); @@ -256,11 +255,12 @@ describe("GovExtension", () => { proposalId: longify(proposalId), status: ProposalStatus.PROPOSAL_STATUS_VOTING_PERIOD, finalTallyResult: { yes: "0", abstain: "0", no: "0", noWithVeto: "0" }, - submitTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, - depositEndTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, + // Note: jasmine.any(Bigint) does not seem to work as expected in Jasmine 4.6 + submitTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, + depositEndTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, totalDeposit: initialDeposit, - votingStartTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, - votingEndTime: { seconds: jasmine.any(Long), nanos: jasmine.any(Number) }, + votingStartTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, + votingEndTime: { seconds: jasmine.anything(), nanos: jasmine.any(Number) }, }); tmClient.disconnect(); diff --git a/packages/stargate/src/modules/gov/queries.ts b/packages/stargate/src/modules/gov/queries.ts index 4c365066..688baaed 100644 --- a/packages/stargate/src/modules/gov/queries.ts +++ b/packages/stargate/src/modules/gov/queries.ts @@ -11,13 +11,12 @@ import { QueryVoteResponse, QueryVotesResponse, } from "cosmjs-types/cosmos/gov/v1beta1/query"; -import Long from "long"; import { createPagination, createProtobufRpcClient, longify, QueryClient } from "../../queryclient"; export type GovParamsType = "deposit" | "tallying" | "voting"; -export type GovProposalId = string | number | Long | Uint64; +export type GovProposalId = string | number | Uint64; export interface GovExtension { readonly gov: { diff --git a/packages/stargate/src/modules/ibc/aminomessages.spec.ts b/packages/stargate/src/modules/ibc/aminomessages.spec.ts index 420690cd..7035a27d 100644 --- a/packages/stargate/src/modules/ibc/aminomessages.spec.ts +++ b/packages/stargate/src/modules/ibc/aminomessages.spec.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { coin } from "@cosmjs/proto-signing"; import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx"; -import Long from "long"; import { AminoTypes } from "../../aminotypes"; import { AminoMsgTransfer, createIbcAminoConverters } from "./aminomessages"; @@ -16,10 +15,10 @@ describe("AminoTypes", () => { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", timeoutHeight: { - revisionHeight: Long.fromString("123", true), - revisionNumber: Long.fromString("456", true), + revisionHeight: BigInt("123"), + revisionNumber: BigInt("456"), }, - timeoutTimestamp: Long.fromString("789", true), + timeoutTimestamp: BigInt("789"), memo: "", }; const aminoTypes = new AminoTypes(createIbcAminoConverters()); @@ -54,10 +53,10 @@ describe("AminoTypes", () => { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", timeoutHeight: { - revisionHeight: Long.UZERO, - revisionNumber: Long.UZERO, + revisionHeight: BigInt(0), + revisionNumber: BigInt(0), }, - timeoutTimestamp: Long.UZERO, + timeoutTimestamp: BigInt(0), memo: "", }; const aminoTypes = new AminoTypes(createIbcAminoConverters()); @@ -85,16 +84,16 @@ describe("AminoTypes", () => { }); it("works for MsgTransfer with no height timeout", () => { - const msg: MsgTransfer = { + const msg = MsgTransfer.fromPartial({ sourcePort: "testport", sourceChannel: "testchannel", token: coin(1234, "utest"), sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", timeoutHeight: undefined, - timeoutTimestamp: Long.UZERO, + timeoutTimestamp: BigInt(0), memo: "", - }; + }); const aminoMsg = new AminoTypes(createIbcAminoConverters()).toAmino({ typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", value: msg, @@ -107,7 +106,10 @@ describe("AminoTypes", () => { token: coin(1234, "utest"), sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", - timeout_height: {}, + timeout_height: { + revision_number: undefined, + revision_height: undefined, + }, timeout_timestamp: undefined, memo: undefined, }, @@ -141,10 +143,10 @@ describe("AminoTypes", () => { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", timeoutHeight: { - revisionHeight: Long.fromString("123", true), - revisionNumber: Long.fromString("456", true), + revisionHeight: BigInt("123"), + revisionNumber: BigInt("456"), }, - timeoutTimestamp: Long.fromString("789", true), + timeoutTimestamp: BigInt("789"), memo: "", }; expect(msg).toEqual({ @@ -153,6 +155,43 @@ describe("AminoTypes", () => { }); }); + it("works for MsgTransfer with memo", () => { + const aminoMsg: AminoMsgTransfer = { + type: "cosmos-sdk/MsgTransfer", + value: { + source_port: "testport", + source_channel: "testchannel", + token: coin(1234, "utest"), + sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", + timeout_height: { + revision_height: "123", + revision_number: "456", + }, + timeout_timestamp: "789", + memo: "Hack me", + }, + }; + const msg = new AminoTypes(createIbcAminoConverters()).fromAmino(aminoMsg); + const expectedValue: MsgTransfer = { + sourcePort: "testport", + sourceChannel: "testchannel", + token: coin(1234, "utest"), + sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", + receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", + timeoutHeight: { + revisionHeight: BigInt("123"), + revisionNumber: BigInt("456"), + }, + timeoutTimestamp: BigInt("789"), + memo: "Hack me", + }; + expect(msg).toEqual({ + typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", + value: expectedValue, + }); + }); + it("works for MsgTransfer with default values", () => { const aminoMsg: AminoMsgTransfer = { type: "cosmos-sdk/MsgTransfer", @@ -167,6 +206,7 @@ describe("AminoTypes", () => { // revision_number omitted }, // timeout_timestamp omitted + // memo omitted }, }; const msg = new AminoTypes(createIbcAminoConverters()).fromAmino(aminoMsg); @@ -177,10 +217,10 @@ describe("AminoTypes", () => { sender: "cosmos1pkptre7fdkl6gfrzlesjjvhxhlc3r4gmmk8rs6", receiver: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", timeoutHeight: { - revisionHeight: Long.UZERO, - revisionNumber: Long.UZERO, + revisionHeight: BigInt(0), + revisionNumber: BigInt(0), }, - timeoutTimestamp: Long.UZERO, + timeoutTimestamp: BigInt(0), memo: "", }; expect(msg).toEqual({ diff --git a/packages/stargate/src/modules/ibc/aminomessages.ts b/packages/stargate/src/modules/ibc/aminomessages.ts index 4073c521..731e9268 100644 --- a/packages/stargate/src/modules/ibc/aminomessages.ts +++ b/packages/stargate/src/modules/ibc/aminomessages.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { AminoMsg, Coin } from "@cosmjs/amino"; import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx"; -import Long from "long"; import { AminoConverters } from "../../aminotypes"; @@ -46,7 +45,7 @@ export function isAminoMsgTransfer(msg: AminoMsg): msg is AminoMsgTransfer { return msg.type === "cosmos-sdk/MsgTransfer"; } -function omitDefault(input: T): T | undefined { +function omitDefault(input: T): T | undefined { if (typeof input === "string") { return input === "" ? undefined : input; } @@ -55,8 +54,8 @@ function omitDefault(input: T): T | undefined return input === 0 ? undefined : input; } - if (Long.isLong(input)) { - return input.isZero() ? undefined : input; + if (typeof input === "bigint") { + return input === BigInt(0) ? undefined : input; } throw new Error(`Got unsupported type '${typeof input}'`); @@ -98,6 +97,7 @@ export function createIbcAminoConverters(): AminoConverters { receiver, timeout_height, timeout_timestamp, + memo, }: AminoMsgTransfer["value"]): MsgTransfer => MsgTransfer.fromPartial({ sourcePort: source_port, @@ -107,11 +107,12 @@ export function createIbcAminoConverters(): AminoConverters { receiver: receiver, timeoutHeight: timeout_height ? { - revisionHeight: Long.fromString(timeout_height.revision_height || "0", true), - revisionNumber: Long.fromString(timeout_height.revision_number || "0", true), + revisionHeight: BigInt(timeout_height.revision_height || "0"), + revisionNumber: BigInt(timeout_height.revision_number || "0"), } : undefined, - timeoutTimestamp: Long.fromString(timeout_timestamp || "0", true), + timeoutTimestamp: BigInt(timeout_timestamp || "0"), + memo: memo ?? "", }), }, }; diff --git a/packages/stargate/src/modules/ibc/ibctestdata.spec.ts b/packages/stargate/src/modules/ibc/ibctestdata.spec.ts index 88a6aa07..1d25ab08 100644 --- a/packages/stargate/src/modules/ibc/ibctestdata.spec.ts +++ b/packages/stargate/src/modules/ibc/ibctestdata.spec.ts @@ -15,7 +15,6 @@ import { State as ConnectionState, Version, } from "cosmjs-types/ibc/core/connection/v1/connection"; -import Long from "long"; // From scripts/simapp42/genesis-ibc.json @@ -61,7 +60,7 @@ export const commitment = { export const packetState = PacketState.fromPartial({ portId: portId, channelId: channelId, - sequence: Long.fromInt(commitment.sequence, true), + sequence: BigInt(commitment.sequence), data: commitment.data, }); diff --git a/packages/stargate/src/modules/ibc/queries.spec.ts b/packages/stargate/src/modules/ibc/queries.spec.ts index 5c6e5449..f86a7f1e 100644 --- a/packages/stargate/src/modules/ibc/queries.spec.ts +++ b/packages/stargate/src/modules/ibc/queries.spec.ts @@ -1,5 +1,4 @@ import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; -import Long from "long"; import { QueryClient } from "../../queryclient"; import { simapp } from "../../testutils.spec"; @@ -233,7 +232,7 @@ describe("IbcExtension", () => { ibcTest.channelId, [1, 2, 3], ); - expect(response.sequences).toEqual([1, 2, 3].map((n) => Long.fromInt(n, true))); + expect(response.sequences).toEqual([1, 2, 3].map((n) => BigInt(n))); expect(response.height).toBeDefined(); tmClient.disconnect(); @@ -250,7 +249,7 @@ describe("IbcExtension", () => { ibcTest.channelId, [1, 2, 3, 4, 5, 6, 7], ); - expect(response.sequences).toEqual([Long.fromInt(ibcTest.commitment.sequence, true)]); + expect(response.sequences).toEqual([BigInt(ibcTest.commitment.sequence)]); expect(response.height).toBeDefined(); tmClient.disconnect(); @@ -263,7 +262,7 @@ describe("IbcExtension", () => { const [client, tmClient] = await makeClientWithIbc(simapp.tendermintUrl); const response = await client.ibc.channel.nextSequenceReceive(ibcTest.portId, ibcTest.channelId); - expect(response.nextSequenceReceive).toEqual(Long.fromInt(1, true)); + expect(response.nextSequenceReceive).toEqual(BigInt(1)); expect(response.proofHeight).toBeDefined(); expect(response.proofHeight).not.toBeNull(); diff --git a/packages/stargate/src/modules/ibc/queries.ts b/packages/stargate/src/modules/ibc/queries.ts index c4c2f43e..cbf2faac 100644 --- a/packages/stargate/src/modules/ibc/queries.ts +++ b/packages/stargate/src/modules/ibc/queries.ts @@ -49,9 +49,8 @@ import { ClientState as TendermintClientState, ConsensusState as TendermintConsensusState, } from "cosmjs-types/ibc/lightclients/tendermint/v1/tendermint"; -import Long from "long"; -import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient"; +import { createPagination, createProtobufRpcClient, longify, QueryClient } from "../../queryclient"; function decodeTendermintClientStateAny(clientState: Any | undefined): TendermintClientState { if (clientState?.typeUrl !== "/ibc.lightclients.tendermint.v1.ClientState") { @@ -218,10 +217,10 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { channels.push(...response.channels); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryChannelsResponse.fromPartial({ channels: channels, height: response.height, - }; + }); }, connectionChannels: async (connection: string, paginationKey?: Uint8Array) => channelQueryService.ConnectionChannels({ @@ -240,10 +239,10 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { channels.push(...response.channels); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryConnectionChannelsResponse.fromPartial({ channels: channels, height: response.height, - }; + }); }, clientState: async (portId: string, channelId: string) => channelQueryService.ChannelClientState({ @@ -259,14 +258,14 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { channelQueryService.ChannelConsensusState({ portId: portId, channelId: channelId, - revisionNumber: Long.fromNumber(revisionNumber, true), - revisionHeight: Long.fromNumber(revisionHeight, true), + revisionNumber: BigInt(revisionNumber), + revisionHeight: BigInt(revisionHeight), }), packetCommitment: async (portId: string, channelId: string, sequence: number) => channelQueryService.PacketCommitment({ portId: portId, channelId: channelId, - sequence: Long.fromNumber(sequence, true), + sequence: longify(sequence), }), packetCommitments: async (portId: string, channelId: string, paginationKey?: Uint8Array) => channelQueryService.PacketCommitments({ @@ -287,22 +286,22 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { commitments.push(...response.commitments); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryPacketCommitmentsResponse.fromPartial({ commitments: commitments, height: response.height, - }; + }); }, packetReceipt: async (portId: string, channelId: string, sequence: number) => channelQueryService.PacketReceipt({ portId: portId, channelId: channelId, - sequence: Long.fromNumber(sequence, true), + sequence: longify(sequence), }), packetAcknowledgement: async (portId: string, channelId: string, sequence: number) => channelQueryService.PacketAcknowledgement({ portId: portId, channelId: channelId, - sequence: Long.fromNumber(sequence, true), + sequence: longify(sequence), }), packetAcknowledgements: async (portId: string, channelId: string, paginationKey?: Uint8Array) => { const request = QueryPacketAcknowledgementsRequest.fromPartial({ @@ -326,10 +325,10 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { acknowledgements.push(...response.acknowledgements); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryPacketAcknowledgementsResponse.fromPartial({ acknowledgements: acknowledgements, height: response.height, - }; + }); }, unreceivedPackets: async ( portId: string, @@ -339,13 +338,13 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { channelQueryService.UnreceivedPackets({ portId: portId, channelId: channelId, - packetCommitmentSequences: packetCommitmentSequences.map((s) => Long.fromNumber(s, true)), + packetCommitmentSequences: packetCommitmentSequences.map((s) => BigInt(s)), }), unreceivedAcks: async (portId: string, channelId: string, packetAckSequences: readonly number[]) => channelQueryService.UnreceivedAcks({ portId: portId, channelId: channelId, - packetAckSequences: packetAckSequences.map((s) => Long.fromNumber(s, true)), + packetAckSequences: packetAckSequences.map((s) => BigInt(s)), }), nextSequenceReceive: async (portId: string, channelId: string) => channelQueryService.NextSequenceReceive({ @@ -370,16 +369,15 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { clientStates.push(...response.clientStates); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryClientStatesResponse.fromPartial({ clientStates: clientStates, - }; + }); }, consensusState: async (clientId: string, consensusHeight?: number) => clientQueryService.ConsensusState( QueryConsensusStateRequest.fromPartial({ clientId: clientId, - revisionHeight: - consensusHeight !== undefined ? Long.fromNumber(consensusHeight, true) : undefined, + revisionHeight: consensusHeight !== undefined ? BigInt(consensusHeight) : undefined, latestHeight: consensusHeight === undefined, }), ), @@ -400,9 +398,9 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { consensusStates.push(...response.consensusStates); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryConsensusStatesResponse.fromPartial({ consensusStates: consensusStates, - }; + }); }, params: async () => clientQueryService.ClientParams({}), stateTm: async (clientId: string) => { @@ -460,10 +458,10 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { connections.push(...response.connections); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryConnectionsResponse.fromPartial({ connections: connections, height: response.height, - }; + }); }, clientConnections: async (clientId: string) => connectionQueryService.ClientConnections({ @@ -477,7 +475,7 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { connectionQueryService.ConnectionConsensusState( QueryConnectionConsensusStateRequest.fromPartial({ connectionId: connectionId, - revisionHeight: Long.fromNumber(revisionHeight, true), + revisionHeight: BigInt(revisionHeight), }), ), }, @@ -498,9 +496,9 @@ export function setupIbcExtension(base: QueryClient): IbcExtension { denomTraces.push(...response.denomTraces); key = response.pagination?.nextKey; } while (key && key.length); - return { + return QueryDenomTracesResponse.fromPartial({ denomTraces: denomTraces, - }; + }); }, params: async () => transferQueryService.Params({}), }, diff --git a/packages/stargate/src/modules/mint/queries.spec.ts b/packages/stargate/src/modules/mint/queries.spec.ts index 0e028876..681499c8 100644 --- a/packages/stargate/src/modules/mint/queries.spec.ts +++ b/packages/stargate/src/modules/mint/queries.spec.ts @@ -18,8 +18,8 @@ describe("MintExtension", () => { const [client, tmClient] = await makeClientWithMint(simapp.tendermintUrl); const params = await client.mint.params(); - expect(params.blocksPerYear.toNumber()).toBeGreaterThan(100_000); - expect(params.blocksPerYear.toNumber()).toBeLessThan(100_000_000); + expect(Number(params.blocksPerYear)).toBeGreaterThan(100_000); + expect(Number(params.blocksPerYear)).toBeLessThan(100_000_000); expect(params.goalBonded.toString()).toEqual("0.67"); expect(params.inflationMin.toString()).toEqual("0.07"); expect(params.inflationMax.toString()).toEqual("0.2"); diff --git a/packages/stargate/src/modules/staking/queries.spec.ts b/packages/stargate/src/modules/staking/queries.spec.ts index b8ce620b..a61f03f5 100644 --- a/packages/stargate/src/modules/staking/queries.spec.ts +++ b/packages/stargate/src/modules/staking/queries.spec.ts @@ -233,7 +233,7 @@ describe("StakingExtension", () => { }, balance: { denom: "ustake", amount: "3000000" }, }); - expect(response.pagination?.total.toNumber()).toBeGreaterThanOrEqual(2); + expect(Number(response.pagination!.total)).toBeGreaterThanOrEqual(2); tmClient.disconnect(); }); diff --git a/packages/stargate/src/modules/staking/queries.ts b/packages/stargate/src/modules/staking/queries.ts index 01382848..03e8c0ed 100644 --- a/packages/stargate/src/modules/staking/queries.ts +++ b/packages/stargate/src/modules/staking/queries.ts @@ -17,7 +17,6 @@ import { QueryValidatorUnbondingDelegationsResponse, } from "cosmjs-types/cosmos/staking/v1beta1/query"; import { BondStatus } from "cosmjs-types/cosmos/staking/v1beta1/staking"; -import Long from "long"; import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient"; @@ -118,9 +117,9 @@ export function setupStakingExtension(base: QueryClient): StakingExtension { }); return response; }, - historicalInfo: async (height: number) => { + historicalInfo: async (height: number | bigint) => { const response = await queryService.HistoricalInfo({ - height: Long.fromNumber(height, true), + height: BigInt(height), }); return response; }, diff --git a/packages/stargate/src/modules/tx/queries.spec.ts b/packages/stargate/src/modules/tx/queries.spec.ts index e521183a..c487971f 100644 --- a/packages/stargate/src/modules/tx/queries.spec.ts +++ b/packages/stargate/src/modules/tx/queries.spec.ts @@ -2,7 +2,6 @@ import { coin, coins, DirectSecp256k1HdWallet, Registry } from "@cosmjs/proto-si import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; import { assertDefined, sleep } from "@cosmjs/utils"; import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx"; -import Long from "long"; import { QueryClient } from "../../queryclient"; import { defaultRegistryTypes, SigningStargateClient } from "../../signingstargateclient"; @@ -94,11 +93,11 @@ describe("TxExtension", () => { const { sequence } = await sequenceClient.getSequence(faucet.address0); const response = await client.tx.simulate([msgAny], "foo", faucet.pubkey0, sequence); - expect(response.gasInfo?.gasUsed.toNumber()).toBeGreaterThanOrEqual(101_000); - expect(response.gasInfo?.gasUsed.toNumber()).toBeLessThanOrEqual(200_000); + expect(response.gasInfo?.gasUsed).toBeGreaterThanOrEqual(101_000); + expect(response.gasInfo?.gasUsed).toBeLessThanOrEqual(200_000); expect(response.gasInfo?.gasWanted).toEqual( // Some dummy value. Value does not matter for regular users. - simapp44Enabled() ? Long.UZERO : Long.MAX_UNSIGNED_VALUE, + simapp44Enabled() ? BigInt(0) : BigInt("0xffffffffffffffff"), ); tmClient.disconnect(); diff --git a/packages/stargate/src/modules/tx/queries.ts b/packages/stargate/src/modules/tx/queries.ts index 186cc3ab..c3975efd 100644 --- a/packages/stargate/src/modules/tx/queries.ts +++ b/packages/stargate/src/modules/tx/queries.ts @@ -10,7 +10,6 @@ import { } from "cosmjs-types/cosmos/tx/v1beta1/service"; import { AuthInfo, Fee, Tx, TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; import { createProtobufRpcClient, QueryClient } from "../../queryclient"; @@ -56,7 +55,7 @@ export function setupTxExtension(base: QueryClient): TxExtension { signerInfos: [ { publicKey: encodePubkey(signer), - sequence: Long.fromNumber(sequence, true), + sequence: BigInt(sequence), modeInfo: { single: { mode: SignMode.SIGN_MODE_UNSPECIFIED } }, }, ], diff --git a/packages/stargate/src/modules/vesting/aminomessages.spec.ts b/packages/stargate/src/modules/vesting/aminomessages.spec.ts index 3060c859..80d99fd7 100644 --- a/packages/stargate/src/modules/vesting/aminomessages.spec.ts +++ b/packages/stargate/src/modules/vesting/aminomessages.spec.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { coins } from "@cosmjs/amino"; import { MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx"; -import Long from "long"; import { AminoTypes } from "../../aminotypes"; import { AminoMsgCreateVestingAccount, createVestingAminoConverters } from "./aminomessages"; @@ -13,7 +12,7 @@ describe("vesting Amino messages", () => { fromAddress: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", toAddress: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", amount: coins(1234, "ucosm"), - endTime: Long.fromString("1838718434"), + endTime: BigInt("1838718434"), delayed: true, }); const aminoTypes = new AminoTypes(createVestingAminoConverters()); @@ -52,7 +51,7 @@ describe("vesting Amino messages", () => { fromAddress: "cosmos10dyr9899g6t0pelew4nvf4j5c3jcgv0r73qga5", toAddress: "cosmos1xy4yqngt0nlkdcenxymg8tenrghmek4nmqm28k", amount: coins(1234, "ucosm"), - endTime: Long.fromString("1838718434"), + endTime: BigInt("1838718434"), delayed: true, }; expect(msg).toEqual({ diff --git a/packages/stargate/src/modules/vesting/aminomessages.ts b/packages/stargate/src/modules/vesting/aminomessages.ts index d33d3884..55471e1b 100644 --- a/packages/stargate/src/modules/vesting/aminomessages.ts +++ b/packages/stargate/src/modules/vesting/aminomessages.ts @@ -1,7 +1,6 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { AminoMsg, Coin } from "@cosmjs/amino"; import { MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx"; -import Long from "long"; import { AminoConverters } from "../../aminotypes"; @@ -49,7 +48,7 @@ export function createVestingAminoConverters(): AminoConverters { fromAddress: from_address, toAddress: to_address, amount: [...amount], - endTime: Long.fromString(end_time), + endTime: BigInt(end_time), delayed: delayed, }), }, diff --git a/packages/stargate/src/modules/vesting/messages.spec.ts b/packages/stargate/src/modules/vesting/messages.spec.ts index 5754c410..4fe0cfe2 100644 --- a/packages/stargate/src/modules/vesting/messages.spec.ts +++ b/packages/stargate/src/modules/vesting/messages.spec.ts @@ -1,7 +1,6 @@ import { coin, coins, Secp256k1HdWallet } from "@cosmjs/amino"; import { DirectSecp256k1HdWallet } from "@cosmjs/proto-signing"; import { MsgCreateVestingAccount } from "cosmjs-types/cosmos/vesting/v1beta1/tx"; -import Long from "long"; import { SigningStargateClient } from "../../signingstargateclient"; import { assertIsDeliverTxSuccess } from "../../stargateclient"; @@ -33,7 +32,7 @@ describe("vesting messages", () => { fromAddress: faucet.address0, toAddress: recipient, amount: coins(1234, "ucosm"), - endTime: Long.fromString("1838718434"), + endTime: BigInt("1838718434"), delayed: true, }), }; @@ -63,7 +62,7 @@ describe("vesting messages", () => { fromAddress: faucet.address0, toAddress: recipient, amount: coins(1234, "ucosm"), - endTime: Long.fromString("1838718434"), + endTime: BigInt("1838718434"), delayed: true, }), }; diff --git a/packages/stargate/src/multisignature.ts b/packages/stargate/src/multisignature.ts index dd5440ad..63f14750 100644 --- a/packages/stargate/src/multisignature.ts +++ b/packages/stargate/src/multisignature.ts @@ -5,7 +5,6 @@ import { CompactBitArray, MultiSignature } from "cosmjs-types/cosmos/crypto/mult import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { AuthInfo, SignerInfo } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; -import Long from "long"; export function makeCompactBitArray(bits: readonly boolean[]): CompactBitArray { const byteCount = Math.ceil(bits.length / 8); @@ -58,14 +57,14 @@ export function makeMultisignedTx( modeInfos: signaturesList.map((_) => ({ single: { mode: SignMode.SIGN_MODE_LEGACY_AMINO_JSON } })), }, }, - sequence: Long.fromNumber(sequence), + sequence: BigInt(sequence), }; const authInfo = AuthInfo.fromPartial({ signerInfos: [signerInfo], fee: { amount: [...fee.amount], - gasLimit: Long.fromString(fee.gas), + gasLimit: BigInt(fee.gas), }, }); diff --git a/packages/stargate/src/queryclient/queryclient.spec.ts b/packages/stargate/src/queryclient/queryclient.spec.ts index f179c096..a133c0a0 100644 --- a/packages/stargate/src/queryclient/queryclient.spec.ts +++ b/packages/stargate/src/queryclient/queryclient.spec.ts @@ -98,7 +98,9 @@ describe("QueryClient", () => { const [client, tmClient] = await makeClient(simapp.tendermintUrlWs); const requestData = Uint8Array.from( - QueryAllBalancesRequest.encode({ address: unused.address }).finish(), + QueryAllBalancesRequest.encode( + QueryAllBalancesRequest.fromPartial({ address: unused.address }), + ).finish(), ); const { value } = await client.queryAbci(`/cosmos.bank.v1beta1.Query/AllBalances`, requestData); const response = QueryAllBalancesResponse.decode(value); @@ -112,7 +114,9 @@ describe("QueryClient", () => { const [client, tmClient] = await makeClient(simapp.tendermintUrlHttp); const requestData = Uint8Array.from( - QueryAllBalancesRequest.encode({ address: unused.address }).finish(), + QueryAllBalancesRequest.encode( + QueryAllBalancesRequest.fromPartial({ address: unused.address }), + ).finish(), ); const { value } = await client.queryAbci(`/cosmos.bank.v1beta1.Query/AllBalances`, requestData); const response = QueryAllBalancesResponse.decode(value); diff --git a/packages/stargate/src/queryclient/utils.ts b/packages/stargate/src/queryclient/utils.ts index 4afa3739..6e658f83 100644 --- a/packages/stargate/src/queryclient/utils.ts +++ b/packages/stargate/src/queryclient/utils.ts @@ -1,7 +1,6 @@ import { fromAscii, fromBech32 } from "@cosmjs/encoding"; import { Decimal, Uint64 } from "@cosmjs/math"; import { PageRequest } from "cosmjs-types/cosmos/base/query/v1beta1/pagination"; -import Long from "long"; import { QueryClient } from "./queryclient"; @@ -21,8 +20,8 @@ export function toAccAddress(address: string): Uint8Array { * Use this with a query response's pagination next key to * request the next page. */ -export function createPagination(paginationKey?: Uint8Array): PageRequest | undefined { - return paginationKey ? PageRequest.fromPartial({ key: paginationKey }) : undefined; +export function createPagination(paginationKey?: Uint8Array): PageRequest { + return paginationKey ? PageRequest.fromPartial({ key: paginationKey }) : PageRequest.fromPartial({}); } export interface ProtobufRpcClient { @@ -40,12 +39,12 @@ export function createProtobufRpcClient(base: QueryClient): ProtobufRpcClient { } /** - * Takes a uint64 value as string, number, Long or Uint64 and returns an unsigned Long instance + * Takes a uint64 value as string, number, BigInt or Uint64 and returns a BigInt * of it. */ -export function longify(value: string | number | Long | Uint64): Long { +export function longify(value: string | number | Uint64): bigint { const checkedValue = Uint64.fromString(value.toString()); - return Long.fromBytesBE([...checkedValue.toBytesBigEndian()], true); + return BigInt(checkedValue.toString()); } /** diff --git a/packages/stargate/src/signingstargateclient.spec.ts b/packages/stargate/src/signingstargateclient.spec.ts index 132ca76c..6da21f6d 100644 --- a/packages/stargate/src/signingstargateclient.spec.ts +++ b/packages/stargate/src/signingstargateclient.spec.ts @@ -11,6 +11,7 @@ import { import { Tendermint34Client } from "@cosmjs/tendermint-rpc"; import { assert, sleep } from "@cosmjs/utils"; import { DeepPartial } from "cosmjs-types"; +import { BinaryWriter } from "cosmjs-types/binary"; import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx"; import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin"; import { BasicAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/feegrant"; @@ -18,8 +19,6 @@ import { MsgGrantAllowance } from "cosmjs-types/cosmos/feegrant/v1beta1/tx"; import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx"; import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { Any } from "cosmjs-types/google/protobuf/any"; -import Long from "long"; -import protobuf from "protobufjs/minimal"; import { AminoTypes } from "./aminotypes"; import { @@ -190,14 +189,16 @@ describe("SigningStargateClient", () => { const allowance: Any = { typeUrl: "/cosmos.feegrant.v1beta1.BasicAllowance", value: Uint8Array.from( - BasicAllowance.encode({ - spendLimit: [ - { - denom: "ucosm", - amount: "1234567", - }, - ], - }).finish(), + BasicAllowance.encode( + BasicAllowance.fromPartial({ + spendLimit: [ + { + denom: "ucosm", + amount: "1234567", + }, + ], + }), + ).finish(), ), }; const grantMsg = { @@ -260,7 +261,7 @@ describe("SigningStargateClient", () => { coin(1234, "ucosm"), "fooPort", "fooChannel", - { revisionHeight: Long.fromNumber(123), revisionNumber: Long.fromNumber(456) }, + { revisionHeight: BigInt(123), revisionNumber: BigInt(456) }, Math.floor(Date.now() / 1000) + 60, fee, memo, @@ -309,7 +310,7 @@ describe("SigningStargateClient", () => { coin(1234, "ucosm"), "fooPort", "fooChannel", - { revisionHeight: Long.fromNumber(123), revisionNumber: Long.fromNumber(456) }, + { revisionHeight: BigInt(123), revisionNumber: BigInt(456) }, Math.floor(Date.now() / 1000) + 60, fee, memo, @@ -455,7 +456,7 @@ describe("SigningStargateClient", () => { // From ModifyingDirectSecp256k1HdWallet expect(tx.body.memo).toEqual("This was modified"); expect({ ...tx.authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(tx.authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(tx.authInfo.fee!.gasLimit).toEqual(BigInt(333333)); }); }); @@ -558,10 +559,8 @@ describe("SigningStargateClient", () => { }; const CustomMsgDelegate = { // Adapted from autogenerated MsgDelegate implementation - encode( - message: CustomMsgDelegate, - writer: protobuf.Writer = protobuf.Writer.create(), - ): protobuf.Writer { + typeUrl: "foobar", + encode(message: CustomMsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { writer.uint32(10).string(message.customDelegatorAddress ?? ""); writer.uint32(18).string(message.customValidatorAddress ?? ""); if (message.customAmount !== undefined) { @@ -685,7 +684,7 @@ describe("SigningStargateClient", () => { // From ModifyingSecp256k1HdWallet expect(tx.body.memo).toEqual("This was modified"); expect({ ...tx.authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(tx.authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(tx.authInfo.fee!.gasLimit).toEqual(BigInt(333333)); }); }); }); @@ -906,7 +905,7 @@ describe("SigningStargateClient", () => { // From ModifyingDirectSecp256k1HdWallet expect(body.memo).toEqual("This was modified"); expect({ ...authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(authInfo.fee!.gasLimit).toEqual(BigInt(333333)); // ensure signature is valid const result = await client.broadcastTx(Uint8Array.from(TxRaw.encode(signed).finish())); @@ -1029,11 +1028,9 @@ describe("SigningStargateClient", () => { customValidatorAddress: "", }; const CustomMsgDelegate = { + typeUrl: "foobar", // Adapted from autogenerated MsgDelegate implementation - encode( - message: CustomMsgDelegate, - writer: protobuf.Writer = protobuf.Writer.create(), - ): protobuf.Writer { + encode(message: CustomMsgDelegate, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter { writer.uint32(10).string(message.customDelegatorAddress ?? ""); writer.uint32(18).string(message.customValidatorAddress ?? ""); if (message.customAmount !== undefined && message.customAmount !== undefined) { @@ -1156,7 +1153,7 @@ describe("SigningStargateClient", () => { // From ModifyingSecp256k1HdWallet expect(body.memo).toEqual("This was modified"); expect({ ...authInfo.fee!.amount[0] }).toEqual(coin(3000, "ucosm")); - expect(authInfo.fee!.gasLimit.toNumber()).toEqual(333333); + expect(authInfo.fee!.gasLimit).toEqual(BigInt(333333)); // ensure signature is valid const result = await client.broadcastTx(Uint8Array.from(TxRaw.encode(signed).finish())); diff --git a/packages/stargate/src/signingstargateclient.ts b/packages/stargate/src/signingstargateclient.ts index 59650139..a9d91758 100644 --- a/packages/stargate/src/signingstargateclient.ts +++ b/packages/stargate/src/signingstargateclient.ts @@ -26,7 +26,6 @@ import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { MsgTransfer } from "cosmjs-types/ibc/applications/transfer/v1/tx"; import { Height } from "cosmjs-types/ibc/core/client/v1/client"; -import Long from "long"; import { AminoConverters, AminoTypes } from "./aminotypes"; import { calculateFee, GasPrice } from "./fee"; @@ -291,7 +290,7 @@ export class SigningStargateClient extends StargateClient { memo = "", ): Promise { const timeoutTimestampNanoseconds = timeoutTimestamp - ? Long.fromNumber(timeoutTimestamp).multiply(1_000_000_000) + ? BigInt(timeoutTimestamp) * BigInt(1_000_000_000) : undefined; const transferMsg: MsgTransferEncodeObject = { typeUrl: "/ibc.applications.transfer.v1.MsgTransfer", diff --git a/packages/stargate/src/testutils.spec.ts b/packages/stargate/src/testutils.spec.ts index 08e6877d..662c0c6e 100644 --- a/packages/stargate/src/testutils.spec.ts +++ b/packages/stargate/src/testutils.spec.ts @@ -9,6 +9,7 @@ import { DirectSignResponse, makeAuthInfoBytes, } from "@cosmjs/proto-signing"; +import { assertDefinedAndNotNull } from "@cosmjs/utils"; import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing"; import { AuthInfo, SignDoc, TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx"; @@ -230,10 +231,13 @@ export class ModifyingDirectSecp256k1HdWallet extends DirectSecp256k1HdWallet { memo: "This was modified", }); const authInfo = AuthInfo.decode(signDoc.authInfoBytes); - const signers = authInfo.signerInfos.map((signerInfo) => ({ - pubkey: signerInfo.publicKey!, - sequence: signerInfo.sequence.toNumber(), - })); + const signers = authInfo.signerInfos.map((signerInfo) => { + assertDefinedAndNotNull(signerInfo.publicKey); + return { + pubkey: signerInfo.publicKey, + sequence: signerInfo.sequence, + }; + }); const modifiedFeeAmount = coins(3000, "ucosm"); const modifiedGasLimit = 333333; const modifiedFeeGranter = undefined; diff --git a/packages/stream/package.json b/packages/stream/package.json index aef7e185..56cd791e 100644 --- a/packages/stream/package.json +++ b/packages/stream/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/stream", - "version": "0.31.1", + "version": "0.31.3", "description": "Utility functions for producing and consuming streams", "contributors": [ "IOV SAS ", diff --git a/packages/tendermint-rpc/package.json b/packages/tendermint-rpc/package.json index a2d4a3cd..a4195c39 100644 --- a/packages/tendermint-rpc/package.json +++ b/packages/tendermint-rpc/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/tendermint-rpc", - "version": "0.31.1", + "version": "0.31.3", "description": "Tendermint RPC clients", "contributors": [ "IOV SAS ", diff --git a/packages/utils/package.json b/packages/utils/package.json index 42f167bc..e3c7a8d0 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@cosmjs/utils", - "version": "0.31.1", + "version": "0.31.3", "description": "Utility tools, primarily for testing code", "contributors": [ "IOV SAS " diff --git a/yarn.lock b/yarn.lock index dae27b3f..2f3988d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -26,6 +26,16 @@ __metadata: languageName: node linkType: hard +"@ampproject/remapping@npm:^2.2.0": + version: 2.2.1 + resolution: "@ampproject/remapping@npm:2.2.1" + dependencies: + "@jridgewell/gen-mapping": ^0.3.0 + "@jridgewell/trace-mapping": ^0.3.9 + checksum: 03c04fd526acc64a1f4df22651186f3e5ef0a9d6d6530ce4482ec9841269cf7a11dbb8af79237c282d721c5312024ff17529cd72cc4768c11e999b58e2302079 + languageName: node + linkType: hard + "@babel/code-frame@npm:7.12.11": version: 7.12.11 resolution: "@babel/code-frame@npm:7.12.11" @@ -35,251 +45,237 @@ __metadata: languageName: node linkType: hard -"@babel/code-frame@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/code-frame@npm:7.12.13" +"@babel/code-frame@npm:^7.22.13": + version: 7.22.13 + resolution: "@babel/code-frame@npm:7.22.13" dependencies: - "@babel/highlight": ^7.12.13 - checksum: d0491bb59fb8d7a763cb175c5504818cfd3647321d8eedb9173336d5c47dccce248628ee68b3ed3586c5efc753d8d990ceafe956f707dcf92572a1661b92b1ef + "@babel/highlight": ^7.22.13 + chalk: ^2.4.2 + checksum: 22e342c8077c8b77eeb11f554ecca2ba14153f707b85294fcf6070b6f6150aae88a7b7436dd88d8c9289970585f3fe5b9b941c5aa3aa26a6d5a8ef3f292da058 languageName: node linkType: hard -"@babel/compat-data@npm:^7.13.15": - version: 7.14.0 - resolution: "@babel/compat-data@npm:7.14.0" - checksum: 24a9ce6d2588ad9e5d07450bf47178c2dea97b51f1f2b1a37c2aa4d04e6413b91b3c8b2be2b97275244d2353560a9a99d1209c4ac0a995ff6b2d6fa747d96883 +"@babel/compat-data@npm:^7.22.9": + version: 7.23.2 + resolution: "@babel/compat-data@npm:7.23.2" + checksum: d8dc27437d40907b271161d4c88ffe72ccecb034c730deb1960a417b59a14d7c5ebca8cd80dd458a01cd396a7a329eb48cddcc3791b5a84da33d7f278f7bec6a languageName: node linkType: hard "@babel/core@npm:^7.7.5": - version: 7.14.3 - resolution: "@babel/core@npm:7.14.3" + version: 7.23.2 + resolution: "@babel/core@npm:7.23.2" dependencies: - "@babel/code-frame": ^7.12.13 - "@babel/generator": ^7.14.3 - "@babel/helper-compilation-targets": ^7.13.16 - "@babel/helper-module-transforms": ^7.14.2 - "@babel/helpers": ^7.14.0 - "@babel/parser": ^7.14.3 - "@babel/template": ^7.12.13 - "@babel/traverse": ^7.14.2 - "@babel/types": ^7.14.2 - convert-source-map: ^1.7.0 + "@ampproject/remapping": ^2.2.0 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.23.0 + "@babel/helper-compilation-targets": ^7.22.15 + "@babel/helper-module-transforms": ^7.23.0 + "@babel/helpers": ^7.23.2 + "@babel/parser": ^7.23.0 + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.23.2 + "@babel/types": ^7.23.0 + convert-source-map: ^2.0.0 debug: ^4.1.0 gensync: ^1.0.0-beta.2 - json5: ^2.1.2 - semver: ^6.3.0 - source-map: ^0.5.0 - checksum: b91ed6adc790428966e134b9b8bfa1f2d54d8867877057ed9f9fcc354475a26d267afd6b0c84ac1a7ac7805bffc7b3353fdd9d894e58ef52c7c7e06f17044fd0 + json5: ^2.2.3 + semver: ^6.3.1 + checksum: 003897718ded16f3b75632d63cd49486bf67ff206cc7ebd1a10d49e2456f8d45740910d5ec7e42e3faf0deec7a2e96b1a02e766d19a67a8309053f0d4e57c0fe languageName: node linkType: hard -"@babel/generator@npm:^7.14.2, @babel/generator@npm:^7.14.3": - version: 7.14.3 - resolution: "@babel/generator@npm:7.14.3" +"@babel/generator@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/generator@npm:7.23.0" dependencies: - "@babel/types": ^7.14.2 + "@babel/types": ^7.23.0 + "@jridgewell/gen-mapping": ^0.3.2 + "@jridgewell/trace-mapping": ^0.3.17 jsesc: ^2.5.1 - source-map: ^0.5.0 - checksum: 2c104bbe531935d73a66b6c1370da2e986e94154e7e574bd081fe6abe0d493e39d94a38a4c07c415aa90281047f858a51967b74eed83fec17cbca98a657e864a + checksum: 8efe24adad34300f1f8ea2add420b28171a646edc70f2a1b3e1683842f23b8b7ffa7e35ef0119294e1901f45bfea5b3dc70abe1f10a1917ccdfb41bed69be5f1 languageName: node linkType: hard -"@babel/helper-compilation-targets@npm:^7.13.16": - version: 7.13.16 - resolution: "@babel/helper-compilation-targets@npm:7.13.16" +"@babel/helper-compilation-targets@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-compilation-targets@npm:7.22.15" dependencies: - "@babel/compat-data": ^7.13.15 - "@babel/helper-validator-option": ^7.12.17 - browserslist: ^4.14.5 - semver: ^6.3.0 + "@babel/compat-data": ^7.22.9 + "@babel/helper-validator-option": ^7.22.15 + browserslist: ^4.21.9 + lru-cache: ^5.1.1 + semver: ^6.3.1 + checksum: ce85196769e091ae54dd39e4a80c2a9df1793da8588e335c383d536d54f06baf648d0a08fc873044f226398c4ded15c4ae9120ee18e7dfd7c639a68e3cdc9980 + languageName: node + linkType: hard + +"@babel/helper-environment-visitor@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-environment-visitor@npm:7.22.20" + checksum: d80ee98ff66f41e233f36ca1921774c37e88a803b2f7dca3db7c057a5fea0473804db9fb6729e5dbfd07f4bed722d60f7852035c2c739382e84c335661590b69 + languageName: node + linkType: hard + +"@babel/helper-function-name@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/helper-function-name@npm:7.23.0" + dependencies: + "@babel/template": ^7.22.15 + "@babel/types": ^7.23.0 + checksum: e44542257b2d4634a1f979244eb2a4ad8e6d75eb6761b4cfceb56b562f7db150d134bc538c8e6adca3783e3bc31be949071527aa8e3aab7867d1ad2d84a26e10 + languageName: node + linkType: hard + +"@babel/helper-hoist-variables@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-hoist-variables@npm:7.22.5" + dependencies: + "@babel/types": ^7.22.5 + checksum: 394ca191b4ac908a76e7c50ab52102669efe3a1c277033e49467913c7ed6f7c64d7eacbeabf3bed39ea1f41731e22993f763b1edce0f74ff8563fd1f380d92cc + languageName: node + linkType: hard + +"@babel/helper-module-imports@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-module-imports@npm:7.22.15" + dependencies: + "@babel/types": ^7.22.15 + checksum: ecd7e457df0a46f889228f943ef9b4a47d485d82e030676767e6a2fdcbdaa63594d8124d4b55fd160b41c201025aec01fc27580352b1c87a37c9c6f33d116702 + languageName: node + linkType: hard + +"@babel/helper-module-transforms@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/helper-module-transforms@npm:7.23.0" + dependencies: + "@babel/helper-environment-visitor": ^7.22.20 + "@babel/helper-module-imports": ^7.22.15 + "@babel/helper-simple-access": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/helper-validator-identifier": ^7.22.20 peerDependencies: "@babel/core": ^7.0.0 - checksum: 08c8fcd99808c07a357910ab0933a60a5269ee628f24e5fbfad6394646e5d38294e33835659b8556cde09a2a3afecf1235d9381cff4b433ad77cca7230502ce3 + checksum: 6e2afffb058cf3f8ce92f5116f710dda4341c81cfcd872f9a0197ea594f7ce0ab3cb940b0590af2fe99e60d2e5448bfba6bca8156ed70a2ed4be2adc8586c891 languageName: node linkType: hard -"@babel/helper-function-name@npm:^7.14.2": - version: 7.14.2 - resolution: "@babel/helper-function-name@npm:7.14.2" +"@babel/helper-simple-access@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-simple-access@npm:7.22.5" dependencies: - "@babel/helper-get-function-arity": ^7.12.13 - "@babel/template": ^7.12.13 - "@babel/types": ^7.14.2 - checksum: 70365d36ad1707e240916e160ced4bc1b3a57a0f4a1dfe7da3fd5c53afd1527610b53097c39deb72e63893bf5ad7d1676c7d546710043d24573347936103a9f0 + "@babel/types": ^7.22.5 + checksum: fe9686714caf7d70aedb46c3cce090f8b915b206e09225f1e4dbc416786c2fdbbee40b38b23c268b7ccef749dd2db35f255338fb4f2444429874d900dede5ad2 languageName: node linkType: hard -"@babel/helper-get-function-arity@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/helper-get-function-arity@npm:7.12.13" +"@babel/helper-split-export-declaration@npm:^7.22.6": + version: 7.22.6 + resolution: "@babel/helper-split-export-declaration@npm:7.22.6" dependencies: - "@babel/types": ^7.12.13 - checksum: 847ef9f4d4b2dc38574db6b0732c3add1cd65d54bab94c24d319188f2066c9b9ab2b0dda539cae7281d12ec302e3335b11ca3dcfb555566138d213905d00f711 + "@babel/types": ^7.22.5 + checksum: e141cace583b19d9195f9c2b8e17a3ae913b7ee9b8120246d0f9ca349ca6f03cb2c001fd5ec57488c544347c0bb584afec66c936511e447fd20a360e591ac921 languageName: node linkType: hard -"@babel/helper-member-expression-to-functions@npm:^7.13.12": - version: 7.13.12 - resolution: "@babel/helper-member-expression-to-functions@npm:7.13.12" +"@babel/helper-string-parser@npm:^7.22.5": + version: 7.22.5 + resolution: "@babel/helper-string-parser@npm:7.22.5" + checksum: 836851ca5ec813077bbb303acc992d75a360267aa3b5de7134d220411c852a6f17de7c0d0b8c8dcc0f567f67874c00f4528672b2a4f1bc978a3ada64c8c78467 + languageName: node + linkType: hard + +"@babel/helper-validator-identifier@npm:^7.22.20": + version: 7.22.20 + resolution: "@babel/helper-validator-identifier@npm:7.22.20" + checksum: 136412784d9428266bcdd4d91c32bcf9ff0e8d25534a9d94b044f77fe76bc50f941a90319b05aafd1ec04f7d127cd57a179a3716009ff7f3412ef835ada95bdc + languageName: node + linkType: hard + +"@babel/helper-validator-option@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/helper-validator-option@npm:7.22.15" + checksum: 68da52b1e10002a543161494c4bc0f4d0398c8fdf361d5f7f4272e95c45d5b32d974896d44f6a0ea7378c9204988879d73613ca683e13bd1304e46d25ff67a8d + languageName: node + linkType: hard + +"@babel/helpers@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/helpers@npm:7.23.2" dependencies: - "@babel/types": ^7.13.12 - checksum: 76a5ad6ae60bec5cbef56dc2ef0e08269a985c41137e50bce642dd6c1d228c5454f656ba0de4ec819dfcbced007ec516f3c1ceaffff8d17c3957e4608be0fc8c + "@babel/template": ^7.22.15 + "@babel/traverse": ^7.23.2 + "@babel/types": ^7.23.0 + checksum: aaf4828df75ec460eaa70e5c9f66e6dadc28dae3728ddb7f6c13187dbf38030e142194b83d81aa8a31bbc35a5529a5d7d3f3cf59d5d0b595f5dd7f9d8f1ced8e languageName: node linkType: hard -"@babel/helper-module-imports@npm:^7.13.12": - version: 7.13.12 - resolution: "@babel/helper-module-imports@npm:7.13.12" +"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.22.13": + version: 7.22.20 + resolution: "@babel/highlight@npm:7.22.20" dependencies: - "@babel/types": ^7.13.12 - checksum: 9abb5e3acb5630bf519b4205b7784947b64f93d573ed13579d894611392e48cac40b598f67b34c7b342fc6ac6d2262dcdecf125cac8806888328e914b2775c43 - languageName: node - linkType: hard - -"@babel/helper-module-transforms@npm:^7.14.2": - version: 7.14.2 - resolution: "@babel/helper-module-transforms@npm:7.14.2" - dependencies: - "@babel/helper-module-imports": ^7.13.12 - "@babel/helper-replace-supers": ^7.13.12 - "@babel/helper-simple-access": ^7.13.12 - "@babel/helper-split-export-declaration": ^7.12.13 - "@babel/helper-validator-identifier": ^7.14.0 - "@babel/template": ^7.12.13 - "@babel/traverse": ^7.14.2 - "@babel/types": ^7.14.2 - checksum: cb6930cb45cf078c3057f60769ad5f6ec3e6bbbcfc6ea069aa4b1ead15642fe43ada1bb1c13bed66bcde74c0c4ca12be818aff3067562494429b7688e6a3ea16 - languageName: node - linkType: hard - -"@babel/helper-optimise-call-expression@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/helper-optimise-call-expression@npm:7.12.13" - dependencies: - "@babel/types": ^7.12.13 - checksum: 9925679d67a809c42b990825ee31f5f02787f385e27301da3343487f6a84482c7e2ebdd2b6d1ed066c309218750f2b7f78ab44dbb25ea6152f71d22839962a35 - languageName: node - linkType: hard - -"@babel/helper-replace-supers@npm:^7.13.12": - version: 7.14.3 - resolution: "@babel/helper-replace-supers@npm:7.14.3" - dependencies: - "@babel/helper-member-expression-to-functions": ^7.13.12 - "@babel/helper-optimise-call-expression": ^7.12.13 - "@babel/traverse": ^7.14.2 - "@babel/types": ^7.14.2 - checksum: c01363c502951e9b2714e2b7fd56a59c3a5680af710e43384d9a494e0e822599d30fabeeca4373ae84e3d9e34e9f73c88a3f240f3aaeefbc6cea24da117ef776 - languageName: node - linkType: hard - -"@babel/helper-simple-access@npm:^7.13.12": - version: 7.13.12 - resolution: "@babel/helper-simple-access@npm:7.13.12" - dependencies: - "@babel/types": ^7.13.12 - checksum: afd0a8d1c7530a5184cd6fc23175d765a3eeb16f35c83090a90cec1010fcca684d238287c2e0f7ea9c0939d52235603986bd73c61e689d600f5dd1d1ef0ca204 - languageName: node - linkType: hard - -"@babel/helper-split-export-declaration@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/helper-split-export-declaration@npm:7.12.13" - dependencies: - "@babel/types": ^7.12.13 - checksum: adc8954a0b7e44548425f62ce4dc865d3efa288f016852539d3eddaeec13cf4baff3f397b494dc0f609aab51942480891cbe1adc955e05fe048b7f92db2bcf20 - languageName: node - linkType: hard - -"@babel/helper-validator-identifier@npm:^7.14.0": - version: 7.14.0 - resolution: "@babel/helper-validator-identifier@npm:7.14.0" - checksum: 6276d57677bac403dd2e99176b4c7bc38ecdf757ac845c4339a2bf2f6f1003203caaa5af24880bcc7084ee59b6687a897263592cab21f49da29eb8c246f2a0d8 - languageName: node - linkType: hard - -"@babel/helper-validator-option@npm:^7.12.17": - version: 7.12.17 - resolution: "@babel/helper-validator-option@npm:7.12.17" - checksum: 940e7b78dc05508d726b721e06dfdbfd56fd8a56522ee37e9d6f3ed9bef6df5dba82a1d74434e7670b0e5e5caa699f1454a63254199df3cddc2a0829acf75e36 - languageName: node - linkType: hard - -"@babel/helpers@npm:^7.14.0": - version: 7.14.0 - resolution: "@babel/helpers@npm:7.14.0" - dependencies: - "@babel/template": ^7.12.13 - "@babel/traverse": ^7.14.0 - "@babel/types": ^7.14.0 - checksum: 276716f77cd5e439543e446bed25c1b541b855bb94ffe6f6193335653e17c044503fa194de25cc2f9208dbfa6b406c2cb77e4e0382f2ca4241bd6bf773dcd091 - languageName: node - linkType: hard - -"@babel/highlight@npm:^7.10.4, @babel/highlight@npm:^7.12.13": - version: 7.14.0 - resolution: "@babel/highlight@npm:7.14.0" - dependencies: - "@babel/helper-validator-identifier": ^7.14.0 - chalk: ^2.0.0 + "@babel/helper-validator-identifier": ^7.22.20 + chalk: ^2.4.2 js-tokens: ^4.0.0 - checksum: 5aae226c0d4caf66bbb2d11e961449b470eb952aa827b06da5921d845a5dc233789e2537aa1e7b0f567d1cae93feca3976d6b52c9d6d87481ed9ded0bebf13a2 + checksum: 84bd034dca309a5e680083cd827a766780ca63cef37308404f17653d32366ea76262bd2364b2d38776232f2d01b649f26721417d507e8b4b6da3e4e739f6d134 languageName: node linkType: hard -"@babel/parser@npm:^7.12.13, @babel/parser@npm:^7.14.2, @babel/parser@npm:^7.14.3": - version: 7.14.3 - resolution: "@babel/parser@npm:7.14.3" +"@babel/parser@npm:^7.22.15, @babel/parser@npm:^7.23.0": + version: 7.23.0 + resolution: "@babel/parser@npm:7.23.0" bin: parser: ./bin/babel-parser.js - checksum: 39653900d3a76fba8891fbe3e799f6619d2286dc57be0b95ce8d93e667eec4c52df58603d03fbdc11edcbd0b4110a5f7393538315e02a234178581033dbcb881 + checksum: 453fdf8b9e2c2b7d7b02139e0ce003d1af21947bbc03eb350fb248ee335c9b85e4ab41697ddbdd97079698de825a265e45a0846bb2ed47a2c7c1df833f42a354 languageName: node linkType: hard "@babel/runtime@npm:^7.11.2": - version: 7.14.0 - resolution: "@babel/runtime@npm:7.14.0" + version: 7.23.2 + resolution: "@babel/runtime@npm:7.23.2" dependencies: - regenerator-runtime: ^0.13.4 - checksum: 257dc2594355dd8798455f25b6f2f9a00f162b427391265752933e0e3337b3b14661d09283187d5039ae3764f723890ffe767e995c73d662f1d515bdf48e5ade + regenerator-runtime: ^0.14.0 + checksum: 6c4df4839ec75ca10175f636d6362f91df8a3137f86b38f6cd3a4c90668a0fe8e9281d320958f4fbd43b394988958585a17c3aab2a4ea6bf7316b22916a371fb languageName: node linkType: hard -"@babel/template@npm:^7.12.13": - version: 7.12.13 - resolution: "@babel/template@npm:7.12.13" +"@babel/template@npm:^7.22.15": + version: 7.22.15 + resolution: "@babel/template@npm:7.22.15" dependencies: - "@babel/code-frame": ^7.12.13 - "@babel/parser": ^7.12.13 - "@babel/types": ^7.12.13 - checksum: e0377316317ff55c794ec79f70d8f27b5cd3323ce76278ade525c264af669952b09613288221c76ee4abd49626a5f014a60ec4a637694c9121a1b77f820792d0 + "@babel/code-frame": ^7.22.13 + "@babel/parser": ^7.22.15 + "@babel/types": ^7.22.15 + checksum: 1f3e7dcd6c44f5904c184b3f7fe280394b191f2fed819919ffa1e529c259d5b197da8981b6ca491c235aee8dbad4a50b7e31304aa531271cb823a4a24a0dd8fd languageName: node linkType: hard -"@babel/traverse@npm:^7.14.0, @babel/traverse@npm:^7.14.2": - version: 7.14.2 - resolution: "@babel/traverse@npm:7.14.2" +"@babel/traverse@npm:^7.23.2": + version: 7.23.2 + resolution: "@babel/traverse@npm:7.23.2" dependencies: - "@babel/code-frame": ^7.12.13 - "@babel/generator": ^7.14.2 - "@babel/helper-function-name": ^7.14.2 - "@babel/helper-split-export-declaration": ^7.12.13 - "@babel/parser": ^7.14.2 - "@babel/types": ^7.14.2 + "@babel/code-frame": ^7.22.13 + "@babel/generator": ^7.23.0 + "@babel/helper-environment-visitor": ^7.22.20 + "@babel/helper-function-name": ^7.23.0 + "@babel/helper-hoist-variables": ^7.22.5 + "@babel/helper-split-export-declaration": ^7.22.6 + "@babel/parser": ^7.23.0 + "@babel/types": ^7.23.0 debug: ^4.1.0 globals: ^11.1.0 - checksum: 054d5e44429254e1beade12c40e6fb0ea5a12242d4a17173da2d9c0f76644d0c32f578f3e284f6d8c059cea8f4c3c1a1e45a021ee4233dcf047341252d1022a3 + checksum: 26a1eea0dde41ab99dde8b9773a013a0dc50324e5110a049f5d634e721ff08afffd54940b3974a20308d7952085ac769689369e9127dea655f868c0f6e1ab35d languageName: node linkType: hard -"@babel/types@npm:^7.12.13, @babel/types@npm:^7.13.12, @babel/types@npm:^7.14.0, @babel/types@npm:^7.14.2, @babel/types@npm:^7.8.3": - version: 7.14.2 - resolution: "@babel/types@npm:7.14.2" +"@babel/types@npm:^7.22.15, @babel/types@npm:^7.22.5, @babel/types@npm:^7.23.0, @babel/types@npm:^7.8.3": + version: 7.23.0 + resolution: "@babel/types@npm:7.23.0" dependencies: - "@babel/helper-validator-identifier": ^7.14.0 + "@babel/helper-string-parser": ^7.22.5 + "@babel/helper-validator-identifier": ^7.22.20 to-fast-properties: ^2.0.0 - checksum: b8e4796ba859e038c05b2cab20f029a017e881a97eaf53be431b617c4e4c5370d8a4701950866e526b8177053fa943db1b2d6e6c7269ad869e5a0c62e67e1274 + checksum: 215fe04bd7feef79eeb4d33374b39909ce9cad1611c4135a4f7fdf41fe3280594105af6d7094354751514625ea92d0875aba355f53e86a92600f290e77b0e604 languageName: node linkType: hard @@ -362,7 +358,7 @@ __metadata: axios: ^0.21.2 babylon: ^6.18.0 chalk: ^4 - cosmjs-types: ^0.8.0 + cosmjs-types: ^0.9.0 diff: ^4 eslint: ^7.5 eslint-config-prettier: ^8.3.0 @@ -408,7 +404,7 @@ __metadata: "@types/pako": ^1.0.1 "@typescript-eslint/eslint-plugin": ^5.54.0 "@typescript-eslint/parser": ^5.54.0 - cosmjs-types: ^0.8.0 + cosmjs-types: ^0.9.0 eslint: ^7.5 eslint-config-prettier: ^8.3.0 eslint-import-resolver-node: ^0.3.4 @@ -424,11 +420,9 @@ __metadata: karma-firefox-launcher: ^2.1.0 karma-jasmine: ^5 karma-jasmine-html-reporter: ^1.5.4 - long: ^4.0.0 nyc: ^15.1.0 pako: ^2.0.2 prettier: ^2.8.1 - protobufjs: ~6.11.4 readonly-date: ^1.0.0 ses: ^0.11.0 source-map-support: ^0.5.19 @@ -767,7 +761,7 @@ __metadata: "@types/node": ^18 "@typescript-eslint/eslint-plugin": ^5.54.0 "@typescript-eslint/parser": ^5.54.0 - cosmjs-types: ^0.8.0 + cosmjs-types: ^0.9.0 eslint: ^7.5 eslint-config-prettier: ^8.3.0 eslint-import-resolver-node: ^0.3.4 @@ -783,7 +777,6 @@ __metadata: karma-firefox-launcher: ^2.1.0 karma-jasmine: ^5 karma-jasmine-html-reporter: ^1.5.4 - long: ^4.0.0 nyc: ^15.1.0 prettier: ^2.8.1 protobufjs: ~6.11.4 @@ -864,7 +857,7 @@ __metadata: "@types/node": ^18 "@typescript-eslint/eslint-plugin": ^5.54.0 "@typescript-eslint/parser": ^5.54.0 - cosmjs-types: ^0.8.0 + cosmjs-types: ^0.9.0 eslint: ^7.5 eslint-config-prettier: ^8.3.0 eslint-import-resolver-node: ^0.3.4 @@ -880,10 +873,8 @@ __metadata: karma-firefox-launcher: ^2.1.0 karma-jasmine: ^5 karma-jasmine-html-reporter: ^1.5.4 - long: ^4.0.0 nyc: ^15.1.0 prettier: ^2.8.1 - protobufjs: ~6.11.4 readonly-date: ^1.0.0 ses: ^0.11.0 source-map-support: ^0.5.19 @@ -1110,6 +1101,17 @@ __metadata: languageName: node linkType: hard +"@jridgewell/gen-mapping@npm:^0.3.2": + version: 0.3.3 + resolution: "@jridgewell/gen-mapping@npm:0.3.3" + dependencies: + "@jridgewell/set-array": ^1.0.1 + "@jridgewell/sourcemap-codec": ^1.4.10 + "@jridgewell/trace-mapping": ^0.3.9 + checksum: 4a74944bd31f22354fc01c3da32e83c19e519e3bbadafa114f6da4522ea77dd0c2842607e923a591d60a76699d819a2fbb6f3552e277efdb9b58b081390b60ab + languageName: node + linkType: hard + "@jridgewell/resolve-uri@npm:3.1.0, @jridgewell/resolve-uri@npm:^3.0.3": version: 3.1.0 resolution: "@jridgewell/resolve-uri@npm:3.1.0" @@ -1575,9 +1577,9 @@ __metadata: linkType: hard "@types/jasmine@npm:*, @types/jasmine@npm:^4": - version: 4.0.3 - resolution: "@types/jasmine@npm:4.0.3" - checksum: 9d2af9ddb5750667bc9a3b439542fc9457c6eac2ab2c74801f598b03b9bc5cee1338fa8e75e6804dff1856e64539e8b0e3962ed8664a702f362d3db62eb9cd3a + version: 4.6.1 + resolution: "@types/jasmine@npm:4.6.1" + checksum: 1c34321d0bc99339c015f6a25c148753e5f16cf7dd2ec76cbe93f66500a8647efdaeaadb918918dd624198ef5574d0ce582f3b93220a8235b48bf1915d528c8a languageName: node linkType: hard @@ -2616,6 +2618,20 @@ __metadata: languageName: node linkType: hard +"browserslist@npm:^4.21.9": + version: 4.22.1 + resolution: "browserslist@npm:4.22.1" + dependencies: + caniuse-lite: ^1.0.30001541 + electron-to-chromium: ^1.4.535 + node-releases: ^2.0.13 + update-browserslist-db: ^1.0.13 + bin: + browserslist: cli.js + checksum: 7e6b10c53f7dd5d83fd2b95b00518889096382539fed6403829d447e05df4744088de46a571071afb447046abc3c66ad06fbc790e70234ec2517452e32ffd862 + languageName: node + linkType: hard + "buffer-from@npm:^1.0.0": version: 1.1.1 resolution: "buffer-from@npm:1.1.1" @@ -2723,7 +2739,14 @@ __metadata: languageName: node linkType: hard -"chalk@npm:^2.0.0": +"caniuse-lite@npm:^1.0.30001541": + version: 1.0.30001553 + resolution: "caniuse-lite@npm:1.0.30001553" + checksum: 45d6a2a3c3a098c8093a4c8883fceafb4bbf59d96f6fd5bb381ba4581d07eecbe0ede4f55383f0d49374154ff6a808bd90fbe32b17ccd1738034d2579787b33c + languageName: node + linkType: hard + +"chalk@npm:^2.4.2": version: 2.4.2 resolution: "chalk@npm:2.4.2" dependencies: @@ -2987,6 +3010,13 @@ __metadata: languageName: node linkType: hard +"convert-source-map@npm:^2.0.0": + version: 2.0.0 + resolution: "convert-source-map@npm:2.0.0" + checksum: 63ae9933be5a2b8d4509daca5124e20c14d023c820258e484e32dc324d34c2754e71297c94a05784064ad27615037ef677e3f0c00469fb55f409d2bb21261035 + languageName: node + linkType: hard + "cookie@npm:~0.4.1": version: 0.4.1 resolution: "cookie@npm:0.4.1" @@ -3044,13 +3074,10 @@ __metadata: languageName: unknown linkType: soft -"cosmjs-types@npm:^0.8.0": - version: 0.8.0 - resolution: "cosmjs-types@npm:0.8.0" - dependencies: - long: ^4.0.0 - protobufjs: ~6.11.2 - checksum: 99714ec956d2cb2e521d39896c9c9a24cf9df0d370265c203646ea015b51e86472efc0cb11f67a80f0649d178b0bcff77ac659e67fdfc8b2437cd7a42018577f +"cosmjs-types@npm:^0.9.0": + version: 0.9.0 + resolution: "cosmjs-types@npm:0.9.0" + checksum: 9b00d169eca334f27418bb80b39e0cff0196af40b0079e1f85536246059279207b853bdb6ec224ead0a02d15d4b7f6bf16bc096d41c436426aa5f8976ed2b430 languageName: node linkType: hard @@ -3287,6 +3314,13 @@ __metadata: languageName: node linkType: hard +"electron-to-chromium@npm:^1.4.535": + version: 1.4.565 + resolution: "electron-to-chromium@npm:1.4.565" + checksum: 5baa0ea0b53fea50f66668e5d61b0a5418f5925a88737fbfbb1cfb991e0b9b5de32479807d70413f8c46b9f3d08e87ad567c032bf36305f212da54fcb20bb355 + languageName: node + linkType: hard + "elliptic@npm:^6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" @@ -4907,10 +4941,10 @@ __metadata: languageName: node linkType: hard -"jasmine-core@npm:^4.1.0, jasmine-core@npm:^4.2.0": - version: 4.2.0 - resolution: "jasmine-core@npm:4.2.0" - checksum: 86c731bb4d3d1f0149ced89f5b5729dccdeda963c6e844e6ec6ac21a76f46086e9aa47bcb1bd65024b48685af3c8c970368665682deaf81bc01203a3ff9ab03f +"jasmine-core@npm:^4.1.0, jasmine-core@npm:^4.6.0": + version: 4.6.0 + resolution: "jasmine-core@npm:4.6.0" + checksum: c5c5ce16c512cf0bc8b6b4f2d4f0ac7b23cae90624e0cd9d22da3baab3266e9a4da5a9363fb7937b16e0a4cf550bb79183cd74483ce55cfff4b6678434d599b7 languageName: node linkType: hard @@ -4924,14 +4958,14 @@ __metadata: linkType: hard "jasmine@npm:^4": - version: 4.2.1 - resolution: "jasmine@npm:4.2.1" + version: 4.6.0 + resolution: "jasmine@npm:4.6.0" dependencies: glob: ^7.1.6 - jasmine-core: ^4.2.0 + jasmine-core: ^4.6.0 bin: jasmine: bin/jasmine.js - checksum: 3fe11afeadcccdb7bbdfc8c6436fce649d480ded2af64f8d6d1d297f3b7dda76aa3f104ff161bb374f3ab9ca9480e86a33e7d502524400c686eb91649224c55b + checksum: 1034466aac682b212259cd47f681ca70de02e56bf05c2ed51d3a31f3b4da2a797b281e015fed7d0c218aa849e7496ae7595022c48756ca96952c512b813ae465 languageName: node linkType: hard @@ -5020,14 +5054,12 @@ __metadata: languageName: node linkType: hard -"json5@npm:^2.1.2": - version: 2.2.0 - resolution: "json5@npm:2.2.0" - dependencies: - minimist: ^1.2.5 +"json5@npm:^2.2.3": + version: 2.2.3 + resolution: "json5@npm:2.2.3" bin: json5: lib/cli.js - checksum: e88fc5274bb58fc99547baa777886b069d2dd96d9cfc4490b305fd16d711dabd5979e35a4f90873cefbeb552e216b041a304fe56702bedba76e19bc7845f208d + checksum: 2a7436a93393830bce797d4626275152e37e877b265e94ca69c99e3d20c2b9dab021279146a39cdb700e71b2dd32a4cebd1514cd57cee102b1af906ce5040349 languageName: node linkType: hard @@ -5324,6 +5356,15 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^5.1.1": + version: 5.1.1 + resolution: "lru-cache@npm:5.1.1" + dependencies: + yallist: ^3.0.2 + checksum: c154ae1cbb0c2206d1501a0e94df349653c92c8cbb25236d7e85190bcaf4567a03ac6eb43166fabfa36fd35623694da7233e88d9601fbf411a9a481d85dbd2cb + languageName: node + linkType: hard + "lru-cache@npm:^6.0.0": version: 6.0.0 resolution: "lru-cache@npm:6.0.0" @@ -5783,6 +5824,13 @@ __metadata: languageName: node linkType: hard +"node-releases@npm:^2.0.13": + version: 2.0.13 + resolution: "node-releases@npm:2.0.13" + checksum: 17ec8f315dba62710cae71a8dad3cd0288ba943d2ece43504b3b1aa8625bf138637798ab470b1d9035b0545996f63000a8a926e0f6d35d0996424f8b6d36dda3 + languageName: node + linkType: hard + "noop-logger@npm:^0.1.1": version: 0.1.1 resolution: "noop-logger@npm:0.1.1" @@ -6182,6 +6230,13 @@ __metadata: languageName: node linkType: hard +"picocolors@npm:^1.0.0": + version: 1.0.0 + resolution: "picocolors@npm:1.0.0" + checksum: a2e8092dd86c8396bdba9f2b5481032848525b3dc295ce9b57896f931e63fc16f79805144321f72976383fc249584672a75cc18d6777c6b757603f372f745981 + languageName: node + linkType: hard + "picomatch@npm:^2.0.4, picomatch@npm:^2.2.1, picomatch@npm:^2.2.3": version: 2.2.3 resolution: "picomatch@npm:2.2.3" @@ -6305,7 +6360,7 @@ __metadata: languageName: node linkType: hard -"protobufjs@npm:^6.8.8, protobufjs@npm:~6.11.2, protobufjs@npm:~6.11.4": +"protobufjs@npm:^6.8.8, protobufjs@npm:~6.11.4": version: 6.11.4 resolution: "protobufjs@npm:6.11.4" dependencies: @@ -6514,10 +6569,10 @@ __metadata: languageName: node linkType: hard -"regenerator-runtime@npm:^0.13.4": - version: 0.13.8 - resolution: "regenerator-runtime@npm:0.13.8" - checksum: 5f89699ab578301e3f47fe323d2a9e19ed4b7302481b37ce96843602be3a5cb1e5b66a07c1500e69d4710c1dd6fa3b3f3e56d188ef56df4c17a744d853ac36ed +"regenerator-runtime@npm:^0.14.0": + version: 0.14.0 + resolution: "regenerator-runtime@npm:0.14.0" + checksum: 1c977ad82a82a4412e4f639d65d22be376d3ebdd30da2c003eeafdaaacd03fc00c2320f18120007ee700900979284fc78a9f00da7fb593f6e6eeebc673fba9a3 languageName: node linkType: hard @@ -6725,6 +6780,15 @@ __metadata: languageName: node linkType: hard +"semver@npm:^6.3.1": + version: 6.3.1 + resolution: "semver@npm:6.3.1" + bin: + semver: bin/semver.js + checksum: ae47d06de28836adb9d3e25f22a92943477371292d9b665fb023fae278d345d508ca1958232af086d85e0155aee22e313e100971898bbb8d5d89b8b1d4054ca2 + languageName: node + linkType: hard + "semver@npm:^7.2.1, semver@npm:^7.3.5, semver@npm:^7.3.7, semver@npm:^7.5.2": version: 7.5.3 resolution: "semver@npm:7.5.3" @@ -6951,13 +7015,6 @@ __metadata: languageName: node linkType: hard -"source-map@npm:^0.5.0": - version: 0.5.7 - resolution: "source-map@npm:0.5.7" - checksum: 5dc2043b93d2f194142c7f38f74a24670cd7a0063acdaf4bf01d2964b402257ae843c2a8fa822ad5b71013b5fcafa55af7421383da919752f22ff488bc553f4d - languageName: node - linkType: hard - "source-map@npm:^0.6.0, source-map@npm:^0.6.1, source-map@npm:~0.6.1": version: 0.6.1 resolution: "source-map@npm:0.6.1" @@ -7601,6 +7658,20 @@ __metadata: languageName: node linkType: hard +"update-browserslist-db@npm:^1.0.13": + version: 1.0.13 + resolution: "update-browserslist-db@npm:1.0.13" + dependencies: + escalade: ^3.1.1 + picocolors: ^1.0.0 + peerDependencies: + browserslist: ">= 4.21.0" + bin: + update-browserslist-db: cli.js + checksum: 1e47d80182ab6e4ad35396ad8b61008ae2a1330221175d0abd37689658bdb61af9b705bfc41057fd16682474d79944fb2d86767c5ed5ae34b6276b9bed353322 + languageName: node + linkType: hard + "uri-js@npm:^4.2.2": version: 4.4.1 resolution: "uri-js@npm:4.4.1" @@ -7967,6 +8038,13 @@ __metadata: languageName: node linkType: hard +"yallist@npm:^3.0.2": + version: 3.1.1 + resolution: "yallist@npm:3.1.1" + checksum: 48f7bb00dc19fc635a13a39fe547f527b10c9290e7b3e836b9a8f1ca04d4d342e85714416b3c2ab74949c9c66f9cebb0473e6bc353b79035356103b47641285d + languageName: node + linkType: hard + "yallist@npm:^4.0.0": version: 4.0.0 resolution: "yallist@npm:4.0.0"