@chainpatrol/sdk 0.7.0 → 0.9.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,111 @@
1
+ # @chainpatrol/sdk
2
+
3
+ ## 0.9.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 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.
8
+
9
+ ## 0.8.0
10
+
11
+ ### Minor Changes
12
+
13
+ - 9adf1ce: Add asset submit to client
14
+
15
+ ## 0.7.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 0660316: Add fetchOptions to constructor options to configure fetch() calls
20
+
21
+ ## 0.6.0
22
+
23
+ ### Minor Changes
24
+
25
+ - c822ff4: Make `client.report.create()` parameters for title and description optional.
26
+
27
+ ## 0.5.0
28
+
29
+ ### Minor Changes
30
+
31
+ - Fix bugs with uncaught promises and optimize type imports
32
+
33
+ ## 0.4.1
34
+
35
+ ### Patch Changes
36
+
37
+ - ca9a465: Add telegramGroupId to create report schema
38
+
39
+ ## 0.4.0
40
+
41
+ ### Minor Changes
42
+
43
+ - 35abbfa6: feat: expose client error and error codes
44
+
45
+ ### Patch Changes
46
+
47
+ - 440c4231: fix: remove unused dependencies
48
+
49
+ ## 0.3.0
50
+
51
+ ### Minor Changes
52
+
53
+ - 78cb68d7: feat: add ChainPatrolClientError and throw from ChainPatrolClient
54
+ - c3c6e99c: feat: expose client fetch
55
+
56
+ ## 0.2.4
57
+
58
+ ### Patch Changes
59
+
60
+ - 50b4fa0: fix: bug with parsing some URLs
61
+
62
+ ## 0.2.3
63
+
64
+ ### Patch Changes
65
+
66
+ - dff22c9: Added validation schemas to the ChainPatrolClient
67
+ - 938b82f: Fixed validation enums
68
+
69
+ ## 0.2.2
70
+
71
+ ### Patch Changes
72
+
73
+ - fa25155: Remove type from client.asset.check() + ScamDetector.url()
74
+
75
+ ## 0.2.1
76
+
77
+ ### Patch Changes
78
+
79
+ - 18d9aca: Add report.create() method to API client
80
+
81
+ ## 0.2.0
82
+
83
+ ### Minor Changes
84
+
85
+ - faff0e6: Add MIT license and update package.json metadata
86
+
87
+ ## 0.1.4
88
+
89
+ ### Patch Changes
90
+
91
+ - 151bb9d: make exports.types first
92
+
93
+ ## 0.1.3
94
+
95
+ ### Patch Changes
96
+
97
+ - 9294a84: add package exports
98
+ - 9294a84: Add CloseCurrentTab event
99
+
100
+ ## 0.1.2
101
+
102
+ ### Patch Changes
103
+
104
+ - 9cb547e: Fix default redirectUrl
105
+
106
+ ## 0.1.1
107
+
108
+ ### Patch Changes
109
+
110
+ - e9e4193: fix bug with imports
111
+ - 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