@chainpatrol/sdk 0.8.0 → 0.11.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,131 @@
1
+ # @chainpatrol/sdk
2
+
3
+ ## 0.11.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 1346c67: Expose brand configuration fields in the `/organization/brands` API endpoint.
8
+ The response now includes `brandColors`, `includedTerms`, `excludedTerms`,
9
+ `tickers`, `avatarUrl`, `websiteUrl`, and `twitterHandle` for each brand.
10
+ The CLI `brands list` command displays these fields in all output formats.
11
+
12
+ ## 0.10.0
13
+
14
+ ### Minor Changes
15
+
16
+ - 4a3d9fb: Add integration connection status to orgs API and CLI. The `/user/orgs` and
17
+ `/user/orgs/{slug}` endpoints now return an `integrations` object for each
18
+ organization showing which third-party integrations are connected: Slack,
19
+ Discord, Telegram (with group count), Vercel, Intercom, and the Moderation API.
20
+ The CLI `orgs get` and `orgs list` commands display integration status in all
21
+ output formats.
22
+
23
+ ## 0.9.0
24
+
25
+ ### Minor Changes
26
+
27
+ - ea72356: Restructure SDK as the canonical API client layer. The SDK now exports a full ~30-method `ChainPatrolApiClient` class at `@chainpatrol/sdk/api` with pluggable auth via `CredentialProvider`, and the Claude Code skill content at `@chainpatrol/sdk/skill` with a standalone `chainpatrol-skill` binary. The CLI is refactored to wrap the SDK instead of maintaining its own HTTP client.
28
+
29
+ ## 0.8.0
30
+
31
+ ### Minor Changes
32
+
33
+ - 9adf1ce: Add asset submit to client
34
+
35
+ ## 0.7.0
36
+
37
+ ### Minor Changes
38
+
39
+ - 0660316: Add fetchOptions to constructor options to configure fetch() calls
40
+
41
+ ## 0.6.0
42
+
43
+ ### Minor Changes
44
+
45
+ - c822ff4: Make `client.report.create()` parameters for title and description optional.
46
+
47
+ ## 0.5.0
48
+
49
+ ### Minor Changes
50
+
51
+ - Fix bugs with uncaught promises and optimize type imports
52
+
53
+ ## 0.4.1
54
+
55
+ ### Patch Changes
56
+
57
+ - ca9a465: Add telegramGroupId to create report schema
58
+
59
+ ## 0.4.0
60
+
61
+ ### Minor Changes
62
+
63
+ - 35abbfa6: feat: expose client error and error codes
64
+
65
+ ### Patch Changes
66
+
67
+ - 440c4231: fix: remove unused dependencies
68
+
69
+ ## 0.3.0
70
+
71
+ ### Minor Changes
72
+
73
+ - 78cb68d7: feat: add ChainPatrolClientError and throw from ChainPatrolClient
74
+ - c3c6e99c: feat: expose client fetch
75
+
76
+ ## 0.2.4
77
+
78
+ ### Patch Changes
79
+
80
+ - 50b4fa0: fix: bug with parsing some URLs
81
+
82
+ ## 0.2.3
83
+
84
+ ### Patch Changes
85
+
86
+ - dff22c9: Added validation schemas to the ChainPatrolClient
87
+ - 938b82f: Fixed validation enums
88
+
89
+ ## 0.2.2
90
+
91
+ ### Patch Changes
92
+
93
+ - fa25155: Remove type from client.asset.check() + ScamDetector.url()
94
+
95
+ ## 0.2.1
96
+
97
+ ### Patch Changes
98
+
99
+ - 18d9aca: Add report.create() method to API client
100
+
101
+ ## 0.2.0
102
+
103
+ ### Minor Changes
104
+
105
+ - faff0e6: Add MIT license and update package.json metadata
106
+
107
+ ## 0.1.4
108
+
109
+ ### Patch Changes
110
+
111
+ - 151bb9d: make exports.types first
112
+
113
+ ## 0.1.3
114
+
115
+ ### Patch Changes
116
+
117
+ - 9294a84: add package exports
118
+ - 9294a84: Add CloseCurrentTab event
119
+
120
+ ## 0.1.2
121
+
122
+ ### Patch Changes
123
+
124
+ - 9cb547e: Fix default redirectUrl
125
+
126
+ ## 0.1.1
127
+
128
+ ### Patch Changes
129
+
130
+ - e9e4193: fix bug with imports
131
+ - 586070d: Initial publish
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 ChainPatrol Inc.
3
+ Copyright (c) 2026 ChainPatrol Inc.
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal