@kuvarpay/sdk 1.9.1 → 1.9.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.
Files changed (2) hide show
  1. package/index.d.ts +5 -2
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -110,7 +110,9 @@ export interface PreparedKuvarSendAccountLink {
110
110
  idempotencyKey: string;
111
111
  }
112
112
 
113
- export interface KuvarSendAccountLinkAuthorization extends PreparedKuvarSendAccountLink {
113
+ /** Keep state, codeVerifier and redirectUri in your server-side session for the callback. */
114
+ export interface KuvarSendAccountLinkAuthorization
115
+ extends Omit<PreparedKuvarSendAccountLink, 'externalUserReference' | 'codeChallenge'> {
114
116
  requestId: string;
115
117
  authorizationUrl: string;
116
118
  expiresAt: string;
@@ -147,7 +149,8 @@ export interface KuvarSendPayout {
147
149
  linked_account_id: string;
148
150
  amount: string;
149
151
  currency: string;
150
- external_reference?: string;
152
+ /** Your own reference, or null when you did not send one. */
153
+ external_reference: string | null;
151
154
  /** Your balance's currency and what it was debited. Create response only. */
152
155
  source_currency?: string;
153
156
  source_amount?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kuvarpay/sdk",
3
- "version": "1.9.1",
3
+ "version": "1.9.2",
4
4
  "description": "Official KuvarPay Server SDK for Node.js",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",