@zerohash-sdk/travel-rule-react 0.1.1 → 0.2.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 (2) hide show
  1. package/dist/index.js +5 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -242,9 +242,11 @@ const b = {
242
242
  jwt: e,
243
243
  env: o,
244
244
  theme: r,
245
- // Also mirror the kebab-case attribute so pre-mount seeding works even
246
- // if the browser upgrades the element before the property setter runs.
247
- "deposit-id": t,
245
+ // camelCase — React 19 sets this as a property via the extra-prop setter
246
+ // before connectedCallback runs, so the value lands in the URL fragment
247
+ // reliably (the hyphenated attribute path fails for JSON extra props
248
+ // because the raw string isn't valid JSON).
249
+ depositId: t,
248
250
  ...m
249
251
  });
250
252
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerohash-sdk/travel-rule-react",
3
- "version": "0.1.1",
3
+ "version": "0.2.0",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",