@zerohash-sdk/fund-js 1.10.0 → 1.10.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +6 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -464,6 +464,8 @@ declare type FundCallbacks = CommonCallbacks<FundEvent> & {
464
464
  * request error — `onFailed` carries the failed transaction's details.
465
465
  */
466
466
  onFailed?: (data: FundCompletedData) => void;
467
+ /** Called when the user taps "Provide info" on the travel-rule pending screen; the host opens the Travel Rule SDK scoped to `depositId`. */
468
+ onProvideInfo?: (data: FundProvideInfoData) => void;
467
469
  };
468
470
 
469
471
  declare type FundCompletedData = {
@@ -507,6 +509,10 @@ declare type FundEvent = AppEvent<FundEventType>;
507
509
  */
508
510
  declare type FundEventType = string;
509
511
 
512
+ declare type FundProvideInfoData = {
513
+ depositId: string;
514
+ };
515
+
510
516
  /**
511
517
  * Generic HTMLElement representing a web component with custom config
512
518
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zerohash-sdk/fund-js",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",