Skip to content

Commit

Permalink
update packages
Browse files Browse the repository at this point in the history
adapt changes from the sdk
  • Loading branch information
H34D committed Mar 10, 2023
1 parent 14d85cf commit 57a714f
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 24 deletions.
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -29,7 +29,7 @@
"author": "hide-on-bush",
"dependencies": {
"@babel/preset-typescript": "^7.21.0",
"@masa-finance/masa-sdk": "^1.8.0",
"@masa-finance/masa-sdk": "^1.8.1",
"@metamask/providers": "^10.2.1",
"babel-loader": "^9.1.2",
"babel-plugin-import": "^1.13.6",
Expand All @@ -42,8 +42,7 @@
"react-query": "^3.39.3",
"react-spinners": "^0.13.8",
"rodal": "^2.0.0",
"storybook-addon-sass-postcss": "^0.1.3",
"tsconfig-paths-webpack-plugin": "^4.0.0"
"storybook-addon-sass-postcss": "^0.1.3"
},
"devDependencies": {
"@babel/core": "^7.21.0",
Expand Down Expand Up @@ -72,7 +71,7 @@
"fork-ts-checker-webpack-plugin": "^8.0.0",
"husky": "^8.0.2",
"jest": "^29.5.0",
"mini-css-extract-plugin": "^2.7.2",
"mini-css-extract-plugin": "^2.7.3",
"node-sass": "^8.0.0",
"postcss": "^8.4.21",
"postcss-loader": "^7.0.2",
Expand All @@ -81,14 +80,15 @@
"sass-loader": "^13.2.0",
"size-limit": "^8.1.0",
"style-loader": "^3.3.1",
"terser-webpack-plugin": "^5.3.6",
"terser-webpack-plugin": "^5.3.7",
"ts-jest": "^29.0.5",
"ts-loader": "^9.4.2",
"ts-node": "^10.9.1",
"tsconfig-paths-webpack-plugin": "^4.0.1",
"typedoc": "^0.23.21",
"typedoc-plugin-markdown": "^3.13.6",
"typescript": "^4.6.3",
"webpack": "^5.75.0",
"webpack": "^5.76.0",
"webpack-bundle-analyzer": "^4.8.0",
"webpack-cli": "^5.0.1"
}
Expand Down
2 changes: 1 addition & 1 deletion src/provider/modules/identity/identity.ts
Expand Up @@ -69,7 +69,7 @@ export const useIdentity = (
await queryClient.invalidateQueries(['identity']);
await queryClient.invalidateQueries(['soulnames']);

return !!result;
return !!result?.success;
},
[masa]
);
Expand Down
2 changes: 1 addition & 1 deletion src/provider/modules/soulnames/soulnames.ts
Expand Up @@ -56,7 +56,7 @@ export const useSoulnames = (
);
await queryClient.invalidateQueries(['soulnames']);

return !!result;
return !!result?.success;
},
[masa]
);
Expand Down
83 changes: 67 additions & 16 deletions yarn.lock
Expand Up @@ -2010,10 +2010,10 @@
dependencies:
ethers "~5.7.2"

"@masa-finance/masa-sdk@^1.8.0":
version "1.8.0"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-sdk/-/masa-sdk-1.8.0.tgz#86a468fff18845fd14b01bbdf8d7c4a88806f499"
integrity sha512-yQ1+BVh3sm+kdMZ2zsHAmrTL2tCBYQ9ckxHDw37QIM6DN7iU2IxveznYf0DysIBEPKrhXj7oNly+9YUtryLt2g==
"@masa-finance/masa-sdk@^1.8.1":
version "1.8.1"
resolved "https://registry.yarnpkg.com/@masa-finance/masa-sdk/-/masa-sdk-1.8.1.tgz#2ea4c436c656a41e7f57695d611fc8c638046bd6"
integrity sha512-zsr2B+J2loxfNF1j9L7FYTn05ZY+zJRgF6ICFXzWQHQ5pYBC59VRa5G0SWVWW7AgEtYYjT+W7ELs3PnSvL26Mg==
dependencies:
"@masa-finance/masa-contracts-identity" "^1.3.5"
"@masa-finance/masa-token" "^1.0.0"
Expand Down Expand Up @@ -10576,10 +10576,10 @@ min-indent@^1.0.0:
resolved "https://registry.yarnpkg.com/min-indent/-/min-indent-1.0.1.tgz#a63f681673b30571fbe8bc25686ae746eefa9869"
integrity sha512-I9jwMn07Sy/IwOj3zVkVik2JTvgpaykDZEigL6Rx6N9LbMywwUSMtxET+7lVoDLLd3O3IXwJwvuuns8UB/HeAg==

