@ellipticltd/aml-utils 0.16.26 → 0.16.27
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.
- package/.circleci/config.yml +87 -0
- package/.claude/settings.local.json +7 -0
- package/.eslintrc +45 -0
- package/.huskyrc +5 -0
- package/.mocharc.json +3 -0
- package/.nvmrc +1 -0
- package/.nycrc.json +11 -0
- package/.releaserc.json +18 -0
- package/.snyk +12 -0
- package/README.md +43 -11
- package/codecov.yml +29 -0
- package/commitlint.config.js +1 -0
- package/dist/errors/errors.js +42 -0
- package/dist/errors/errors.spec.d.ts +1 -0
- package/dist/errors/errors.spec.js +23 -0
- package/dist/file-parser/__tests/file-parser.spec.d.ts +1 -0
- package/dist/file-parser/__tests/file-parser.spec.js +109 -0
- package/dist/file-parser/__tests/parse-row.spec.d.ts +1 -0
- package/dist/file-parser/__tests/parse-row.spec.js +29 -0
- package/dist/file-parser/__tests/sanitize-rows.spec.d.ts +1 -0
- package/dist/file-parser/__tests/sanitize-rows.spec.js +78 -0
- package/{lib → dist}/file-parser/errors.js +1 -1
- package/{lib → dist}/file-parser/file-parser.d.ts +4 -2
- package/dist/file-parser/file-parser.js +55 -0
- package/{lib → dist}/file-parser/parse-row.js +1 -2
- package/{lib/file-parser/sanitizeRows.d.ts → dist/file-parser/sanitzeRows.d.ts} +1 -3
- package/dist/file-parser/sanitzeRows.js +18 -0
- package/dist/formatting/formatting.js +17 -0
- package/dist/formatting/formatting.spec.d.ts +1 -0
- package/dist/formatting/formatting.spec.js +37 -0
- package/{lib → dist}/index.d.ts +1 -1
- package/dist/index.js +22 -0
- package/dist/middleware/middleware.js +22 -0
- package/dist/orm-helpers/ormHelpers.js +17 -0
- package/dist/orm-helpers/ormHelpers.spec.d.ts +1 -0
- package/dist/orm-helpers/ormHelpers.spec.js +38 -0
- package/{lib → dist}/structured-file-parser/errors.js +0 -1
- package/{lib → dist}/structured-file-parser/parse-row.js +1 -2
- package/{lib → dist}/structured-file-parser/sanitize-rows.js +4 -3
- package/{lib → dist}/structured-file-parser/structured-file-parser.d.ts +2 -2
- package/dist/structured-file-parser/structured-file-parser.js +98 -0
- package/{lib → dist}/types/types.d.ts +6 -0
- package/dist/types/types.js +203 -0
- package/{lib → dist}/validations/validations.d.ts +110 -161
- package/dist/validations/validations.js +470 -0
- package/dist/validations/validations.spec.d.ts +1 -0
- package/dist/validations/validations.spec.js +463 -0
- package/lib/errors/errors.js +30 -19
- package/lib/errors/errors.spec.js +37 -0
- package/lib/file-parser/__tests/file-parser.spec.js +107 -0
- package/lib/file-parser/__tests/parse-row.spec.js +35 -0
- package/lib/file-parser/__tests/sanitize-rows.spec.js +88 -0
- package/lib/file-parser/errors.ts +7 -0
- package/lib/file-parser/file-parser.ts +84 -0
- package/lib/file-parser/parse-row.ts +52 -0
- package/lib/file-parser/sanitzeRows.ts +32 -0
- package/lib/formatting/formatting.js +12 -11
- package/lib/formatting/formatting.spec.js +45 -0
- package/lib/index.ts +19 -0
- package/lib/middleware/middleware.js +17 -14
- package/lib/orm-helpers/ormHelpers.js +13 -12
- package/lib/orm-helpers/ormHelpers.spec.js +41 -0
- package/lib/structured-file-parser/errors.ts +25 -0
- package/lib/structured-file-parser/parse-row.ts +52 -0
- package/lib/structured-file-parser/sanitize-rows.ts +24 -0
- package/lib/structured-file-parser/structured-file-parser.ts +155 -0
- package/lib/types/types.js +203 -191
- package/lib/validations/validations.js +461 -669
- package/lib/validations/validations.spec.js +603 -0
- package/package.json +61 -8
- package/tsconfig.json +26 -0
- package/lib/errors/errors.js.map +0 -1
- package/lib/file-parser/errors.js.map +0 -1
- package/lib/file-parser/file-parser.js +0 -59
- package/lib/file-parser/file-parser.js.map +0 -1
- package/lib/file-parser/parse-row.js.map +0 -1
- package/lib/file-parser/sanitizeRows.js +0 -15
- package/lib/file-parser/sanitizeRows.js.map +0 -1
- package/lib/formatting/formatting.js.map +0 -1
- package/lib/index.js +0 -21
- package/lib/index.js.map +0 -1
- package/lib/middleware/middleware.js.map +0 -1
- package/lib/orm-helpers/ormHelpers.js.map +0 -1
- package/lib/structured-file-parser/errors.js.map +0 -1
- package/lib/structured-file-parser/parse-row.js.map +0 -1
- package/lib/structured-file-parser/sanitize-rows.js.map +0 -1
- package/lib/structured-file-parser/structured-file-parser.js +0 -95
- package/lib/structured-file-parser/structured-file-parser.js.map +0 -1
- package/lib/types/types.js.map +0 -1
- package/lib/validations/validations.js.map +0 -1
- /package/{lib → dist}/errors/errors.d.ts +0 -0
- /package/{lib → dist}/file-parser/errors.d.ts +0 -0
- /package/{lib → dist}/file-parser/parse-row.d.ts +0 -0
- /package/{lib → dist}/formatting/formatting.d.ts +0 -0
- /package/{lib → dist}/middleware/middleware.d.ts +0 -0
- /package/{lib → dist}/orm-helpers/ormHelpers.d.ts +0 -0
- /package/{lib → dist}/structured-file-parser/errors.d.ts +0 -0
- /package/{lib → dist}/structured-file-parser/parse-row.d.ts +0 -0
- /package/{lib → dist}/structured-file-parser/sanitize-rows.d.ts +0 -0
|
@@ -1,283 +1,232 @@
|
|
|
1
1
|
export function _validate(Err: any, pred: any, x: any, msg: any): any;
|
|
2
|
+
export function _validate(Err: any, pred: any, x: any, msg: any): any;
|
|
3
|
+
export function _validateArg(pred: any, x: any, msg: any): any;
|
|
2
4
|
export function _validateArg(pred: any, x: any, msg: any): any;
|
|
3
5
|
export function _tryCheck(fn: any, arg: any): boolean;
|
|
6
|
+
export function _tryCheck(fn: any, arg: any): boolean;
|
|
4
7
|
export function exists(x: any): boolean;
|
|
8
|
+
export function exists(x: any): boolean;
|
|
9
|
+
export function nonEmpty(x: any): boolean;
|
|
5
10
|
export function nonEmpty(x: any): boolean;
|
|
6
11
|
export function isNonEmptyString(x: any): boolean;
|
|
12
|
+
export function isNonEmptyString(x: any): boolean;
|
|
7
13
|
export function isSafeString(str: any): boolean;
|
|
8
|
-
export function
|
|
14
|
+
export function isSafeString(str: any): boolean;
|
|
15
|
+
export function ensureShortEnough(limit: any, x: any): boolean;
|
|
9
16
|
export function ensureShortEnough(limit: any, x: any): boolean;
|
|
10
17
|
export function ensure(crit: any, msg: any): boolean;
|
|
18
|
+
export function ensure(crit: any, msg: any): boolean;
|
|
19
|
+
export function argExists(x: any, msg: any): any;
|
|
11
20
|
export function argExists(x: any, msg: any): any;
|
|
12
21
|
export namespace check {
|
|
22
|
+
function matches(required: any, given: any, msg: any): boolean;
|
|
13
23
|
function matches(required: any, given: any, msg: any): boolean;
|
|
14
24
|
function wasFound(type: any): (item: any) => any;
|
|
25
|
+
function wasFound(type: any): (item: any) => any;
|
|
26
|
+
function wasCreated(msg: any): (arr: any) => any;
|
|
15
27
|
function wasCreated(msg: any): (arr: any) => any;
|
|
16
28
|
function isTrue(crit: any, msg: any): boolean;
|
|
29
|
+
function isTrue(crit: any, msg: any): boolean;
|
|
30
|
+
function isFalse(crit: any, msg: any): boolean;
|
|
17
31
|
function isFalse(crit: any, msg: any): boolean;
|
|
18
32
|
}
|
|
19
33
|
export function isCustomerReference(x: any): boolean;
|
|
34
|
+
export function isCustomerReference(x: any): boolean;
|
|
35
|
+
export function isCustomerLabelName(x: any): boolean;
|
|
20
36
|
export function isCustomerLabelName(x: any): boolean;
|
|
21
37
|
export namespace binanceChain {
|
|
22
38
|
function isAddress(str: any): boolean;
|
|
39
|
+
function isAddress(str: any): boolean;
|
|
40
|
+
function isTxHash(str: any): boolean;
|
|
23
41
|
function isTxHash(str: any): boolean;
|
|
24
42
|
}
|
|
25
43
|
export namespace bitcoin {
|
|
26
|
-
function isAddress(str: any
|
|
44
|
+
function isAddress(str: any): any;
|
|
45
|
+
function isAddress(str: any): any;
|
|
46
|
+
function isBech32Address(str: any): boolean;
|
|
47
|
+
function isBech32Address(str: any): boolean;
|
|
48
|
+
function isHDPublicKey(str: any): boolean;
|
|
49
|
+
function isHDPublicKey(str: any): boolean;
|
|
50
|
+
function isPublicKey(str: any): boolean;
|
|
51
|
+
function isPublicKey(str: any): boolean;
|
|
27
52
|
function isTxHash(str: any): boolean;
|
|
53
|
+
function isTxHash(str: any): boolean;
|
|
54
|
+
function isTxHex(str: any): boolean;
|
|
55
|
+
function isTxHex(str: any): boolean;
|
|
56
|
+
function isHDPath(str: any): any;
|
|
57
|
+
function isHDPath(str: any): any;
|
|
58
|
+
function isScriptHex(str: any): boolean;
|
|
59
|
+
function isScriptHex(str: any): boolean;
|
|
60
|
+
function isTxSignature(str: any): boolean;
|
|
61
|
+
function isTxSignature(str: any): boolean;
|
|
62
|
+
function isBlockHeight(obj: any): boolean;
|
|
63
|
+
function isBlockHeight(obj: any): boolean;
|
|
28
64
|
}
|
|
29
65
|
export namespace bitcoinCash {
|
|
30
66
|
function isAddress(str: any): boolean;
|
|
67
|
+
function isAddress(str: any): boolean;
|
|
68
|
+
function isTxHash(str: any): boolean;
|
|
31
69
|
function isTxHash(str: any): boolean;
|
|
32
70
|
}
|
|
33
71
|
export namespace ethereum {
|
|
34
|
-
function isAddress(str: any):
|
|
35
|
-
function
|
|
36
|
-
function
|
|
37
|
-
function
|
|
72
|
+
function isAddress(str: any): boolean;
|
|
73
|
+
function isAddress(str: any): boolean;
|
|
74
|
+
function isBlockHash(str: any): boolean;
|
|
75
|
+
function isBlockHash(str: any): boolean;
|
|
76
|
+
function isTxHash(str: any): boolean;
|
|
77
|
+
function isTxHash(str: any): boolean;
|
|
78
|
+
function isAddressCode(str: any): boolean;
|
|
79
|
+
function isAddressCode(str: any): boolean;
|
|
80
|
+
function isValidWeiAmount(str: any): boolean;
|
|
38
81
|
function isValidWeiAmount(str: any): boolean;
|
|
39
82
|
}
|
|
40
83
|
export namespace horizen {
|
|
41
84
|
function isAddress(str: any): any;
|
|
85
|
+
function isAddress(str: any): any;
|
|
86
|
+
function isTxHash(str: any): boolean;
|
|
42
87
|
function isTxHash(str: any): boolean;
|
|
43
88
|
}
|
|
44
89
|
export namespace litecoin {
|
|
45
90
|
function isAddress(str: any): boolean;
|
|
91
|
+
function isAddress(str: any): boolean;
|
|
92
|
+
function isTxHash(str: any): boolean;
|
|
46
93
|
function isTxHash(str: any): boolean;
|
|
47
94
|
}
|
|
48
95
|
export namespace ripple {
|
|
96
|
+
function isAddress(str: any): any;
|
|
49
97
|
function isAddress(str: any): any;
|
|
50
98
|
function isTxHash(str: any): boolean;
|
|
99
|
+
function isTxHash(str: any): boolean;
|
|
51
100
|
}
|
|
52
101
|
export namespace stellar {
|
|
53
|
-
function isAddress(str: any):
|
|
102
|
+
function isAddress(str: any): boolean;
|
|
103
|
+
function isAddress(str: any): boolean;
|
|
104
|
+
function isTxHash(str: any): boolean;
|
|
54
105
|
function isTxHash(str: any): boolean;
|
|
55
106
|
}
|
|
56
107
|
export namespace zcash {
|
|
57
108
|
function isAddress(str: any): any;
|
|
109
|
+
function isAddress(str: any): any;
|
|
110
|
+
function isTxHash(str: any): boolean;
|
|
58
111
|
function isTxHash(str: any): boolean;
|
|
59
112
|
}
|
|
60
113
|
export namespace zilliqa {
|
|
61
114
|
function isAddress(str: any): boolean;
|
|
62
|
-
function
|
|
115
|
+
function isAddress(str: any): boolean;
|
|
116
|
+
function isTxHash(str: any): boolean;
|
|
117
|
+
function isTxHash(str: any): boolean;
|
|
63
118
|
}
|
|
64
119
|
export namespace algorand {
|
|
65
120
|
function isAddress(str: any): any;
|
|
121
|
+
function isAddress(str: any): any;
|
|
122
|
+
function isTxHash(str: any): boolean;
|
|
66
123
|
function isTxHash(str: any): boolean;
|
|
67
124
|
}
|
|
68
125
|
export namespace tezos {
|
|
126
|
+
function isAddress(str: any): any;
|
|
69
127
|
function isAddress(str: any): any;
|
|
70
128
|
function isTxHash(str: any): boolean;
|
|
129
|
+
function isTxHash(str: any): boolean;
|
|
71
130
|
}
|
|
72
131
|
export namespace polkadot {
|
|
73
132
|
function isAddress(str: any): any;
|
|
74
|
-
function
|
|
133
|
+
function isAddress(str: any): any;
|
|
134
|
+
function isTxHash(str: any): boolean;
|
|
135
|
+
function isTxHash(str: any): boolean;
|
|
75
136
|
}
|
|
76
137
|
export namespace cardano {
|
|
138
|
+
function isAddress(str: any): any;
|
|
77
139
|
function isAddress(str: any): any;
|
|
78
140
|
function isTxHash(str: any): boolean;
|
|
141
|
+
function isTxHash(str: any): boolean;
|
|
79
142
|
}
|
|
80
143
|
export namespace cryptocom {
|
|
81
144
|
function isAddress(str: any): any;
|
|
145
|
+
function isAddress(str: any): any;
|
|
146
|
+
function isTxHash(str: any): boolean;
|
|
82
147
|
function isTxHash(str: any): boolean;
|
|
83
148
|
}
|
|
84
149
|
export namespace near {
|
|
85
150
|
function isAddress(str: any): boolean;
|
|
151
|
+
function isAddress(str: any): boolean;
|
|
152
|
+
function isTxHash(str: any): boolean;
|
|
86
153
|
function isTxHash(str: any): boolean;
|
|
87
154
|
}
|
|
88
155
|
export namespace doge {
|
|
89
156
|
function isAddress(str: any): boolean;
|
|
157
|
+
function isAddress(str: any): boolean;
|
|
158
|
+
function isTxHash(str: any): boolean;
|
|
90
159
|
function isTxHash(str: any): boolean;
|
|
91
160
|
}
|
|
92
161
|
export namespace cosmos {
|
|
93
162
|
function isAddress(str: any): boolean;
|
|
94
|
-
function
|
|
163
|
+
function isAddress(str: any): boolean;
|
|
164
|
+
function isTxHash(str: any): boolean;
|
|
165
|
+
function isTxHash(str: any): boolean;
|
|
95
166
|
}
|
|
96
167
|
export namespace solana {
|
|
97
168
|
function isAddress(str: any): boolean;
|
|
169
|
+
function isAddress(str: any): boolean;
|
|
170
|
+
function isTxHash(str: any): boolean;
|
|
98
171
|
function isTxHash(str: any): boolean;
|
|
99
172
|
}
|
|
100
173
|
export namespace binanceSmartChain {
|
|
101
|
-
function isAddress(str: any):
|
|
102
|
-
function
|
|
174
|
+
function isAddress(str: any): boolean;
|
|
175
|
+
function isAddress(str: any): boolean;
|
|
176
|
+
function isTxHash(str: any): boolean;
|
|
177
|
+
function isTxHash(str: any): boolean;
|
|
103
178
|
}
|
|
104
179
|
export namespace polygon {
|
|
105
|
-
function isAddress(str: any):
|
|
106
|
-
function
|
|
180
|
+
function isAddress(str: any): boolean;
|
|
181
|
+
function isAddress(str: any): boolean;
|
|
182
|
+
function isTxHash(str: any): boolean;
|
|
183
|
+
function isTxHash(str: any): boolean;
|
|
107
184
|
}
|
|
108
185
|
export namespace filecoin {
|
|
109
186
|
function isAddress(str: any): boolean;
|
|
187
|
+
function isAddress(str: any): boolean;
|
|
188
|
+
function isTxHash(str: any): boolean;
|
|
110
189
|
function isTxHash(str: any): boolean;
|
|
111
190
|
}
|
|
112
191
|
export namespace optimism {
|
|
113
|
-
function isAddress(str: any): any;
|
|
114
|
-
function isTxHash(str: any): any;
|
|
115
|
-
}
|
|
116
|
-
export namespace avalanche {
|
|
117
|
-
function isAddress(str: any): any;
|
|
118
|
-
function isTxHash(str: any): any;
|
|
119
|
-
}
|
|
120
|
-
export namespace arbitrum {
|
|
121
|
-
function isAddress(str: any): any;
|
|
122
|
-
function isTxHash(str: any): any;
|
|
123
|
-
}
|
|
124
|
-
export namespace tron {
|
|
125
|
-
function isAddress(str: any): any;
|
|
126
|
-
function isTxHash(str: any): any;
|
|
127
|
-
}
|
|
128
|
-
export namespace fantom {
|
|
129
|
-
function isAddress(str: any): any;
|
|
130
|
-
function isTxHash(str: any): any;
|
|
131
|
-
}
|
|
132
|
-
export namespace celo {
|
|
133
|
-
function isAddress(str: any): any;
|
|
134
|
-
function isTxHash(str: any): any;
|
|
135
|
-
}
|
|
136
|
-
export namespace ethereumClassic {
|
|
137
|
-
function isAddress(str: any): any;
|
|
138
|
-
function isTxHash(str: any): any;
|
|
139
|
-
}
|
|
140
|
-
export namespace mobilecoin {
|
|
141
192
|
function isAddress(str: any): boolean;
|
|
142
|
-
function isTxHash(str: any): any;
|
|
143
|
-
}
|
|
144
|
-
export namespace sui {
|
|
145
193
|
function isAddress(str: any): boolean;
|
|
146
194
|
function isTxHash(str: any): boolean;
|
|
147
|
-
}
|
|
148
|
-
export namespace flare {
|
|
149
|
-
function isAddress(str: any): boolean;
|
|
150
195
|
function isTxHash(str: any): boolean;
|
|
151
196
|
}
|
|
152
|
-
export namespace
|
|
197
|
+
export namespace avalanche {
|
|
198
|
+
function isAddress(str: any): boolean;
|
|
153
199
|
function isAddress(str: any): boolean;
|
|
154
200
|
function isTxHash(str: any): boolean;
|
|
201
|
+
function isTxHash(str: any): boolean;
|
|
155
202
|
}
|
|
156
|
-
export namespace
|
|
157
|
-
function isAddress(str: any): any;
|
|
158
|
-
function isTxHash(str: any): any;
|
|
159
|
-
}
|
|
160
|
-
export namespace dydx {
|
|
203
|
+
export namespace arbitrum {
|
|
161
204
|
function isAddress(str: any): boolean;
|
|
162
|
-
function isTxHash(str: any): any;
|
|
163
|
-
}
|
|
164
|
-
export namespace hederaHashgraph {
|
|
165
205
|
function isAddress(str: any): boolean;
|
|
166
206
|
function isTxHash(str: any): boolean;
|
|
207
|
+
function isTxHash(str: any): boolean;
|
|
167
208
|
}
|
|
168
|
-
export namespace
|
|
169
|
-
function isAddress(str: any): any;
|
|
170
|
-
function isTxHash(str: any): any;
|
|
171
|
-
}
|
|
172
|
-
export namespace zksync {
|
|
173
|
-
function isAddress(str: any): any;
|
|
174
|
-
function isTxHash(str: any): any;
|
|
175
|
-
}
|
|
176
|
-
export namespace haqq {
|
|
177
|
-
function isAddress(str: any): any;
|
|
178
|
-
function isTxHash(str: any): any;
|
|
179
|
-
}
|
|
180
|
-
export namespace base {
|
|
181
|
-
function isAddress(str: any): any;
|
|
182
|
-
function isTxHash(str: any): any;
|
|
183
|
-
}
|
|
184
|
-
export namespace corechain {
|
|
185
|
-
function isAddress(str: any): any;
|
|
186
|
-
function isTxHash(str: any): any;
|
|
187
|
-
}
|
|
188
|
-
export namespace worldchain {
|
|
189
|
-
function isAddress(str: any): any;
|
|
190
|
-
function isTxHash(str: any): any;
|
|
191
|
-
}
|
|
192
|
-
export namespace injective {
|
|
193
|
-
function isAddress(str: any): boolean;
|
|
194
|
-
function isTxHash(str: any): any;
|
|
195
|
-
}
|
|
196
|
-
export namespace linea {
|
|
197
|
-
function isAddress(str: any): any;
|
|
198
|
-
function isTxHash(str: any): any;
|
|
199
|
-
}
|
|
200
|
-
export namespace xdc {
|
|
201
|
-
function isAddress(str: any): any;
|
|
202
|
-
function isTxHash(str: any): any;
|
|
203
|
-
}
|
|
204
|
-
export namespace internetcomputer {
|
|
209
|
+
export namespace tron {
|
|
205
210
|
function isAddress(str: any): any;
|
|
206
|
-
function isTxHash(str: any): any;
|
|
207
|
-
}
|
|
208
|
-
export namespace unichain {
|
|
209
211
|
function isAddress(str: any): any;
|
|
210
|
-
function isTxHash(str: any):
|
|
212
|
+
function isTxHash(str: any): boolean;
|
|
213
|
+
function isTxHash(str: any): boolean;
|
|
211
214
|
}
|
|
212
|
-
export namespace
|
|
215
|
+
export namespace fantom {
|
|
213
216
|
function isAddress(str: any): boolean;
|
|
214
|
-
function isTxHash(str: any): any;
|
|
215
|
-
}
|
|
216
|
-
export namespace bittensor {
|
|
217
|
-
function isAddress(str: any): any;
|
|
218
|
-
function isTxHash(str: any): any;
|
|
219
|
-
}
|
|
220
|
-
export namespace codex {
|
|
221
|
-
function isAddress(str: any): any;
|
|
222
|
-
function isTxHash(str: any): any;
|
|
223
|
-
}
|
|
224
|
-
export namespace mantra {
|
|
225
217
|
function isAddress(str: any): boolean;
|
|
226
|
-
function isTxHash(str: any):
|
|
218
|
+
function isTxHash(str: any): boolean;
|
|
219
|
+
function isTxHash(str: any): boolean;
|
|
227
220
|
}
|
|
228
|
-
export namespace
|
|
221
|
+
export namespace celo {
|
|
229
222
|
function isAddress(str: any): boolean;
|
|
230
|
-
function isTxHash(str: any): any;
|
|
231
|
-
}
|
|
232
|
-
export namespace canton {
|
|
233
223
|
function isAddress(str: any): boolean;
|
|
234
224
|
function isTxHash(str: any): boolean;
|
|
225
|
+
function isTxHash(str: any): boolean;
|
|
235
226
|
}
|
|
236
|
-
export namespace
|
|
237
|
-
function isAddress(str: any): any;
|
|
238
|
-
function isTxHash(str: any): any;
|
|
239
|
-
}
|
|
240
|
-
export namespace noble {
|
|
227
|
+
export namespace ethereumClassic {
|
|
241
228
|
function isAddress(str: any): boolean;
|
|
242
|
-
function
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
function isAddress(str: any): any;
|
|
246
|
-
function isTxHash(str: any): any;
|
|
247
|
-
}
|
|
248
|
-
export namespace plasma {
|
|
249
|
-
function isAddress(str: any): any;
|
|
250
|
-
function isTxHash(str: any): any;
|
|
251
|
-
}
|
|
252
|
-
export namespace ink {
|
|
253
|
-
function isAddress(str: any): any;
|
|
254
|
-
function isTxHash(str: any): any;
|
|
255
|
-
}
|
|
256
|
-
export namespace xlayer {
|
|
257
|
-
function isAddress(str: any): any;
|
|
258
|
-
function isTxHash(str: any): any;
|
|
259
|
-
}
|
|
260
|
-
export namespace monad {
|
|
261
|
-
function isAddress(str: any): any;
|
|
262
|
-
function isTxHash(str: any): any;
|
|
263
|
-
}
|
|
264
|
-
export namespace hyperevm {
|
|
265
|
-
function isAddress(str: any): any;
|
|
266
|
-
function isTxHash(str: any): any;
|
|
267
|
-
}
|
|
268
|
-
export namespace tempo {
|
|
269
|
-
function isAddress(str: any): any;
|
|
270
|
-
function isTxHash(str: any): any;
|
|
271
|
-
}
|
|
272
|
-
export namespace morph {
|
|
273
|
-
function isAddress(str: any): any;
|
|
274
|
-
function isTxHash(str: any): any;
|
|
275
|
-
}
|
|
276
|
-
export namespace etherlink {
|
|
277
|
-
function isAddress(str: any): any;
|
|
278
|
-
function isTxHash(str: any): any;
|
|
279
|
-
}
|
|
280
|
-
export namespace edgex {
|
|
281
|
-
function isAddress(str: any): any;
|
|
282
|
-
function isTxHash(str: any): any;
|
|
229
|
+
function isAddress(str: any): boolean;
|
|
230
|
+
function isTxHash(str: any): boolean;
|
|
231
|
+
function isTxHash(str: any): boolean;
|
|
283
232
|
}
|