@rlajous/sdk-threat 1.0.0 → 1.0.1
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/dist/esm/client.js +7 -7
- package/dist/esm/index.js +2 -2
- package/dist/esm/resources/index.js +7 -7
- package/package.json +3 -3
package/dist/esm/client.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseClient, } from '@rlajous/sdk-core';
|
|
2
|
-
import { AddressesResource } from './resources/addresses';
|
|
3
|
-
import { ContractsResource } from './resources/contracts';
|
|
4
|
-
import { UrlResource } from './resources/url';
|
|
5
|
-
import { WalletsResource } from './resources/wallets';
|
|
6
|
-
import { LedgerResource } from './resources/ledger';
|
|
7
|
-
import { AccountTraceResource } from './resources/account-trace';
|
|
8
|
-
import { UsageResource } from './resources/usage';
|
|
2
|
+
import { AddressesResource } from './resources/addresses.js';
|
|
3
|
+
import { ContractsResource } from './resources/contracts.js';
|
|
4
|
+
import { UrlResource } from './resources/url.js';
|
|
5
|
+
import { WalletsResource } from './resources/wallets.js';
|
|
6
|
+
import { LedgerResource } from './resources/ledger.js';
|
|
7
|
+
import { AccountTraceResource } from './resources/account-trace.js';
|
|
8
|
+
import { UsageResource } from './resources/usage.js';
|
|
9
9
|
/**
|
|
10
10
|
* Webacy Threat SDK Client
|
|
11
11
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// Client
|
|
2
|
-
export { ThreatClient } from './client';
|
|
2
|
+
export { ThreatClient } from './client.js';
|
|
3
3
|
// Resources
|
|
4
|
-
export { AddressesResource, ContractsResource, UrlResource, WalletsResource, LedgerResource, AccountTraceResource, UsageResource, } from './resources';
|
|
4
|
+
export { AddressesResource, ContractsResource, UrlResource, WalletsResource, LedgerResource, AccountTraceResource, UsageResource, } from './resources/index.js';
|
|
5
5
|
// Re-export commonly used types from core
|
|
6
6
|
export { Chain, ChainCompatibility, isEvmChain, CHAIN_NAMES, RiskModule, RiskScore, RiskLevel, TypeOfAddress, TokenStandard, WebacyError, AuthenticationError, RateLimitError, ValidationError, NotFoundError, NetworkError, } from '@rlajous/sdk-core';
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AddressesResource } from './addresses';
|
|
2
|
-
export { ContractsResource } from './contracts';
|
|
3
|
-
export { UrlResource } from './url';
|
|
4
|
-
export { WalletsResource } from './wallets';
|
|
5
|
-
export { LedgerResource } from './ledger';
|
|
6
|
-
export { AccountTraceResource } from './account-trace';
|
|
7
|
-
export { UsageResource } from './usage';
|
|
1
|
+
export { AddressesResource } from './addresses.js';
|
|
2
|
+
export { ContractsResource } from './contracts.js';
|
|
3
|
+
export { UrlResource } from './url.js';
|
|
4
|
+
export { WalletsResource } from './wallets.js';
|
|
5
|
+
export { LedgerResource } from './ledger.js';
|
|
6
|
+
export { AccountTraceResource } from './account-trace.js';
|
|
7
|
+
export { UsageResource } from './usage.js';
|
|
8
8
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rlajous/sdk-threat",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "Webacy SDK for threat and risk analysis - address risk, sanctions, contracts, URL safety",
|
|
5
5
|
"main": "dist/cjs/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"README.md"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@rlajous/sdk-core": "1.0.
|
|
25
|
+
"@rlajous/sdk-core": "1.0.1"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/node": "^22.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"build:esm": "tsc -p tsconfig.esm.json",
|
|
65
65
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
66
66
|
"build:types": "tsc -p tsconfig.types.json",
|
|
67
|
-
"postbuild": "echo '{\"type\":\"module\"}' > dist/esm/package.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
67
|
+
"postbuild": "node ../../scripts/fix-esm-imports.mjs dist/esm && echo '{\"type\":\"module\"}' > dist/esm/package.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
|
|
68
68
|
"clean": "rm -rf dist",
|
|
69
69
|
"typecheck": "tsc --noEmit",
|
|
70
70
|
"lint": "eslint src --ext .ts",
|