mini-css-extract-plugin@^2.7.2:
version "2.7.2"
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.2.tgz#e049d3ea7d3e4e773aad585c6cb329ce0c7b72d7"
integrity sha512-EdlUizq13o0Pd+uCp+WO/JpkLvHRVGt97RqfeGhXqAcorYo1ypJSpkV+WDT0vY/kmh/p7wRdJNJtuyK540PXDw==
mini-css-extract-plugin@^2.7.3:
version "2.7.3"
resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.3.tgz#794aa4d598bf178a66b2a35fe287c3df3eac394e"
integrity sha512-CD9cXeKeXLcnMw8FZdtfrRrLaM7gwCl4nKuKn2YkY2Bw5wdlB8zU2cCzw+w2zS9RFvbrufTBkMCJACNPwqQA0w==
dependencies:
schema-utils "^4.0.0"

Expand Down Expand Up @@ -13143,7 +13143,7 @@ serialize-javascript@^5.0.1:
dependencies:
randombytes "^2.1.0"

serialize-javascript@^6.0.0:
serialize-javascript@^6.0.0, serialize-javascript@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c"
integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w==
Expand Down Expand Up @@ -13943,7 +13943,7 @@ terser-webpack-plugin@^4.2.3:
terser "^5.3.4"
webpack-sources "^1.4.3"

terser-webpack-plugin@^5.0.3, terser-webpack-plugin@^5.1.3, terser-webpack-plugin@^5.3.6:
terser-webpack-plugin@^5.0.3, terser-webpack-plugin@^5.1.3:
version "5.3.6"
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.6.tgz#5590aec31aa3c6f771ce1b1acca60639eab3195c"
integrity sha512-kfLFk+PoLUQIbLmB1+PZDMRSZS99Mp+/MHqDNmMA6tOItzRt+Npe3E+fsMs5mfcM0wCtrrdU387UnV+vnSffXQ==
Expand All @@ -13954,6 +13954,17 @@ terser-webpack-plugin@^5.0.3, terser-webpack-plugin@^5.1.3, terser-webpack-plugi
serialize-javascript "^6.0.0"
terser "^5.14.1"

terser-webpack-plugin@^5.3.7:
version "5.3.7"
resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.7.tgz#ef760632d24991760f339fe9290deb936ad1ffc7"
integrity sha512-AfKwIktyP7Cu50xNjXF/6Qb5lBNzYaWpU6YfoX3uZicTx0zTy0stDDCsvjDapKsSDvOeWo5MEq4TmdBy2cNoHw==
dependencies:
"@jridgewell/trace-mapping" "^0.3.17"
jest-worker "^27.4.5"
schema-utils "^3.1.1"
serialize-javascript "^6.0.1"
terser "^5.16.5"

terser@^4.1.2, terser@^4.6.3:
version "4.8.1"
resolved "https://registry.yarnpkg.com/terser/-/terser-4.8.1.tgz#a00e5634562de2239fd404c649051bf6fc21144f"
Expand All @@ -13973,6 +13984,16 @@ terser@^5.10.0, terser@^5.14.1, terser@^5.3.4:
commander "^2.20.0"
source-map-support "~0.5.20"

