@metamask/snaps-sdk 6.5.1 → 6.7.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 (96) hide show
  1. package/CHANGELOG.md +105 -1
  2. package/dist/error-wrappers.d.cts +240 -192
  3. package/dist/error-wrappers.d.cts.map +1 -1
  4. package/dist/error-wrappers.d.mts +240 -192
  5. package/dist/error-wrappers.d.mts.map +1 -1
  6. package/dist/internals/error-wrappers.d.cts +15 -12
  7. package/dist/internals/error-wrappers.d.cts.map +1 -1
  8. package/dist/internals/error-wrappers.d.mts +15 -12
  9. package/dist/internals/error-wrappers.d.mts.map +1 -1
  10. package/dist/jsx/components/Heading.cjs +3 -0
  11. package/dist/jsx/components/Heading.cjs.map +1 -1
  12. package/dist/jsx/components/Heading.d.cts +5 -0
  13. package/dist/jsx/components/Heading.d.cts.map +1 -1
  14. package/dist/jsx/components/Heading.d.mts +5 -0
  15. package/dist/jsx/components/Heading.d.mts.map +1 -1
  16. package/dist/jsx/components/Heading.mjs +3 -0
  17. package/dist/jsx/components/Heading.mjs.map +1 -1
  18. package/dist/jsx/components/Link.cjs.map +1 -1
  19. package/dist/jsx/components/Link.d.cts +4 -1
  20. package/dist/jsx/components/Link.d.cts.map +1 -1
  21. package/dist/jsx/components/Link.d.mts +4 -1
  22. package/dist/jsx/components/Link.d.mts.map +1 -1
  23. package/dist/jsx/components/Link.mjs.map +1 -1
  24. package/dist/jsx/components/Row.cjs.map +1 -1
  25. package/dist/jsx/components/Row.d.cts +2 -1
  26. package/dist/jsx/components/Row.d.cts.map +1 -1
  27. package/dist/jsx/components/Row.d.mts +2 -1
  28. package/dist/jsx/components/Row.d.mts.map +1 -1
  29. package/dist/jsx/components/Row.mjs.map +1 -1
  30. package/dist/jsx/components/Text.cjs +2 -0
  31. package/dist/jsx/components/Text.cjs.map +1 -1
  32. package/dist/jsx/components/Text.d.cts +4 -0
  33. package/dist/jsx/components/Text.d.cts.map +1 -1
  34. package/dist/jsx/components/Text.d.mts +4 -0
  35. package/dist/jsx/components/Text.d.mts.map +1 -1
  36. package/dist/jsx/components/Text.mjs +2 -0
  37. package/dist/jsx/components/Text.mjs.map +1 -1
  38. package/dist/jsx/components/form/AccountSelector.cjs +25 -0
  39. package/dist/jsx/components/form/AccountSelector.cjs.map +1 -0
  40. package/dist/jsx/components/form/AccountSelector.d.cts +43 -0
  41. package/dist/jsx/components/form/AccountSelector.d.cts.map +1 -0
  42. package/dist/jsx/components/form/AccountSelector.d.mts +43 -0
  43. package/dist/jsx/components/form/AccountSelector.d.mts.map +1 -0
  44. package/dist/jsx/components/form/AccountSelector.mjs +22 -0
  45. package/dist/jsx/components/form/AccountSelector.mjs.map +1 -0
  46. package/dist/jsx/components/form/index.cjs +1 -0
  47. package/dist/jsx/components/form/index.cjs.map +1 -1
  48. package/dist/jsx/components/form/index.d.cts +3 -1
  49. package/dist/jsx/components/form/index.d.cts.map +1 -1
  50. package/dist/jsx/components/form/index.d.mts +3 -1
  51. package/dist/jsx/components/form/index.d.mts.map +1 -1
  52. package/dist/jsx/components/form/index.mjs +1 -0
  53. package/dist/jsx/components/form/index.mjs.map +1 -1
  54. package/dist/jsx/index.cjs +2 -1
  55. package/dist/jsx/index.cjs.map +1 -1
  56. package/dist/jsx/index.d.cts +1 -1
  57. package/dist/jsx/index.d.cts.map +1 -1
  58. package/dist/jsx/index.d.mts +1 -1
  59. package/dist/jsx/index.d.mts.map +1 -1
  60. package/dist/jsx/index.mjs +1 -1
  61. package/dist/jsx/index.mjs.map +1 -1
  62. package/dist/jsx/validation.cjs +58 -3
  63. package/dist/jsx/validation.cjs.map +1 -1
  64. package/dist/jsx/validation.d.cts +17 -1
  65. package/dist/jsx/validation.d.cts.map +1 -1
  66. package/dist/jsx/validation.d.mts +17 -1
  67. package/dist/jsx/validation.d.mts.map +1 -1
  68. package/dist/jsx/validation.mjs +57 -3
  69. package/dist/jsx/validation.mjs.map +1 -1
  70. package/dist/types/interface.d.cts +1 -0
  71. package/dist/types/interface.d.cts.map +1 -1
  72. package/dist/types/interface.d.mts +1 -0
  73. package/dist/types/interface.d.mts.map +1 -1
  74. package/dist/types/methods/get-currency-rate.cjs +3 -0
  75. package/dist/types/methods/get-currency-rate.cjs.map +1 -0
  76. package/dist/types/methods/get-currency-rate.d.cts +29 -0
  77. package/dist/types/methods/get-currency-rate.d.cts.map +1 -0
  78. package/dist/types/methods/get-currency-rate.d.mts +29 -0
  79. package/dist/types/methods/get-currency-rate.d.mts.map +1 -0
  80. package/dist/types/methods/get-currency-rate.mjs +2 -0
  81. package/dist/types/methods/get-currency-rate.mjs.map +1 -0
  82. package/dist/types/methods/index.cjs +1 -0
  83. package/dist/types/methods/index.cjs.map +1 -1
  84. package/dist/types/methods/index.d.cts +1 -0
  85. package/dist/types/methods/index.d.cts.map +1 -1
  86. package/dist/types/methods/index.d.mts +1 -0
  87. package/dist/types/methods/index.d.mts.map +1 -1
  88. package/dist/types/methods/index.mjs +1 -0
  89. package/dist/types/methods/index.mjs.map +1 -1
  90. package/dist/types/methods/notify.cjs.map +1 -1
  91. package/dist/types/methods/notify.d.cts +21 -2
  92. package/dist/types/methods/notify.d.cts.map +1 -1
  93. package/dist/types/methods/notify.d.mts +21 -2
  94. package/dist/types/methods/notify.d.mts.map +1 -1
  95. package/dist/types/methods/notify.mjs.map +1 -1
  96. package/package.json +28 -12
