@unifold/core 0.1.77 → 0.1.78
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/dist/index.d.mts +16 -4
- package/dist/index.d.ts +16 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1143,7 +1143,7 @@ interface GetIntegrationExchangesQuery {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Get the exchanges available from the Connect Exchange entrypoint
|
|
1146
|
-
* (Coinbase, Binance
|
|
1146
|
+
* (Coinbase, Binance Pay, etc.).
|
|
1147
1147
|
* Returns provider info with icons, enabled status, connection_method
|
|
1148
1148
|
* ('oauth' or 'redirect'), and supported networks/currencies.
|
|
1149
1149
|
*/
|
|
@@ -1659,6 +1659,13 @@ interface CashAppSessionRequest {
|
|
|
1659
1659
|
recipient_address: string;
|
|
1660
1660
|
source_amount: string;
|
|
1661
1661
|
external_id?: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* Post-delivery calls to run on the destination chain, same constraints as
|
|
1664
|
+
* `createDepositAddress`. Pass the identical array here: the deposit wallet
|
|
1665
|
+
* the onramp pays out to is derived from the recipient *and* these calls, so
|
|
1666
|
+
* omitting them settles the session on a different wallet.
|
|
1667
|
+
*/
|
|
1668
|
+
contract_calls?: EvmContractCall[];
|
|
1662
1669
|
}
|
|
1663
1670
|
interface CashAppSessionResponse {
|
|
1664
1671
|
id: string;
|
|
@@ -1983,13 +1990,18 @@ interface CreateOnrampVerificationSessionRequest {
|
|
|
1983
1990
|
/** US phone in E.164 (e.g. +12345678901). */
|
|
1984
1991
|
phone: string;
|
|
1985
1992
|
terms_accepted: boolean;
|
|
1986
|
-
/**
|
|
1993
|
+
/**
|
|
1994
|
+
* When `true`, skip email OTP (merchant attest — not a verification clock).
|
|
1995
|
+
* When `false`, Wallet Pay sends this today; API still skips email OTP
|
|
1996
|
+
* (TODO: honor `false` and send email OTP). Omit to require email OTP.
|
|
1997
|
+
*/
|
|
1987
1998
|
email_already_verified?: boolean;
|
|
1988
1999
|
/** Optional correlation id for a planned order. */
|
|
1989
2000
|
external_id?: string;
|
|
1990
2001
|
/**
|
|
1991
|
-
* Your end-user id. When set, a successful OTP persists a global identity
|
|
1992
|
-
*
|
|
2002
|
+
* Your end-user id. When set, a successful OTP persists a global identity.
|
|
2003
|
+
* Not a skip credential. Wallet Pay omits this (Coinbase stays Redis-only
|
|
2004
|
+
* + JWT) until bank-transfer identity is live.
|
|
1993
2005
|
*/
|
|
1994
2006
|
external_user_id?: string;
|
|
1995
2007
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1143,7 +1143,7 @@ interface GetIntegrationExchangesQuery {
|
|
|
1143
1143
|
}
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Get the exchanges available from the Connect Exchange entrypoint
|
|
1146
|
-
* (Coinbase, Binance
|
|
1146
|
+
* (Coinbase, Binance Pay, etc.).
|
|
1147
1147
|
* Returns provider info with icons, enabled status, connection_method
|
|
1148
1148
|
* ('oauth' or 'redirect'), and supported networks/currencies.
|
|
1149
1149
|
*/
|
|
@@ -1659,6 +1659,13 @@ interface CashAppSessionRequest {
|
|
|
1659
1659
|
recipient_address: string;
|
|
1660
1660
|
source_amount: string;
|
|
1661
1661
|
external_id?: string;
|
|
1662
|
+
/**
|
|
1663
|
+
* Post-delivery calls to run on the destination chain, same constraints as
|
|
1664
|
+
* `createDepositAddress`. Pass the identical array here: the deposit wallet
|
|
1665
|
+
* the onramp pays out to is derived from the recipient *and* these calls, so
|
|
1666
|
+
* omitting them settles the session on a different wallet.
|
|
1667
|
+
*/
|
|
1668
|
+
contract_calls?: EvmContractCall[];
|
|
1662
1669
|
}
|
|
1663
1670
|
interface CashAppSessionResponse {
|
|
1664
1671
|
id: string;
|
|
@@ -1983,13 +1990,18 @@ interface CreateOnrampVerificationSessionRequest {
|
|
|
1983
1990
|
/** US phone in E.164 (e.g. +12345678901). */
|
|
1984
1991
|
phone: string;
|
|
1985
1992
|
terms_accepted: boolean;
|
|
1986
|
-
/**
|
|
1993
|
+
/**
|
|
1994
|
+
* When `true`, skip email OTP (merchant attest — not a verification clock).
|
|
1995
|
+
* When `false`, Wallet Pay sends this today; API still skips email OTP
|
|
1996
|
+
* (TODO: honor `false` and send email OTP). Omit to require email OTP.
|
|
1997
|
+
*/
|
|
1987
1998
|
email_already_verified?: boolean;
|
|
1988
1999
|
/** Optional correlation id for a planned order. */
|
|
1989
2000
|
external_id?: string;
|
|
1990
2001
|
/**
|
|
1991
|
-
* Your end-user id. When set, a successful OTP persists a global identity
|
|
1992
|
-
*
|
|
2002
|
+
* Your end-user id. When set, a successful OTP persists a global identity.
|
|
2003
|
+
* Not a skip credential. Wallet Pay omits this (Coinbase stays Redis-only
|
|
2004
|
+
* + JWT) until bank-transfer identity is live.
|
|
1993
2005
|
*/
|
|
1994
2006
|
external_user_id?: string;
|
|
1995
2007
|
}
|
package/dist/index.js
CHANGED
|
@@ -191,7 +191,7 @@ function generatePrefixedKSUID(prefix) {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
// src/lib/client-headers.ts
|
|
194
|
-
var SDK_VERSION = true ? "0.1.
|
|
194
|
+
var SDK_VERSION = true ? "0.1.78" : "0.0.0-dev";
|
|
195
195
|
var CLIENT_VERSION_HEADER = "x-unifold-client-version";
|
|
196
196
|
var CLIENT_USER_AGENT_HEADER = "x-unifold-client-user-agent";
|
|
197
197
|
function detectRuntime() {
|
package/dist/index.mjs
CHANGED
|
@@ -41,7 +41,7 @@ function generatePrefixedKSUID(prefix) {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
// src/lib/client-headers.ts
|
|
44
|
-
var SDK_VERSION = true ? "0.1.
|
|
44
|
+
var SDK_VERSION = true ? "0.1.78" : "0.0.0-dev";
|
|
45
45
|
var CLIENT_VERSION_HEADER = "x-unifold-client-version";
|
|
46
46
|
var CLIENT_USER_AGENT_HEADER = "x-unifold-client-user-agent";
|
|
47
47
|
function detectRuntime() {
|