terser@^5.16.5:
version "5.16.6"
resolved "https://registry.yarnpkg.com/terser/-/terser-5.16.6.tgz#f6c7a14a378ee0630fbe3ac8d1f41b4681109533"
integrity sha512-IBZ+ZQIA9sMaXmRZCUMDjNH0D5AQQfdn4WUjHL0+1lF4TP1IHRJbrhb6fNaXWikrYQTSkb7SLxkeXAiy1p7mbg==
dependencies:
"@jridgewell/source-map" "^0.3.2"
acorn "^8.5.0"
commander "^2.20.0"
source-map-support "~0.5.20"

test-exclude@^6.0.0:
version "6.0.0"
resolved "https://registry.yarnpkg.com/test-exclude/-/test-exclude-6.0.0.tgz#04a8698661d805ea6fa293b6cb9e63ac044ef15e"
Expand Down Expand Up @@ -14162,14 +14183,14 @@ ts-pnp@^1.1.6:
resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92"
integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw==

tsconfig-paths-webpack-plugin@^4.0.0:
version "4.0.0"
resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.0.0.tgz#84008fc3e3e0658fdb0262758b07b4da6265ff1a"
integrity sha512-fw/7265mIWukrSHd0i+wSwx64kYUSAKPfxRDksjKIYTxSAp9W9/xcZVBF4Kl0eqQd5eBpAQ/oQrc5RyM/0c1GQ==
tsconfig-paths-webpack-plugin@^4.0.1:
version "4.0.1"
resolved "https://registry.yarnpkg.com/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.0.1.tgz#a24651d0f69668a1abad38d3c2489855c257460d"
integrity sha512-m5//KzLoKmqu2MVix+dgLKq70MnFi8YL8sdzQZ6DblmCdfuq/y3OqvJd5vMndg2KEVCOeNz8Es4WVZhYInteLw==
dependencies:
chalk "^4.1.0"
enhanced-resolve "^5.7.0"
tsconfig-paths "^4.0.0"
tsconfig-paths "^4.1.2"

tsconfig-paths@^3.14.1:
version "3.14.2"
Expand All @@ -14181,7 +14202,7 @@ tsconfig-paths@^3.14.1:
minimist "^1.2.6"
strip-bom "^3.0.0"

tsconfig-paths@^4.0.0:
tsconfig-paths@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz#4819f861eef82e6da52fb4af1e8c930a39ed979a"
integrity sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw==
Expand Down Expand Up @@ -14937,6 +14958,36 @@ webpack@4:
watchpack "^2.4.0"
webpack-sources "^3.2.3"

webpack@^5.76.0:
version "5.76.0"
resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.76.0.tgz#f9fb9fb8c4a7dbdcd0d56a98e56b8a942ee2692c"
integrity sha512-l5sOdYBDunyf72HW8dF23rFtWq/7Zgvt/9ftMof71E/yUb1YLOBmTgA2K4vQthB3kotMrSj609txVE0dnr2fjA==
dependencies:
"@types/eslint-scope" "^3.7.3"
"@types/estree" "^0.0.51"
"@webassemblyjs/ast" "1.11.1"
"@webassemblyjs/wasm-edit" "1.11.1"
"@webassemblyjs/wasm-parser" "1.11.1"
acorn "^8.7.1"
acorn-import-assertions "^1.7.6"
browserslist "^4.14.5"
chrome-trace-event "^1.0.2"
enhanced-resolve "^5.10.0"
es-module-lexer "^0.9.0"
eslint-scope "5.1.1"
events "^3.2.0"
glob-to-regexp "^0.4.1"
graceful-fs "^4.2.9"
json-parse-even-better-errors "^2.3.1"
loader-runner "^4.2.0"
mime-types "^2.1.27"
neo-async "^2.6.2"
schema-utils "^3.1.0"
tapable "^2.1.1"
terser-webpack-plugin "^5.1.3"
watchpack "^2.4.0"
webpack-sources "^3.2.3"

whatwg-fetch@>=0.10.0:
version "3.6.2"
resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz#dced24f37f2624ed0281725d51d0e2e3fe677f8c"
Expand Down

0 comments on commit 57a714f

Please sign in to comment.