dcl-catalyst-client 17.0.0 → 17.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/dist/client/CatalystClient.d.ts +13 -0
  2. package/dist/client/CatalystClient.d.ts.map +1 -0
  3. package/dist/client/CatalystClient.js +74 -0
  4. package/dist/client/CatalystClient.js.map +1 -0
  5. package/dist/client/ContentClient.d.ts +28 -0
  6. package/dist/client/ContentClient.d.ts.map +1 -0
  7. package/dist/client/ContentClient.js +173 -0
  8. package/dist/client/ContentClient.js.map +1 -0
  9. package/dist/client/LambdasClient.d.ts +17 -0
  10. package/dist/client/LambdasClient.d.ts.map +1 -0
  11. package/dist/client/LambdasClient.js +115 -0
  12. package/dist/client/LambdasClient.js.map +1 -0
  13. package/dist/client/types.d.ts +51 -0
  14. package/dist/client/types.d.ts.map +1 -0
  15. package/dist/client/types.js +3 -0
  16. package/dist/client/types.js.map +1 -0
  17. package/dist/client/utils/DeploymentBuilder.d.ts +47 -0
  18. package/dist/client/utils/DeploymentBuilder.d.ts.map +1 -0
  19. package/dist/client/utils/DeploymentBuilder.js +162 -0
  20. package/dist/client/utils/DeploymentBuilder.js.map +1 -0
  21. package/dist/client/utils/Helper.d.ts +62 -0
  22. package/dist/client/utils/Helper.d.ts.map +1 -0
  23. package/dist/client/utils/Helper.js +274 -0
  24. package/dist/client/utils/Helper.js.map +1 -0
  25. package/dist/client/utils/fetcher.d.ts +3 -0
  26. package/dist/client/utils/fetcher.d.ts.map +1 -0
  27. package/dist/client/utils/fetcher.js +16 -0
  28. package/dist/client/utils/fetcher.js.map +1 -0
  29. package/dist/client/utils/retry.d.ts +2 -0
  30. package/dist/client/utils/retry.d.ts.map +1 -0
  31. package/dist/client/utils/retry.js +26 -0
  32. package/dist/client/utils/retry.js.map +1 -0
  33. package/dist/contracts/abi.d.ts +59 -0
  34. package/dist/contracts/abi.d.ts.map +1 -0
  35. package/dist/contracts/abi.js +942 -0
  36. package/dist/contracts/abi.js.map +1 -0
  37. package/dist/contracts/index.d.ts +19 -0
  38. package/dist/contracts/index.d.ts.map +1 -0
  39. package/dist/contracts/index.js +86 -0
  40. package/dist/contracts/index.js.map +1 -0
  41. package/dist/contracts/types.d.ts +2 -0
  42. package/dist/contracts/types.d.ts.map +1 -0
  43. package/dist/contracts/types.js +3 -0
  44. package/dist/contracts/types.js.map +1 -0
  45. package/dist/contracts-snapshots/data.d.ts +22 -0
  46. package/dist/contracts-snapshots/data.d.ts.map +1 -0
  47. package/dist/contracts-snapshots/data.js +355 -0
  48. package/dist/contracts-snapshots/data.js.map +1 -0
  49. package/dist/contracts-snapshots/index.d.ts +6 -0
  50. package/dist/contracts-snapshots/index.d.ts.map +1 -0
  51. package/dist/contracts-snapshots/index.js +17 -0
  52. package/dist/contracts-snapshots/index.js.map +1 -0
  53. package/dist/index.d.ts +4 -0
  54. package/dist/index.d.ts.map +1 -0
  55. package/dist/index.js +20 -0
  56. package/dist/index.js.map +1 -0
  57. package/dist/package.json +7 -3
  58. package/dist/types.d.ts +6 -0
  59. package/dist/types.d.ts.map +1 -0
  60. package/dist/types.js +3 -0
  61. package/dist/types.js.map +1 -0
  62. package/package.json +9 -5
  63. package/.eslintignore +0 -6
  64. package/.eslintrc.json +0 -13
  65. package/.github/dependabot.yml +0 -17
  66. package/.github/workflows/build-and-publish.yml +0 -23
  67. package/.github/workflows/validate-pr-title.yml +0 -9
  68. package/.prettierignore +0 -3
  69. package/.vscode/launch.json +0 -14
  70. package/.vscode/settings.json +0 -26
  71. package/coverage/clover.xml +0 -452
  72. package/coverage/coverage-final.json +0 -11
  73. package/coverage/lcov-report/base.css +0 -224
  74. package/coverage/lcov-report/block-navigation.js +0 -87
  75. package/coverage/lcov-report/favicon.png +0 -0
  76. package/coverage/lcov-report/index.html +0 -161
  77. package/coverage/lcov-report/prettify.css +0 -1
  78. package/coverage/lcov-report/prettify.js +0 -2
  79. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  80. package/coverage/lcov-report/sorter.js +0 -196
  81. package/coverage/lcov.info +0 -863
  82. package/jest.config.js +0 -13
  83. package/scripts/generate-snapshots.ts +0 -49
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;CACX,CAAA"}
package/dist/types.js ADDED
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":""}
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "dcl-catalyst-client",
3
- "version": "17.0.0",
4
- "commit": "c0d519f8ad897f2b323c847dc9b2f9996882c381",
3
+ "version": "17.1.0",
4
+ "commit": "faa2258e1670e6c692b87f05703c6a475d1fe258",
5
5
  "description": "A client to query and perform changes on Decentraland's catalyst servers",
