Skip to content

Commit

Permalink
fix: TypeDoc upgrade (#2057)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeSchwert authored Aug 5, 2024
1 parent 18f2a87 commit 841249d
Show file tree
Hide file tree
Showing 7 changed files with 155 additions and 134 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"nx": "19.3.2",
"release-it": "^16.1.3",
"syncpack": "^9.8.4",
"typedoc": "^0.24.8",
"typedoc": "^0.26.5",
"wsrun": "^5.2.4"
},
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions packages/checkout/sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"rollup-plugin-dts": "^6.1.1",
"rollup-plugin-polyfill-node": "^0.13.0",
"text-encoding": "^0.7.0",
"typedoc": "^0.24.8",
"typedoc-plugin-markdown": "^3.15.2",
"typedoc": "^0.26.5",
"typedoc-plugin-markdown": "^4.2.3",
"typescript": "^5.5.4"
},
"homepage": "https://github.com/immutable/ts-immutable-sdk",
Expand Down
88 changes: 44 additions & 44 deletions packages/x-client/src/IMXClient.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/x-client/src/utils/formatError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { IMXError } from '../types/errors';
/**
* [Formats an error in the IMXError shape](https://axios-http.com/docs/handling_errors)
* @param error - The Error object thrown by the request
* @returns IMXError
* @returns {@link IMXError} - The formatted error
*/
export function formatError(error: unknown): IMXError {
if (axios.isAxiosError(error) && error.response) {
Expand Down
1 change: 0 additions & 1 deletion typedoc.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"TypeAlias",
"Variable",
"Function",
"ObjectLiteral",
"Property",
"Constructor",
"Method",
Expand Down
9 changes: 1 addition & 8 deletions typedoc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
{
"entryPoints": [
"sdk/",
"packages/blockchain-data/sdk/",
"packages/checkout/sdk/",
"packages/config/",
"packages/x-client/",
"packages/orderbook/",
"packages/passport/sdk/",
"packages/x-provider/"
],
"name": "ts-immutable-sdk",
"entryPointStrategy": "packages",
Expand All @@ -20,7 +13,7 @@
"readme": "./sdk/README.md",
// Potentially useful for debugging
"logLevel": "Verbose",
"titleLink": "https://docs.immutable.com/docs/x/sdks/typescript",
"titleLink": "https://docs.immutable.com/sdks/zkEVM/typescript",
"navigationLinks": {
"Immutable Docs": "https://docs.immutable.com",
"Immutable Hub": "https://hub.immutable.com"
Expand Down
183 changes: 106 additions & 77 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4299,8 +4299,8 @@ __metadata:
rollup-plugin-dts: ^6.1.1
rollup-plugin-polyfill-node: ^0.13.0
text-encoding: ^0.7.0
typedoc: ^0.24.8
typedoc-plugin-markdown: ^3.15.2
typedoc: ^0.26.5
typedoc-plugin-markdown: ^4.2.3
typescript: ^5.5.4
uuid: ^8.3.2
languageName: unknown
Expand Down Expand Up @@ -9849,6 +9849,15 @@ __metadata:
languageName: node
linkType: hard

"@shikijs/core@npm:1.12.1":
version: 1.12.1
resolution: "@shikijs/core@npm:1.12.1"
dependencies:
"@types/hast": ^3.0.4
checksum: 05e5db2747145e3c77966e7563004af24f5492d3207aa080b8720555b976142116446424822d53a436df9dfe7c4c1f97bf4fdde1429ca050ca89bde54e9ae51c
languageName: node
linkType: hard

"@sinclair/typebox@npm:^0.24.1":
version: 0.24.51
resolution: "@sinclair/typebox@npm:0.24.51"
Expand Down Expand Up @@ -12386,6 +12395,15 @@ __metadata:
languageName: node
linkType: hard

"@types/hast@npm:^3.0.4":
version: 3.0.4
resolution: "@types/hast@npm:3.0.4"
dependencies:
"@types/unist": "*"
checksum: 7a973e8d16fcdf3936090fa2280f408fb2b6a4f13b42edeb5fbd614efe042b82eac68e298e556d50f6b4ad585a3a93c353e9c826feccdc77af59de8dd400d044
languageName: node
linkType: hard

"@types/html-minifier-terser@npm:^6.0.0":
version: 6.1.0
resolution: "@types/html-minifier-terser@npm:6.1.0"
Expand Down Expand Up @@ -12975,6 +12993,13 @@ __metadata:
languageName: node
linkType: hard

"@types/unist@npm:*":
version: 3.0.2
resolution: "@types/unist@npm:3.0.2"
checksum: 3d04d0be69316e5f14599a0d993a208606c12818cf631fd399243d1dc7a9bd8a3917d6066baa6abc290814afbd744621484756803c80cba892c39cd4b4a85616
languageName: node
linkType: hard

"@types/uuid@npm:^8.3.0, @types/uuid@npm:^8.3.4":
version: 8.3.4
resolution: "@types/uuid@npm:8.3.4"
Expand Down Expand Up @@ -15274,13 +15299,6 @@ __metadata:
languageName: node
linkType: hard

"ansi-sequence-parser@npm:^1.1.0":
version: 1.1.0
resolution: "ansi-sequence-parser@npm:1.1.0"
checksum: 75f4d3a4c555655a698aec05b5763cbddcd16ccccdbfd178fb0aa471ab74fdf98e031b875ef26e64be6a95cf970c89238744b26de6e34af97f316d5186b1df53
languageName: node
linkType: hard

"ansi-styles@npm:^3.2.0, ansi-styles@npm:^3.2.1":
version: 3.2.1
resolution: "ansi-styles@npm:3.2.1"
Expand Down Expand Up @@ -24129,24 +24147,6 @@ __metadata:
languageName: node
linkType: hard

"handlebars@npm:^4.7.7":
version: 4.7.7
resolution: "handlebars@npm:4.7.7"
dependencies:
minimist: ^1.2.5
neo-async: ^2.6.0
source-map: ^0.6.1
uglify-js: ^3.1.4
wordwrap: ^1.0.0
dependenciesMeta:
uglify-js:
optional: true
bin:
handlebars: bin/handlebars
checksum: 1e79a43f5e18d15742977cb987923eab3e2a8f44f2d9d340982bcb69e1735ed049226e534d7c1074eaddaf37e4fb4f471a8adb71cddd5bc8cf3f894241df5cee
languageName: node
linkType: hard

"hardhat-gas-reporter@npm:^1.0.8":
version: 1.0.10
resolution: "hardhat-gas-reporter@npm:1.0.10"
Expand Down Expand Up @@ -28860,6 +28860,15 @@ __metadata:
languageName: node
linkType: hard

"linkify-it@npm:^5.0.0":
version: 5.0.0
resolution: "linkify-it@npm:5.0.0"
dependencies:
uc.micro: ^2.0.0
checksum: b0b86cadaf816b64c947a83994ceaad1c15f9fe7e079776ab88699fb71afd7b8fc3fd3d0ae5ebec8c92c1d347be9ba257b8aef338c0ebf81b0d27dcf429a765a
languageName: node
linkType: hard

"lint-staged@npm:^13.2.0":
version: 13.2.3
resolution: "lint-staged@npm:13.2.3"
Expand Down Expand Up @@ -29589,22 +29598,29 @@ __metadata:
languageName: node
linkType: hard

"markdown-it@npm:^14.1.0":
version: 14.1.0
resolution: "markdown-it@npm:14.1.0"
dependencies:
argparse: ^2.0.1
entities: ^4.4.0
linkify-it: ^5.0.0
mdurl: ^2.0.0
punycode.js: ^2.3.1
uc.micro: ^2.1.0
bin:
markdown-it: bin/markdown-it.mjs
checksum: 07296b45ebd0b13a55611a24d1b1ad002c6729ec54f558f597846994b0b7b1de79d13cd99ff3e7b6e9e027f36b63125cdcf69174da294ecabdd4e6b9fff39e5d
languageName: node
linkType: hard

"markdown-table@npm:^1.1.3":
version: 1.1.3
resolution: "markdown-table@npm:1.1.3"
checksum: 292e8c956ae833c2ccb0a55cd8d87980cd657ab11cd9ff63c3fcc4d3a518d3b3882ba07410b8f477ba9e30b3f70658677e4e8acf61816dd6cfdd1f6293130664
languageName: node
linkType: hard

"marked@npm:^4.3.0":
version: 4.3.0
resolution: "marked@npm:4.3.0"
bin:
marked: bin/marked.js
checksum: 0db6817893952c3ec710eb9ceafb8468bf5ae38cb0f92b7b083baa13d70b19774674be04db5b817681fa7c5c6a088f61300815e4dd75a59696f4716ad69f6260
languageName: node
linkType: hard

"matcher-collection@npm:^2.0.0":
version: 2.0.1
resolution: "matcher-collection@npm:2.0.1"
Expand Down Expand Up @@ -29654,6 +29670,13 @@ __metadata:
languageName: node
linkType: hard

"mdurl@npm:^2.0.0":
version: 2.0.0
resolution: "mdurl@npm:2.0.0"
checksum: 880bc289ef668df0bb34c5b2b5aaa7b6ea755052108cdaf4a5e5968ad01cf27e74927334acc9ebcc50a8628b65272ae6b1fd51fae1330c130e261c0466e1a3b2
languageName: node
linkType: hard

"media-query-parser@npm:^2.0.2":
version: 2.0.2
resolution: "media-query-parser@npm:2.0.2"
Expand Down Expand Up @@ -29905,7 +29928,7 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:9.0.3, minimatch@npm:^9.0.0, minimatch@npm:^9.0.1":
"minimatch@npm:9.0.3, minimatch@npm:^9.0.1":
version: 9.0.3
resolution: "minimatch@npm:9.0.3"
dependencies:
Expand All @@ -29923,7 +29946,7 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^9.0.3, minimatch@npm:^9.0.4":
"minimatch@npm:^9.0.3, minimatch@npm:^9.0.4, minimatch@npm:^9.0.5":
version: 9.0.5
resolution: "minimatch@npm:9.0.5"
dependencies:
Expand Down Expand Up @@ -30394,7 +30417,7 @@ __metadata:
languageName: node
linkType: hard

"neo-async@npm:^2.6.0, neo-async@npm:^2.6.2":
"neo-async@npm:^2.6.2":
version: 2.6.2
resolution: "neo-async@npm:2.6.2"
checksum: deac9f8d00eda7b2e5cd1b2549e26e10a0faa70adaa6fdadca701cc55f49ee9018e427f424bac0c790b7c7e2d3068db97f3093f1093975f2acb8f8818b936ed9
Expand Down Expand Up @@ -33880,6 +33903,13 @@ __metadata:
languageName: node
linkType: hard

"punycode.js@npm:^2.3.1":
version: 2.3.1
resolution: "punycode.js@npm:2.3.1"
checksum: 13466d7ed5e8dacdab8c4cc03837e7dd14218a59a40eb14a837f1f53ca396e18ef2c4ee6d7766b8ed2fc391d6a3ac489eebf2de83b3596f5a54e86df4a251b72
languageName: node
linkType: hard

"punycode@npm:^1.4.1":
version: 1.4.1
resolution: "punycode@npm:1.4.1"
Expand Down Expand Up @@ -36310,15 +36340,13 @@ __metadata:
languageName: node
linkType: hard

"shiki@npm:^0.14.1":
version: 0.14.3
resolution: "shiki@npm:0.14.3"
"shiki@npm:^1.9.1":
version: 1.12.1
resolution: "shiki@npm:1.12.1"
dependencies:
ansi-sequence-parser: ^1.1.0
jsonc-parser: ^3.2.0
vscode-oniguruma: ^1.7.0
vscode-textmate: ^8.0.0
checksum: a4dd98e3b2a5dd8be207448f111ffb9ad2ed6c530f215714d8b61cbf91ec3edbabb09109b8ec58a26678aacd24e8161d5a9bc0c1fa1b4f64b27ceb180cbd0c89
"@shikijs/core": 1.12.1
"@types/hast": ^3.0.4
checksum: 1c58d8d15fe54f36d1eb344166416a0648fe480050742f9e3ad06c638c21253d34fc8a02a0c32734306674a62ea05c2c902ff64d4087bf98ab5011c859895bcc
languageName: node
linkType: hard

Expand Down Expand Up @@ -38634,7 +38662,7 @@ __metadata:
release-it: ^16.1.3
syncpack: ^9.8.4
tslib: ^2.6.2
typedoc: ^0.24.8
typedoc: ^0.26.5
wsrun: ^5.2.4
languageName: unknown
linkType: soft
Expand Down Expand Up @@ -39196,30 +39224,29 @@ __metadata:
languageName: node
linkType: hard

"typedoc-plugin-markdown@npm:^3.15.2":
version: 3.15.3
resolution: "typedoc-plugin-markdown@npm:3.15.3"
dependencies:
handlebars: ^4.7.7
"typedoc-plugin-markdown@npm:^4.2.3":
version: 4.2.3
resolution: "typedoc-plugin-markdown@npm:4.2.3"
peerDependencies:
typedoc: ">=0.24.0"
checksum: 845d8907948a7ea9f3eed31d8c2f1a4053569fb763f5c5187d06ecbffd247c6a6e532eaf0ec09d11f09eabbf26a3df8646c96fc3ac1a836cc9af273fa0e53413
typedoc: 0.26.x
checksum: 8b0b6e45d3db3736292fe2a379eded812d9dda9d19dd6d7ae657e142f95279aa30007dcff812640498ad36cf7d7b21307a8eba5e7f11079b8c2da707a7f990d2
languageName: node
linkType: hard

"typedoc@npm:^0.24.8":
version: 0.24.8
resolution: "typedoc@npm:0.24.8"
"typedoc@npm:^0.26.5":
version: 0.26.5
resolution: "typedoc@npm:0.26.5"
dependencies:
lunr: ^2.3.9
marked: ^4.3.0
minimatch: ^9.0.0
shiki: ^0.14.1
markdown-it: ^14.1.0
minimatch: ^9.0.5
shiki: ^1.9.1
yaml: ^2.4.5
peerDependencies:
typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x
typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x
bin:
typedoc: bin/typedoc
checksum: a46a14497f789fb3594e6c3af2e45276934ac46df40b7ed15a504ee51dc7a8013a2ffb3a54fd73abca6a2b71f97d3ec9ad356fa9aa81d29743e4645a965a2ae0
checksum: 0587096c2b91536249d3aa9cc5e83a43086e318006ddeadc3c21c424d10a934b6bc19c56fda682d16a75f8133eb2730f54adace79996adeec89188fe331594c3
languageName: node
linkType: hard

Expand Down Expand Up @@ -39264,6 +39291,13 @@ __metadata:
languageName: node
linkType: hard

"uc.micro@npm:^2.0.0, uc.micro@npm:^2.1.0":
version: 2.1.0
resolution: "uc.micro@npm:2.1.0"
checksum: 37197358242eb9afe367502d4638ac8c5838b78792ab218eafe48287b0ed28aaca268ec0392cc5729f6c90266744de32c06ae938549aee041fc93b0f9672d6b2
languageName: node
linkType: hard

"ufo@npm:^1.3.0, ufo@npm:^1.3.1, ufo@npm:^1.3.2":
version: 1.4.0
resolution: "ufo@npm:1.4.0"
Expand Down Expand Up @@ -40124,20 +40158,6 @@ __metadata:
languageName: node
linkType: hard

"vscode-oniguruma@npm:^1.7.0":
version: 1.7.0
resolution: "vscode-oniguruma@npm:1.7.0"
checksum: 53519d91d90593e6fb080260892e87d447e9b200c4964d766772b5053f5699066539d92100f77f1302c91e8fc5d9c772fbe40fe4c90f3d411a96d5a9b1e63f42
languageName: node
linkType: hard

"vscode-textmate@npm:^8.0.0":
version: 8.0.0
resolution: "vscode-textmate@npm:8.0.0"
checksum: 127780dfea89559d70b8326df6ec344cfd701312dd7f3f591a718693812b7852c30b6715e3cfc8b3200a4e2515b4c96f0843c0eacc0a3020969b5de262c2a4bb
languageName: node
linkType: hard

"w3c-hr-time@npm:^1.0.2":
version: 1.0.2
resolution: "w3c-hr-time@npm:1.0.2"
Expand Down Expand Up @@ -41481,6 +41501,15 @@ __metadata:
languageName: node
linkType: hard

"yaml@npm:^2.4.5":
version: 2.5.0
resolution: "yaml@npm:2.5.0"
bin:
yaml: bin.mjs
checksum: a116dca5c61641d9bf1f1016c6e71daeb1ed4915f5930ed237d45ab7a605aa5d92c332ff64879a6cd088cabede008c778774e3060ffeb4cd617d28088e4b2d83
languageName: node
linkType: hard

"yargs-parser@npm:21.1.1, yargs-parser@npm:^21.0.1, yargs-parser@npm:^21.1.1":
version: 21.1.1
resolution: "yargs-parser@npm:21.1.1"
Expand Down

0 comments on commit 841249d

Please sign in to comment.