@meshconnect/web-link-sdk 3.10.1 → 3.10.2
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/package.json +1 -1
- package/utils/types.d.ts +4 -0
- package/utils/version.d.ts +1 -1
- package/utils/version.js +1 -1
package/package.json
CHANGED
package/utils/types.d.ts
CHANGED
|
@@ -108,6 +108,7 @@ export interface LinkOptions {
|
|
|
108
108
|
*/
|
|
109
109
|
clientId?: string;
|
|
110
110
|
/**
|
|
111
|
+
* @deprecated This callback is now obsolete. Please use server-side webhooks instead for 'integration connected' events.
|
|
111
112
|
* A callback function that is called when an integration is successfully connected.
|
|
112
113
|
* It receives a payload of type `LinkPayload`.
|
|
113
114
|
*/
|
|
@@ -117,16 +118,19 @@ export interface LinkOptions {
|
|
|
117
118
|
*/
|
|
118
119
|
onExit?: (error?: string, summary?: SessionSummary) => void;
|
|
119
120
|
/**
|
|
121
|
+
* @deprecated This callback is now obsolete. Please use server-side webhooks instead for 'transfer finished' events.
|
|
120
122
|
* (Optional) A callback function that is called when a transfer is finished.
|
|
121
123
|
* It receives a payload of type `TransferFinishedPayload`.
|
|
122
124
|
*/
|
|
123
125
|
onTransferFinished?: (payload: TransferFinishedPayload) => void;
|
|
124
126
|
/**
|
|
127
|
+
* @deprecated This callback is now obsolete. Please use server-side webhooks instead for all events.
|
|
125
128
|
* (Optional) A callback function that is called when various events occur within the Front iframe.
|
|
126
129
|
* It receives an object with type `LinkEventTypeKeys` indicating the event, and an optional 'payload' containing additional data.
|
|
127
130
|
*/
|
|
128
131
|
onEvent?: (event: LinkEventType) => void;
|
|
129
132
|
/**
|
|
133
|
+
* @deprecated This property is now obsolete.
|
|
130
134
|
* (Optional) An array of integration access tokens.
|
|
131
135
|
* These access tokens are used to initialize crypto transfers flow at 'Select asset step'
|
|
132
136
|
*/
|
package/utils/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "3.10.
|
|
1
|
+
export declare const sdkVersion = "3.10.2";
|
package/utils/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var sdkVersion = '3.10.
|
|
1
|
+
export var sdkVersion = '3.10.2';
|