6
6
  "main": "dist/index.js",
7
- "typings": "./dist/index.d.ts",
7
+ "typings": "dist/index.d.ts",
8
8
  "scripts": {
9
9
  "prebuild": "rm -rf dist",
10
10
  "generate:snapshots": "ts-node -T scripts/generate-snapshots.ts",
11
- "build": "tsc --project tsconfig-build.json && yarn generate:snapshots",
11
+ "build": "cp package.json ./src/package.json && tsc --project tsconfig.json && yarn generate:snapshots",
12
12
  "prewatch": "rm -rf dist",
13
13
  "watch": "tsc --watch --project tsconfig-build.json",
14
14
  "test": "jest --forceExit --detectOpenHandles --coverage --verbose",
@@ -73,5 +73,9 @@
73
73
  },
74
74
  "optionalDependencies": {
75
75
  "ethers": "6.2.3"
76
- }
76
+ },
77
+ "files": [
78
+ "package.json",
79
+ "dist"
80
+ ]
77
81
  }
package/.eslintignore DELETED
@@ -1,6 +0,0 @@
1
- dist
2
- jest.config.js
3
- scripts
4
- coverage
5
- src/contracts-snapshots/data.ts
6
- docs
package/.eslintrc.json DELETED
@@ -1,13 +0,0 @@
1
- {
2
- "extends": "@dcl/eslint-config",
3
- "parser": "@typescript-eslint/parser",
4
- "parserOptions": {
5
- "ecmaVersion": 2020, // Allows for the parsing of modern ECMAScript features
6
- "sourceType": "module", // Allows for the use of imports
7
- "project": [
8
- // Specify it only for TypeScript files
9
- "./tsconfig.json",
10
- "./test/tsconfig.json"
11
- ]
12
- }
13
- }
@@ -1,17 +0,0 @@
1
- version: 2
2
- updates:
3
- - package-ecosystem: npm
4
- directory: "/"
5
- schedule:
6
- interval: weekly
7
- day: monday
8
- time: "09:00"
9
- timezone: "America/Buenos_Aires"
10
- allow:
11
- - dependency-name: "@dcl/*"
12
- - dependency-name: "@catalyst/*"
13
- - dependency-name: "@well-known-components/*"
14
- - dependency-name: "dcl-*"
15
- versioning-strategy: auto
16
- commit-message:
17
- prefix: "chore: "
@@ -1,23 +0,0 @@
1
- name: build and publish
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- pull_request:
8
- release:
9
- types:
10
- - created
11
-
12
-
13
- jobs:
14
- build-publish:
15
- uses: decentraland/platform-actions/.github/workflows/libs-build-and-publish.yml@main
16
- secrets:
17
- SDK_TEAM_S3_BUCKET: ${{ secrets.SDK_TEAM_S3_BUCKET }}
18
- GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }}
19
- GITLAB_URL: ${{ secrets.GITLAB_URL }}
20
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
21
- SDK_TEAM_AWS_ID: ${{ secrets.SDK_TEAM_AWS_ID }}
22
- SDK_TEAM_AWS_SECRET: ${{ secrets.SDK_TEAM_AWS_SECRET }}
23
- SDK_TEAM_S3_BASE_URL: ${{ secrets.SDK_TEAM_S3_BASE_URL }}
@@ -1,9 +0,0 @@
1
- name: validate-pr-title
2
-
3
- on:
4
- pull_request:
5
- types: [edited, opened, reopened, synchronize]
6
-
7
- jobs:
8
- title-matches-convention:
9
- uses: decentraland/actions/.github/workflows/validate-pr-title.yml@main
package/.prettierignore DELETED
@@ -1,3 +0,0 @@
1
- dist
2
- **/*.json
3
- src/CatalystList.ts
@@ -1,14 +0,0 @@
1
- {
2
- "version": "0.2.0",
3
- "configurations": [
4
- {
5
- "name": "Debug Jest Tests",
6
- "type": "node",
7
- "request": "launch",
8
- "runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand"],
9
- "console": "integratedTerminal",
10
- "internalConsoleOptions": "neverOpen",
11
- "port": 9229
12
- }
13
- ]
14
- }
@@ -1,26 +0,0 @@
1
- {
2
- "files.exclude": {
3
- "bazel*": true,
4
- "data*": true,
5
- "dist/**/*": true,
6
- "node_modules/**/*": true
7
- },
8
- "typescript.tsdk": "node_modules/typescript/lib",
9
- "editor.formatOnSave": true,
10
- "cSpell.words": [
11
- "Ethereum"
12
- ],
13
- "editor.rulers": [
14
- 120
15
- ],
16
- "editor.codeActionsOnSave": {
17
- "source.fixAll.eslint": true,
18
- "source.organizeImports": true
19
- },
20
- "eslint.validate": [
21
- "typescript"
22
- ],
23
- "files.insertFinalNewline": true,
24
- "files.trimTrailingWhitespace": true,
25
- "files.trimFinalNewlines": true
26
- }
@@ -1,452 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1683548616708" clover="3.2.0">
3
- <project timestamp="1683548616708" name="All files">
4
- <metrics statements="404" coveredstatements="312" conditionals="171" coveredconditionals="98" methods="99" coveredmethods="79" elements="674" coveredelements="489" complexity="0" loc="404" ncloc="404" packages="4" files="10" classes="10"/>
5
- <package name="src">
6
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
7
- <file name="index.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/index.ts">
8
- <metrics statements="3" coveredstatements="3" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
9
- <line num="1" count="3" type="stmt"/>
10
- <line num="2" count="3" type="stmt"/>
11
- <line num="3" count="3" type="stmt"/>
12
- </file>
13
- </package>
14
- <package name="src.client">
15
- <metrics statements="127" coveredstatements="86" conditionals="46" coveredconditionals="26" methods="32" coveredmethods="23"/>
16
- <file name="CatalystClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/CatalystClient.ts">
17
- <metrics statements="40" coveredstatements="5" conditionals="6" coveredconditionals="0" methods="6" coveredmethods="0"/>
18
- <line num="3" count="3" type="stmt"/>
19
- <line num="4" count="3" type="stmt"/>
20
- <line num="5" count="3" type="stmt"/>
21
- <line num="9" count="0" type="stmt"/>
22
- <line num="10" count="0" type="stmt"/>
23
- <line num="11" count="0" type="stmt"/>
24
- <line num="13" count="0" type="stmt"/>
25
- <line num="22" count="3" type="stmt"/>
26
- <line num="23" count="0" type="stmt"/>
27
- <line num="24" count="0" type="stmt"/>
28
- <line num="26" count="0" type="stmt"/>
29
- <line num="27" count="0" type="stmt"/>
30
- <line num="28" count="0" type="stmt"/>
31
- <line num="31" count="0" type="stmt"/>
32
- <line num="32" count="0" type="stmt"/>
33
- <line num="34" count="0" type="cond" truecount="0" falsecount="1"/>
34
- <line num="35" count="0" type="stmt"/>
35
- <line num="38" count="0" type="stmt"/>
36
- <line num="40" count="0" type="stmt"/>
37
- <line num="44" count="0" type="cond" truecount="0" falsecount="1"/>
38
- <line num="45" count="0" type="stmt"/>
39
- <line num="48" count="0" type="cond" truecount="0" falsecount="1"/>
40
- <line num="49" count="0" type="stmt"/>
41
- <line num="52" count="0" type="stmt"/>
42
- <line num="57" count="0" type="stmt"/>
43
- <line num="61" count="0" type="cond" truecount="0" falsecount="1"/>
44
- <line num="62" count="0" type="stmt"/>
45
- <line num="65" count="0" type="cond" truecount="0" falsecount="1"/>
46
- <line num="66" count="0" type="stmt"/>
47
- <line num="69" count="0" type="stmt"/>
48
- <line num="74" count="0" type="stmt"/>
49
- <line num="77" count="0" type="stmt"/>
50
- <line num="84" count="3" type="stmt"/>
51
- <line num="88" count="0" type="stmt"/>
52
- <line num="90" count="0" type="stmt"/>
53
- <line num="91" count="0" type="stmt"/>
54
- <line num="92" count="0" type="stmt"/>
55
- <line num="94" count="0" type="cond" truecount="0" falsecount="1"/>
56
- <line num="95" count="0" type="stmt"/>
57
- <line num="99" count="0" type="stmt"/>
58
- </file>
59
- <file name="ContentClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/ContentClient.ts">
60
- <metrics statements="59" coveredstatements="53" conditionals="35" coveredconditionals="22" methods="16" coveredmethods="13"/>
61
- <line num="1" count="3" type="stmt"/>
62
- <line num="4" count="3" type="stmt"/>
63
- <line num="12" count="3" type="stmt"/>
64
- <line num="13" count="3" type="stmt"/>
65
- <line num="14" count="3" type="stmt"/>
66
- <line num="15" count="3" type="stmt"/>
67
- <line num="18" count="2" type="cond" truecount="1" falsecount="0"/>
68
- <line num="19" count="2" type="stmt"/>
69
- <line num="21" count="0" type="stmt"/>
70
- <line num="54" count="3" type="stmt"/>
71
- <line num="60" count="3" type="cond" truecount="2" falsecount="2"/>
72
- <line num="61" count="3" type="cond" truecount="4" falsecount="2"/>
73
- <line num="63" count="3" type="stmt"/>
74
- <line num="66" count="6" type="stmt"/>
75
- <line num="67" count="6" type="cond" truecount="2" falsecount="0"/>
76
- <line num="71" count="6" type="cond" truecount="1" falsecount="0"/>
77
- <line num="72" count="2" type="stmt"/>
78
- <line num="74" count="4" type="stmt"/>
79
- <line num="81" count="3" type="stmt"/>
80
- <line num="82" count="18" type="stmt"/>
81
- <line num="83" count="18" type="stmt"/>
82
- <line num="92" count="0" type="cond" truecount="0" falsecount="2"/>
83
- <line num="93" count="0" type="stmt"/>
84
- <line num="110" count="0" type="cond" truecount="0" falsecount="2"/>
85
- <line num="111" count="0" type="stmt"/>
86
- <line num="125" count="2" type="stmt"/>
87
- <line num="127" count="2" type="stmt"/>
88
- <line num="128" count="2" type="stmt"/>
89
- <line num="129" count="2" type="stmt"/>
90
- <line num="131" count="2" type="stmt"/>
91
- <line num="132" count="2" type="stmt"/>
92
- <line num="133" count="4" type="cond" truecount="2" falsecount="1"/>
93
- <line num="134" count="4" type="cond" truecount="1" falsecount="1"/>
94
- <line num="136" count="4" type="cond" truecount="2" falsecount="0"/>
95
- <line num="139" count="0" type="stmt"/>
96
- <line num="144" count="2" type="stmt"/>
97
- <line num="148" count="1" type="stmt"/>
98
- <line num="150" count="1" type="cond" truecount="1" falsecount="1"/>
99
- <line num="155" count="1" type="stmt"/>
100
- <line num="159" count="4" type="cond" truecount="1" falsecount="0"/>
101
- <line num="160" count="1" type="stmt"/>
102
- <line num="163" count="3" type="cond" truecount="1" falsecount="1"/>
103
- <line num="169" count="3" type="stmt"/>
104
- <line num="173" count="6" type="cond" truecount="1" falsecount="0"/>
105
- <line num="174" count="1" type="stmt"/>
106
- <line num="177" count="5" type="cond" truecount="1" falsecount="1"/>
107
- <line num="183" count="5" type="stmt"/>
108
- <line num="187" count="3" type="stmt"/>
109
- <line num="188" count="3" type="cond" truecount="1" falsecount="0"/>
110
- <line num="189" count="1" type="stmt"/>
111
- <line num="191" count="2" type="stmt"/>
112
- <line num="195" count="5" type="cond" truecount="1" falsecount="0"/>
113
- <line num="196" count="1" type="stmt"/>
114
- <line num="199" count="4" type="stmt"/>
115
- <line num="211" count="2" type="stmt"/>
116
- <line num="213" count="2" type="stmt"/>
117
- <line num="215" count="2" type="stmt"/>
118
- <line num="218" count="18" type="stmt"/>
119
- <line num="226" count="3" type="stmt"/>
120
- </file>
121
- <file name="LambdasClient.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/LambdasClient.ts">
122
- <metrics statements="28" coveredstatements="28" conditionals="5" coveredconditionals="4" methods="10" coveredmethods="10"/>
123
- <line num="1" count="3" type="stmt"/>
124
- <line num="19" count="3" type="stmt"/>
125
- <line num="51" count="3" type="stmt"/>
126
- <line num="52" count="21" type="stmt"/>
127
- <line num="53" count="21" type="stmt"/>
128
- <line num="56" count="2" type="cond" truecount="1" falsecount="0"/>
129
- <line num="57" count="1" type="stmt"/>
130
- <line num="60" count="1" type="cond" truecount="1" falsecount="1"/>
131
- <line num="66" count="1" type="stmt"/>
132
- <line num="70" count="3" type="stmt"/>
133
- <line num="71" count="3" type="cond" truecount="1" falsecount="0"/>
134
- <line num="72" count="1" type="stmt"/>
135
- <line num="75" count="2" type="stmt"/>
136
- <line num="91" count="3" type="stmt"/>
137
- <line num="106" count="2" type="stmt"/>
138
- <line num="110" count="2" type="stmt"/>
139
- <line num="120" count="3" type="stmt"/>
140
- <line num="121" count="3" type="cond" truecount="1" falsecount="0"/>
141
- <line num="122" count="1" type="stmt"/>
142
- <line num="125" count="2" type="stmt"/>
143
- <line num="141" count="3" type="stmt"/>
144
- <line num="156" count="1" type="stmt"/>
145
- <line num="160" count="1" type="stmt"/>
146
- <line num="170" count="2" type="stmt"/>
147
- <line num="171" count="2" type="stmt"/>
148
- <line num="175" count="2" type="stmt"/>
149
- <line num="176" count="2" type="stmt"/>
150
- <line num="179" count="21" type="stmt"/>
151
- </file>
152
- </package>
153
- <package name="src.client.utils">
154
- <metrics statements="226" coveredstatements="175" conditionals="125" coveredconditionals="72" methods="56" coveredmethods="45"/>
155
- <file name="DeploymentBuilder.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/utils/DeploymentBuilder.ts">
156
- <metrics statements="65" coveredstatements="34" conditionals="55" coveredconditionals="27" methods="17" coveredmethods="8"/>
157
- <line num="1" count="4" type="stmt"/>
158
- <line num="2" count="4" type="stmt"/>
159
- <line num="8" count="4" type="stmt"/>
160
- <line num="22" count="7" type="cond" truecount="1" falsecount="0"/>
161
- <line num="24" count="6" type="stmt"/>
162
- <line num="35" count="6" type="cond" truecount="1" falsecount="0"/>
163
- <line num="36" count="6" type="stmt"/>
164
- <line num="37" count="6" type="stmt"/>
165
- <line num="38" count="5" type="stmt"/>
166
- <line num="39" count="5" type="cond" truecount="1" falsecount="0"/>
167
- <line num="40" count="1" type="stmt"/>
168
- <line num="46" count="4" type="stmt"/>
169
- <line num="50" count="5" type="stmt"/>
170
- <line num="52" count="5" type="stmt"/>
171
- <line num="53" count="5" type="stmt"/>
172
- <line num="58" count="5" type="cond" truecount="0" falsecount="1"/>
173
- <line num="59" count="0" type="cond" truecount="0" falsecount="4"/>
174
- <line num="62" count="5" type="stmt"/>
175
- <line num="69" count="4" type="stmt"/>
176
- <line num="83" count="2" type="cond" truecount="2" falsecount="0"/>
177
- <line num="89" count="2" type="stmt"/>
178
- <line num="90" count="1" type="stmt"/>
179
- <line num="92" count="2" type="stmt"/>
180
- <line num="93" count="2" type="stmt"/>
181
- <line num="95" count="2" type="stmt"/>
182
- <line num="107" count="4" type="stmt"/>
183
- <line num="125" count="0" type="cond" truecount="0" falsecount="6"/>
184
- <line num="127" count="0" type="cond" truecount="0" falsecount="3"/>
185
- <line num="128" count="0" type="stmt"/>
186
- <line num="129" count="0" type="stmt"/>
187
- <line num="130" count="0" type="stmt"/>
188
- <line num="138" count="0" type="stmt"/>
189
- <line num="147" count="2" type="cond" truecount="1" falsecount="0"/>
190
- <line num="148" count="1" type="stmt"/>
191
- <line num="152" count="1" type="cond" truecount="7" falsecount="3"/>
192
- <line num="153" count="1" type="stmt"/>
193
- <line num="159" count="1" type="cond" truecount="7" falsecount="3"/>
194
- <line num="162" count="1" type="stmt"/>
195
- <line num="171" count="1" type="cond" truecount="4" falsecount="2"/>
196
- <line num="172" count="1" type="stmt"/>
197
- <line num="174" count="1" type="stmt"/>
198
- <line num="195" count="0" type="cond" truecount="0" falsecount="2"/>
199
- <line num="199" count="0" type="stmt"/>
200
- <line num="200" count="0" type="stmt"/>
201
- <line num="201" count="0" type="stmt"/>
202
- <line num="209" count="0" type="stmt"/>
203
- <line num="210" count="0" type="stmt"/>
204
- <line num="212" count="0" type="stmt"/>
205
- <line num="213" count="0" type="stmt"/>
206
- <line num="215" count="0" type="stmt"/>
207
- <line num="220" count="0" type="stmt"/>
208
- <line num="227" count="0" type="cond" truecount="0" falsecount="1"/>
209
- <line num="229" count="0" type="stmt"/>
210
- <line num="231" count="0" type="stmt"/>
211
- <line num="233" count="0" type="stmt"/>
212
- <line num="234" count="0" type="cond" truecount="0" falsecount="1"/>
213
- <line num="235" count="0" type="stmt"/>
214
- <line num="237" count="0" type="stmt"/>
215
- <line num="238" count="0" type="cond" truecount="0" falsecount="1"/>
216
- <line num="239" count="0" type="stmt"/>
217
- <line num="241" count="0" type="stmt"/>
218
- <line num="242" count="0" type="stmt"/>
219
- <line num="246" count="0" type="stmt"/>
220
- <line num="250" count="0" type="stmt"/>
221
- <line num="251" count="0" type="stmt"/>
222
- </file>
223
- <file name="Helper.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/utils/Helper.ts">
224
- <metrics statements="145" coveredstatements="126" conditionals="66" coveredconditionals="41" methods="36" coveredmethods="34"/>
225
- <line num="1" count="4" type="stmt"/>
226
- <line num="4" count="4" type="stmt"/>
227
- <line num="6" count="4" type="stmt"/>
228
- <line num="7" count="49" type="cond" truecount="1" falsecount="2"/>
229
- <line num="10" count="4" type="cond" truecount="0" falsecount="1"/>
230
- <line num="11" count="2" type="stmt"/>
231
- <line num="12" count="0" type="cond" truecount="0" falsecount="4"/>
232
- <line num="13" count="0" type="stmt"/>
233
- <line num="14" count="0" type="cond" truecount="0" falsecount="2"/>
234
- <line num="15" count="0" type="cond" truecount="0" falsecount="2"/>
235
- <line num="16" count="0" type="stmt"/>
236
- <line num="17" count="0" type="cond" truecount="0" falsecount="2"/>
237
- <line num="18" count="0" type="stmt"/>
238
- <line num="19" count="0" type="stmt"/>
239
- <line num="20" count="0" type="stmt"/>
240
- <line num="22" count="0" type="cond" truecount="0" falsecount="2"/>
241
- <line num="23" count="0" type="stmt"/>
242
- <line num="25" count="0" type="stmt"/>
243
- <line num="28" count="2" type="stmt"/>
244
- <line num="32" count="28" type="stmt"/>
245
- <line num="38" count="4" type="stmt"/>
246
- <line num="39" count="4" type="stmt"/>
247
- <line num="48" count="13" type="cond" truecount="1" falsecount="1"/>
248
- <line num="51" count="13" type="stmt"/>
249
- <line num="53" count="13" type="stmt"/>
250
- <line num="54" count="13" type="stmt"/>
251
- <line num="56" count="13" type="stmt"/>
252
- <line num="61" count="15" type="cond" truecount="2" falsecount="0"/>
253
- <line num="65" count="13" type="stmt"/>
254
- <line num="68" count="4" type="stmt"/>
255
- <line num="73" count="4" type="stmt"/>
256
- <line num="83" count="5" type="cond" truecount="1" falsecount="1"/>
257
- <line num="86" count="5" type="stmt"/>
258
- <line num="89" count="5" type="stmt"/>
259
- <line num="92" count="5" type="stmt"/>
260
- <line num="93" count="5" type="stmt"/>
261
- <line num="94" count="5" type="cond" truecount="2" falsecount="0"/>
262
- <line num="95" count="5" type="stmt"/>
263
- <line num="96" count="5" type="cond" truecount="2" falsecount="0"/>
264
- <line num="97" count="6" type="stmt"/>
265
- <line num="100" count="6" type="stmt"/>
266
- <line num="101" count="6" type="stmt"/>
267
- <line num="102" count="8" type="stmt"/>
268
- <line num="103" count="6" type="stmt"/>
269
- <line num="104" count="6" type="cond" truecount="2" falsecount="0"/>
270
- <line num="106" count="0" type="stmt"/>
271
- <line num="111" count="5" type="stmt"/>
272
- <line num="114" count="4" type="stmt"/>
273
- <line num="121" count="20" type="cond" truecount="2" falsecount="0"/>
274
- <line num="124" count="20" type="cond" truecount="0" falsecount="1"/>
275
- <line num="125" count="0" type="stmt"/>
276
- <line num="129" count="28" type="stmt"/>
277
- <line num="135" count="20" type="stmt"/>
278
- <line num="136" count="8" type="stmt"/>
279
- <line num="140" count="20" type="stmt"/>
280
- <line num="141" count="20" type="stmt"/>
281
- <line num="142" count="8" type="stmt"/>
282
- <line num="143" count="8" type="cond" truecount="0" falsecount="1"/>
283
- <line num="144" count="0" type="stmt"/>
284
- <line num="148" count="8" type="stmt"/>
285
- <line num="152" count="20" type="stmt"/>
286
- <line num="153" count="20" type="stmt"/>
287
- <line num="154" count="20" type="stmt"/>
288
- <line num="156" count="20" type="stmt"/>
289
- <line num="158" count="427" type="cond" truecount="1" falsecount="0"/>
290
- <line num="159" count="2" type="stmt"/>
291
- <line num="160" count="2" type="stmt"/>
292
- <line num="163" count="427" type="stmt"/>
293
- <line num="167" count="20" type="stmt"/>
294
- <line num="169" count="20" type="stmt"/>
295
- <line num="172" count="4" type="stmt"/>
296
- <line num="173" count="20" type="stmt"/>
297
- <line num="174" count="22" type="stmt"/>
298
- <line num="177" count="4" type="stmt"/>
299
- <line num="178" count="8" type="cond" truecount="1" falsecount="0"/>
300
- <line num="179" count="2" type="stmt"/>
301
- <line num="181" count="6" type="stmt"/>
302
- <line num="182" count="13" type="stmt"/>
303
- <line num="184" count="13" type="cond" truecount="2" falsecount="0"/>
304
- <line num="187" count="13" type="cond" truecount="2" falsecount="0"/>
305
- <line num="188" count="11" type="stmt"/>
306
- <line num="189" count="8" type="cond" truecount="2" falsecount="0"/>
307
- <line num="190" count="7" type="stmt"/>
308
- <line num="192" count="1" type="stmt"/>
309
- <line num="196" count="12" type="stmt"/>
310
- <line num="198" count="12" type="stmt"/>
311
- <line num="199" count="5" type="stmt"/>
312
- <line num="202" count="4" type="stmt"/>
313
- <line num="203" count="2" type="cond" truecount="1" falsecount="1"/>
314
- <line num="206" count="4" type="stmt"/>
315
- <line num="207" count="47" type="stmt"/>
316
- <line num="212" count="47" type="stmt"/>
317
- <line num="220" count="19" type="cond" truecount="3" falsecount="0"/>
318
- <line num="224" count="4" type="stmt"/>
319
- <line num="226" count="41" type="stmt"/>
320
- <line num="229" count="41" type="cond" truecount="3" falsecount="0"/>
321
- <line num="230" count="1" type="stmt"/>
322
- <line num="234" count="41" type="cond" truecount="1" falsecount="0"/>
323
- <line num="235" count="1" type="stmt"/>
324
- <line num="238" count="41" type="stmt"/>
325
- <line num="262" count="4" type="stmt"/>
326
- <line num="266" count="42" type="stmt"/>
327
- <line num="267" count="42" type="cond" truecount="0" falsecount="1"/>
328
- <line num="268" count="42" type="cond" truecount="1" falsecount="0"/>
329
- <line num="270" count="42" type="stmt"/>
330
- <line num="274" count="854" type="stmt"/>
331
- <line num="278" count="427" type="cond" truecount="0" falsecount="1"/>
332
- <line num="279" count="0" type="stmt"/>
333
- <line num="281" count="427" type="stmt"/>
334
- <line num="282" count="427" type="cond" truecount="2" falsecount="0"/>
335
- <line num="283" count="427" type="stmt"/>
336
- <line num="284" count="427" type="stmt"/>
337
- <line num="285" count="427" type="stmt"/>
338
- <line num="286" count="427" type="stmt"/>
339
- <line num="290" count="16" type="stmt"/>
340
- <line num="291" count="16" type="stmt"/>
341
- <line num="292" count="16" type="stmt"/>
342
- <line num="297" count="8" type="cond" truecount="0" falsecount="1"/>
343
- <line num="298" count="0" type="stmt"/>
344
- <line num="300" count="8" type="stmt"/>
345
- <line num="302" count="9" type="stmt"/>
346
- <line num="304" count="8" type="stmt"/>
347
- <line num="305" count="8" type="stmt"/>
348
- <line num="310" count="0" type="stmt"/>
349
- <line num="311" count="0" type="stmt"/>
350
- <line num="315" count="22" type="stmt"/>
351
- <line num="316" count="22" type="stmt"/>
352
- <line num="317" count="22" type="stmt"/>
353
- <line num="318" count="31" type="stmt"/>
354
- <line num="319" count="438" type="cond" truecount="2" falsecount="0"/>
355
- <line num="320" count="416" type="stmt"/>
356
- <line num="322" count="22" type="stmt"/>
357
- <line num="323" count="22" type="stmt"/>
358
- <line num="327" count="22" type="stmt"/>
359
- <line num="331" count="66" type="stmt"/>
360
- <line num="332" count="66" type="stmt"/>
361
- <line num="333" count="22" type="cond" truecount="1" falsecount="0"/>
362
- <line num="335" count="22" type="stmt"/>
363
- <line num="338" count="66" type="stmt"/>
364
- <line num="339" count="33" type="stmt"/>
365
- <line num="341" count="66" type="stmt"/>
366
- <line num="345" count="22" type="stmt"/>
367
- <line num="349" count="460" type="stmt"/>
368
- <line num="350" count="460" type="stmt"/>
369
- <line num="354" count="465" type="stmt"/>
370
- </file>
371
- <file name="fetcher.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/utils/fetcher.ts">
372
- <metrics statements="5" coveredstatements="5" conditionals="2" coveredconditionals="2" methods="2" coveredmethods="2"/>
373
- <line num="3" count="3" type="stmt"/>
374
- <line num="5" count="3" type="stmt"/>
375
- <line num="6" count="39" type="stmt"/>
376
- <line num="8" count="37" type="cond" truecount="2" falsecount="0"/>
377
- <line num="12" count="37" type="stmt"/>
378
- </file>
379
- <file name="retry.ts" path="/home/runner/work/catalyst-client/catalyst-client/src/client/utils/retry.ts">
380
- <metrics statements="11" coveredstatements="10" conditionals="2" coveredconditionals="2" methods="1" coveredmethods="1"/>
381
- <line num="1" count="3" type="stmt"/>
382
- <line num="3" count="3" type="stmt"/>
383
- <line num="9" count="3" type="stmt"/>
384
- <line num="10" count="6" type="stmt"/>
385
- <line num="11" count="6" type="stmt"/>
386
- <line num="15" count="4" type="stmt"/>
387
- <line num="16" count="4" type="cond" truecount="2" falsecount="0"/>
388
- <line num="17" count="3" type="stmt"/>
389
- <line num="20" count="3" type="stmt"/>
390
- <line num="22" count="1" type="stmt"/>
391
- <line num="26" count="0" type="stmt"/>
392
- </file>
393
- </package>
394
- <package name="test">
395
- <metrics statements="48" coveredstatements="48" conditionals="0" coveredconditionals="0" methods="11" coveredmethods="11"/>
396
- <file name="components.ts" path="/home/runner/work/catalyst-client/catalyst-client/test/components.ts">
397
- <metrics statements="25" coveredstatements="25" conditionals="0" coveredconditionals="0" methods="4" coveredmethods="4"/>
398
- <line num="1" count="1" type="stmt"/>
399
- <line num="2" count="1" type="stmt"/>
400
- <line num="4" count="1" type="stmt"/>
401
- <line num="5" count="1" type="stmt"/>
402
- <line num="6" count="1" type="stmt"/>
403
- <line num="26" count="1" type="stmt"/>
404
- <line num="28" count="1" type="stmt"/>
405
- <line num="30" count="1" type="stmt"/>
406
- <line num="31" count="2" type="stmt"/>
407
- <line num="33" count="2" type="stmt"/>
408
- <line num="34" count="15" type="stmt"/>
409
- <line num="37" count="2" type="stmt"/>
410
- <line num="38" count="2" type="stmt"/>
411
- <line num="39" count="2" type="stmt"/>
412
- <line num="40" count="2" type="stmt"/>
413
- <line num="43" count="1" type="stmt"/>
414
- <line num="46" count="1" type="stmt"/>
415
- <line num="52" count="1" type="stmt"/>
416
- <line num="54" count="1" type="stmt"/>
417
- <line num="56" count="1" type="stmt"/>
418
- <line num="58" count="1" type="stmt"/>
419
- <line num="60" count="1" type="stmt"/>
420
- <line num="61" count="1" type="stmt"/>
421
- <line num="64" count="1" type="stmt"/>
422
- <line num="73" count="1" type="stmt"/>
423
- </file>
424
- <file name="utils.ts" path="/home/runner/work/catalyst-client/catalyst-client/test/utils.ts">
425
- <metrics statements="23" coveredstatements="23" conditionals="0" coveredconditionals="0" methods="7" coveredmethods="7"/>
426
- <line num="4" count="1" type="stmt"/>
427
- <line num="30" count="1" type="stmt"/>
428
- <line num="33" count="1" type="stmt"/>
429
- <line num="34" count="1" type="stmt"/>
430
- <line num="40" count="1" type="stmt"/>
431
- <line num="41" count="1" type="stmt"/>
432
- <line num="43" count="1" type="stmt"/>
433
- <line num="44" count="1" type="stmt"/>
434
- <line num="45" count="1" type="stmt"/>
435
- <line num="48" count="1" type="stmt"/>
436
- <line num="49" count="1" type="stmt"/>
437
- <line num="56" count="1" type="stmt"/>
438
- <line num="57" count="2" type="stmt"/>
439
- <line num="58" count="2" type="stmt"/>
440
- <line num="59" count="2" type="stmt"/>
441
- <line num="60" count="2" type="stmt"/>
442
- <line num="62" count="2" type="stmt"/>
443
- <line num="63" count="2" type="stmt"/>
444
- <line num="64" count="2" type="stmt"/>
445
- <line num="74" count="1" type="stmt"/>
446
- <line num="76" count="1" type="stmt"/>
447
- <line num="78" count="1" type="stmt"/>
448
- <line num="80" count="1" type="stmt"/>
449
- </file>
450
- </package>
451
- </project>
452
- </coverage>