package/CHANGELOG.md CHANGED
@@ -1,4 +1,5 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
@@ -6,33 +7,61 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
7
 
7
8
  ## [Unreleased]
8
9
 
10
+ ## [6.7.0]
11
+
12
+ ### Added
13
+
14
+ - Add `snap_getCurrencyRate` JSON-RPC method ([#2763](https://github.com/MetaMask/snaps/pull/2763))
15
+ - Add `AccountSelector` component ([#2764](https://github.com/MetaMask/snaps/pull/2764), [#2768](https://github.com/MetaMask/snaps/pull/2768))
16
+ - Add `size` prop to the `Heading` component ([#2759](https://github.com/MetaMask/snaps/pull/2759))
17
+
18
+ ### Changed
19
+
20
+ - Allow `Link` in `Row` and `Address` in `Link` ([#2761](https://github.com/MetaMask/snaps/pull/2761))
21
+
22
+ ## [6.6.0]
23
+
24
+ ### Added
25
+
26
+ - Add support for `metamask:` schemed URLs ([#2719](https://github.com/MetaMask/snaps/pull/2719))
27
+ - Add support for JSX in `snap_notify` notifications ([#2706](https://github.com/MetaMask/snaps/pull/2706))
28
+
9
29
  ## [6.5.1]
30
+
10
31
  ### Fixed
32
+
11
33
  - Fix package exports ([#2737](https://github.com/MetaMask/snaps/pull/2737))
12
34
 
13
35
  ## [6.5.0]
36
+
14
37
  ### Added
38
+
15
39
  - Add `center` prop to `Box` component ([#2716](https://github.com/MetaMask/snaps/pull/2716))
16
40
  - Add `form` prop to `Button` component ([#2712](https://github.com/MetaMask/snaps/pull/2712))
17
41
  - This allows the `Button` component to be used outside of forms, but still
18
42
  submit a form when clicked.
19
43
 
20
44
  ### Fixed
45
+
21
46
  - Fix invalid types in type declaration in some cases ([#2714](https://github.com/MetaMask/snaps/pull/2714))
22
47
  - Fix type issue with `Field` children ([#2715](https://github.com/MetaMask/snaps/pull/2715))
23
48
  - `Field` now accepts booleans and `null` as children, in addition to the
24
49
  existing types.
25
50
 
26
51
  ## [6.4.0]
52
+
27
53
  ### Added
54
+
28
55
  - Add `Section` component ([#2672](https://github.com/MetaMask/snaps/pull/2672))
29
56
  - Add support for element before input in the `Field` component ([#2699](https://github.com/MetaMask/snaps/pull/2699))
30
57
 
31
58
  ### Changed
59
+
32
60
  - Allow CAIP-10 addresses in the `Address` component ([#2680](https://github.com/MetaMask/snaps/pull/2680))
33
61
  - Improve error messaging ([#2696](https://github.com/MetaMask/snaps/pull/2696), [#2693](https://github.com/MetaMask/snaps/pull/2693))
34
62
 
35
63
  ### Fixed
64
+
36
65
  - Allow any element as the child of the `Container` component ([#2698](https://github.com/MetaMask/snaps/pull/2698))
37
66
  - Disallow images and icons in footers ([#2676](https://github.com/MetaMask/snaps/pull/2676))
38
67
  - Fix ESM version of the package ([#2682](https://github.com/MetaMask/snaps/pull/2682))
@@ -42,29 +71,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
42
71
  - Bump other MetaMask dependencies ([#2703](https://github.com/MetaMask/snaps/pull/2703))
43
72
 
44
73
  ## [6.3.0]
74
+
45
75
  ### Added
76
+
46
77
  - Add `Selector` component ([#2645](https://github.com/MetaMask/snaps/pull/2645))
47
78
  - Add `Icon` component ([#2638](https://github.com/MetaMask/snaps/pull/2638))
48
79
  - Add `color` prop to `Text` component ([#2660](https://github.com/MetaMask/snaps/pull/2660))
49
80
 
50
81
  ### Changed
82
+
51
83
  - `Button` children are now allowed to be `Image` and `Icon` ([#2641](https://github.com/MetaMask/snaps/pull/2641))
52
84
 
53
85
  ## [6.2.1]
86
+
54
87
  ### Fixed
88
+
55
89
  - Add structs to `typedUnion` schema ([#2623](https://github.com/MetaMask/snaps/pull/2623))
56
90
 
57
91
  ## [6.2.0]
92
+
58
93
  ### Added
94
+
59
95
  - Add `snap_getPreferences` ([#2607](https://github.com/MetaMask/snaps/pull/2607))
60
96
  - Add `RadioGroup` component ([#2592](https://github.com/MetaMask/snaps/pull/2592))
61
97
 
62
98
  ## [6.1.1]
99
+
63
100
  ### Changed
101
+
64
102
  - Bump `@metamask/providers` from `17.0.0` to `^17.1.2` ([#2598](https://github.com/metamask/snaps/pull/2598))
65
103
 
66
104
  ## [6.1.0]
105
+
67
106
  ### Added
107
+
68
108
  - Add non-restricted RPC method `snap_resolveInterface` ([#2509](https://github.com/metamask/snaps/pull/2509))
69
109
  - This method allows a Snap to resolve a given user interface bound to a `snap_dialog` with a custom value.
70
110
  - Add new types `ResolveInterfaceParams`, `ResolveInterfaceResult`.
@@ -73,19 +113,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
73
113
  - Add `Container` and `Footer` components ([#2517](https://github.com/metamask/snaps/pull/2517))
74
114
 
75
115
  ### Changed
116
+
76
117
  - Update `RootJSXElement` to allow `Container` or `Box` at the root ([#2526](https://github.com/metamask/snaps/pull/2526))
77
118
  - Bump `@metamask/key-tree` from `^9.1.1` to `^9.1.2` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
78
119
  - Bump `@metamask/rpc-errors` from `^6.2.1` to `^6.3.1` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
79
120
  - Bump `@metamask/utils` from `^8.3.0` to `^9.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
80
121
 
81
122
  ### Fixed
123
+
82
124
  - Replace `superstruct` with ESM-compatible `@metamask/superstruct` `^3.1.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
83
125
  - This fixes the issue of this package being unusable by any TypeScript project that uses `Node16` or `NodeNext` as its `moduleResolution` option.
84
126
  - Set `@metamask/providers` from `^17.0.0` to `17.0.0` ([#2445](https://github.com/MetaMask/snaps/pull/2445))
85
127
  - `17.1.0` and `17.1.1` introduce regressions.
86
128
 
87
129
  ## [6.0.0]
130
+
88
131
  ### Added
132
+
89
133
  - **BREAKING:** Add `FileInput` component ([#2469](https://github.com/MetaMask/snaps/pull/2469), [#2504](https://github.com/MetaMask/snaps/pull/2504))
90
134
  - `FormSubmitEvent` may now contain values of type `File`.
91
135
  - **BREAKING:** Add `Checkbox` component ([#2501](https://github.com/MetaMask/snaps/pull/2501))
@@ -96,41 +140,55 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
96
140
  - Support conditional children in most JSX components ([#2506](https://github.com/MetaMask/snaps/pull/2506))
97
141
 
98
142
  ## [5.0.0]
143
+
99
144
  ### Added
145
+
100
146
  - Allow row tooltips ([#2483](https://github.com/MetaMask/snaps/pull/2483))
101
147
  - Support nested children in JSX ([#2482](https://github.com/MetaMask/snaps/pull/2482))
102
148
 
103
149
  ### Changed
150
+
104
151
  - Update `onNameLookup` response types ([#2484](https://github.com/MetaMask/snaps/pull/2484))
105
152
 
106
153
  ### Removed
154
+
107
155
  - **BREAKING:** Remove `parseSvg` and `isSvg` internals ([#2475](https://github.com/MetaMask/snaps/pull/2475))
108
156
 
109
157
  ### Fixed
158
+
110
159
  - Correct Row variant in JSX ([#2486](https://github.com/MetaMask/snaps/pull/2486))
111
160
  - Revert requiring at least one child in JSX components ([#2481](https://github.com/MetaMask/snaps/pull/2481), [#2470](https://github.com/MetaMask/snaps/pull/2470))
112
161
  - Correct docs for `Input` and `Dropdown` ([#2479](https://github.com/MetaMask/snaps/pull/2479))
113
162
 
114
163
  ## [4.4.2]
164
+
115
165
  ### Fixed
166
+
116
167
  - Require at least 1 child in JSX components ([#2466](https://github.com/MetaMask/snaps/pull/2466))
117
168
 
118
169
  ## [4.4.1]
170
+
119
171
  ### Fixed
172
+
120
173
  - Fix invalid `@metamask/snaps-sdk` imports ([#2452](https://github.com/MetaMask/snaps/pull/2452))
121
174
 
122
175
  ## [4.4.0]
176
+
123
177
  ### Added
178
+
124
179
  - Add origin to lifecycle hooks ([#2441](https://github.com/MetaMask/snaps/pull/2441))
125
180
  - Lifecycle hooks can now use the `origin` parameter to determine the origin
126
181
  of the installation or update.
127
182
 
128
183
  ### Changed
184
+
129
185
  - Bump `@metamask/providers` from `16.1.0` to `17.0.0` ([#2442](https://github.com/MetaMask/snaps/pull/2442))
130
186
  - Bump `@metamask/key-tree` from `9.1.0` to `9.1.1` ([#2431](https://github.com/MetaMask/snaps/pull/2431))
131
187
 
132
188
  ## [4.3.0]
189
+
133
190
  ### Added
191
+
134
192
  - Add `Value` component ([#2435](https://github.com/MetaMask/snaps/pull/2435))
135
193
  - Add `Dropdown` component ([#2420](https://github.com/MetaMask/snaps/pull/2420))
136
194
  - Add positioning props to `Box` ([#2422](https://github.com/MetaMask/snaps/pull/2422))
@@ -138,17 +196,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
138
196
  - Add `context` field to `snap_createInterface` ([#2413](https://github.com/MetaMask/snaps/pull/2413), [#2427](https://github.com/MetaMask/snaps/pull/2427))
139
197
 
140
198
  ### Fixed
199
+
141
200
  - Correct validation for children of Box component ([#2423](https://github.com/MetaMask/snaps/pull/2423))
142
201
 
143
202
  ## [4.2.0]
203
+
144
204
  ### Added
205
+
145
206
  - Add support for BIP-32-Ed25519 / CIP-3 key derivation ([#2408](https://github.com/MetaMask/snaps/pull/2408))
146
207
 
147
208
  ### Fixed
209
+
148
210
  - Add missing TypeScript declarations for JSX entry points ([#2404](https://github.com/MetaMask/snaps/pull/2404))
149
211
 
150
212
  ## [4.1.0]
213
+
151
214
  ### Added
215
+
152
216
  - Add JSX support for custom UI ([#2258](https://github.com/MetaMask/snaps/pull/2258), [#2379](https://github.com/MetaMask/snaps/pull/2379))
153
217
  - It's now possible to use JSX components from this package to build user
154
218
  interfaces for Snaps.
@@ -159,50 +223,69 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
159
223
  will be used automatically.
160
224
 
161
225
  ### Changed
226
+
162
227
  - Deprecate legacy UI components ([#2388](https://github.com/MetaMask/snaps/pull/2388))
163
228
  - Bump `@metamask/providers` from `16.0.0` to `16.1.0` ([#2386](https://github.com/MetaMask/snaps/pull/2386))
164
229
 
165
230
  ## [4.0.1]
231
+
166
232
  ### Fixed
233
+
167
234
  - Allow `null` in `FormSubmitEventStruct` form state ([#2333](https://github.com/MetaMask/snaps/pull/2333))
168
235
 
169
236
  ## [4.0.0]
237
+
170
238
  ### Removed
239
+
171
240
  - **BREAKING:** Remove broken `ethereum` properties ([#2296](https://github.com/MetaMask/snaps/pull/2296))
172
241
  - Snaps can no longer access `on` and `removeListener` on `ethereum`.
173
242
  - This feature was already non-functional.
174
243
 
175
244
  ## [3.2.0]
245
+
176
246
  ### Added
247
+
177
248
  - Add support for importing SVG, PNG, and JPEG files directly ([#2284](https://github.com/MetaMask/snaps/pull/2284))
178
249
 
179
250
  ### Changed
251
+
180
252
  - Narrow type for `endowment:name-lookup` ([#2293](https://github.com/MetaMask/snaps/pull/2293))
181
253
  - Bump MetaMask dependencies ([#2270](https://github.com/MetaMask/snaps/pull/2270))
182
254
 
183
255
  ## [3.1.1]
256
+
184
257
  ### Changed
258
+
185
259
  - Bump `@metamask/providers` to `^15.0.0` ([#2231](https://github.com/MetaMask/snaps/pull/2231))
186
260
 
187
261
  ### Fixed
262
+
188
263
  - Fix address validation in row component ([#2257](https://github.com/MetaMask/snaps/pull/2257))
189
264
 
190
265
  ## [3.1.0]
266
+
191
267
  ### Added
268
+
192
269
  - Add `InputChangeEvent` event ([#2237](https://github.com/MetaMask/snaps/pull/2237))
193
270
  - Add `error` prop to input component ([#2239](https://github.com/MetaMask/snaps/pull/2239))
194
271
 
195
272
  ## [3.0.1]
273
+
196
274
  ### Fixed
275
+
197
276
  - Fix minor build configuration problems ([#2220](https://github.com/MetaMask/snaps/pull/2220))
198
277
 
199
278
  ## [3.0.0]
279
+
200
280
  ### Changed
281
+
201
282
  - **BREAKING:** Update ESM build to be fully compliant with the ESM standard ([#2210](https://github.com/MetaMask/snaps/pull/2210))
202
283
  - Bump `@metamask/rpc-errors` to `^6.2.1` ([#2209](https://github.com/MetaMask/snaps/pull/2209))
203
284
 
204
285
  ## [2.1.0]
286
+
205
287
  ### Changed
288
+
206
289
  - Improve support for Snap errors without a message ([#2176](https://github.com/MetaMask/snaps/pull/2176))
207
290
  - You can now add data to an error without having to specify a message. For example:
208
291
  ```ts
@@ -211,55 +294,76 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
211
294
  - Strip empty `data` from Snap errors ([#2179](https://github.com/MetaMask/snaps/pull/2179))
212
295
 
213
296
  ## [2.0.0]
297
+
214
298
  ### Changed
299
+
215
300
  - **BREAKING:** Update name lookup API types ([#2113](https://github.com/MetaMask/snaps/pull/2113))
216
301
  - The return value and the permission format has changed, see [SIP-12](https://metamask.github.io/SIPs/SIPS/sip-12) for more details.
217
302
  - Add support for dynamic user interfaces ([#1465](https://github.com/MetaMask/snaps/pull/1465), [#2126](https://github.com/MetaMask/snaps/pull/2126), [#2143](https://github.com/MetaMask/snaps/pull/2143))
218
303
  - Add support for snap defined execution timeouts ([#2098](https://github.com/MetaMask/snaps/pull/2098))
219
304
 
220
305
  ### Fixed
306
+
221
307
  - Fix initial permissions types ([#2111](https://github.com/MetaMask/snaps/pull/2111))
222
308
 
223
309
  ## [1.4.0]
310
+
224
311
  ### Added
312
+
225
313
  - Add support for signature insights ([#2074](https://github.com/MetaMask/snaps/pull/2074), [#2079](https://github.com/MetaMask/snaps/pull/2079))
226
314
  - Add types for `snap_getClientStatus` ([#2051](https://github.com/MetaMask/snaps/pull/2051))
227
315
 
228
316
  ### Changed
317
+
229
318
  - Bump @metamask/utils from 8.2.1 to 8.3.0 ([#2100](https://github.com/MetaMask/snaps/pull/2100))
230
319
 
231
320
  ## [1.3.2]
321
+
232
322
  ### Fixed
323
+
233
324
  - Fix missing `sensitive` property in `Copyable` type ([#2070](https://github.com/MetaMask/snaps/pull/2070))
234
325
 
235
326
  ## [1.3.1]
327
+
236
328
  ### Fixed
329
+
237
330
  - Export error wrappers ([#2043](https://github.com/MetaMask/snaps/pull/2043))
238
331
 
239
332
  ## [1.3.0]
333
+
240
334
  ### Added
335
+
241
336
  - Add image fetching utility functions ([#1995](https://github.com/MetaMask/snaps/pull/1995))
242
337
  - This adds two functions:
243
338
  - `getImageComponent` to get an `image` component from a PNG or JPEG URL.
244
339
  - `getImageData` to get a base64 data string, which can be embedded in an SVG image.
245
340
 
246
341
  ## [1.2.0]
342
+
247
343
  ### Added
344
+
248
345
  - Add `row` and `address` component ([#1968](https://github.com/MetaMask/snaps/pull/1968))
249
346
  - Add `enumValue`, `literal` and `union` from `snaps-utils` ([#1968](https://github.com/MetaMask/snaps/pull/1968))
250
347
 
251
348
  ### Changed
349
+
252
350
  - Bump several MetaMask dependencies ([#1964](https://github.com/MetaMask/snaps/pull/1964))
253
351
 
254
352
  ## [1.1.0]
353
+
255
354
  ### Added
355
+
256
356
  - Add Snap error wrappers of JSON-RPC errors ([#1924](https://github.com/MetaMask/snaps/pull/1924))
257
357
 
258
358
  ## [1.0.0]
359
+
259
360
  ### Added
361
+
260
362
  - Initial release of this package.
261
363
 
262
- [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.1...HEAD
364
+ [Unreleased]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.7.0...HEAD
365
+ [6.7.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.6.0...@metamask/snaps-sdk@6.7.0
366
+ [6.6.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.1...@metamask/snaps-sdk@6.6.0
263
367
  [6.5.1]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.5.0...@metamask/snaps-sdk@6.5.1
264
368
  [6.5.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.4.0...@metamask/snaps-sdk@6.5.0
265
369
  [6.4.0]: https://github.com/MetaMask/snaps/compare/@metamask/snaps-sdk@6.3.0...@metamask/snaps-sdk@6.4.0