@privy-io/api-types 0.10.0 → 0.12.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.
- package/CHANGELOG.md +27 -0
- package/client.d.mts +22 -28
- package/client.d.mts.map +1 -1
- package/client.d.ts +22 -28
- package/client.d.ts.map +1 -1
- package/client.js +6 -12
- package/client.js.map +1 -1
- package/client.mjs +7 -13
- package/client.mjs.map +1 -1
- package/internal/utils/log.d.mts.map +1 -1
- package/internal/utils/log.d.ts.map +1 -1
- package/internal/utils/log.js +2 -0
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +2 -0
- package/internal/utils/log.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/apps.d.mts +5 -0
- package/resources/apps.d.mts.map +1 -1
- package/resources/apps.d.ts +5 -0
- package/resources/apps.d.ts.map +1 -1
- package/resources/client-auth.d.mts +496 -514
- package/resources/client-auth.d.mts.map +1 -1
- package/resources/client-auth.d.ts +496 -514
- package/resources/client-auth.d.ts.map +1 -1
- package/resources/client-auth.js.map +1 -1
- package/resources/client-auth.mjs.map +1 -1
- package/resources/cross-app.d.mts +5 -0
- package/resources/cross-app.d.mts.map +1 -1
- package/resources/cross-app.d.ts +5 -0
- package/resources/cross-app.d.ts.map +1 -1
- package/resources/embedded-wallets.d.mts +10 -10
- package/resources/embedded-wallets.d.mts.map +1 -1
- package/resources/embedded-wallets.d.ts +10 -10
- package/resources/embedded-wallets.d.ts.map +1 -1
- package/resources/fiat.d.mts +110 -0
- package/resources/fiat.d.mts.map +1 -0
- package/resources/fiat.d.ts +110 -0
- package/resources/fiat.d.ts.map +1 -0
- package/resources/fiat.js +9 -0
- package/resources/fiat.js.map +1 -0
- package/resources/fiat.mjs +5 -0
- package/resources/fiat.mjs.map +1 -0
- package/resources/funding.d.mts +46 -46
- package/resources/funding.d.mts.map +1 -1
- package/resources/funding.d.ts +46 -46
- package/resources/funding.d.ts.map +1 -1
- package/resources/index.d.mts +11 -10
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -10
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -1
- package/resources/index.mjs.map +1 -1
- package/resources/key-quorums.d.mts +1 -132
- package/resources/key-quorums.d.mts.map +1 -1
- package/resources/key-quorums.d.ts +1 -132
- package/resources/key-quorums.d.ts.map +1 -1
- package/resources/key-quorums.js +0 -92
- package/resources/key-quorums.js.map +1 -1
- package/resources/key-quorums.mjs +0 -92
- package/resources/key-quorums.mjs.map +1 -1
- package/resources/policies.d.mts +2 -312
- package/resources/policies.d.mts.map +1 -1
- package/resources/policies.d.ts +2 -312
- package/resources/policies.d.ts.map +1 -1
- package/resources/policies.js +0 -229
- package/resources/policies.js.map +1 -1
- package/resources/policies.mjs +0 -229
- package/resources/policies.mjs.map +1 -1
- package/resources/swaps.d.mts +54 -26
- package/resources/swaps.d.mts.map +1 -1
- package/resources/swaps.d.ts +54 -26
- package/resources/swaps.d.ts.map +1 -1
- package/resources/transactions.d.mts +28 -44
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +28 -44
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +0 -17
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +0 -17
- package/resources/transactions.mjs.map +1 -1
- package/resources/users.d.mts +1 -345
- package/resources/users.d.mts.map +1 -1
- package/resources/users.d.ts +1 -345
- package/resources/users.d.ts.map +1 -1
- package/resources/users.js +0 -272
- package/resources/users.js.map +1 -1
- package/resources/users.mjs +0 -272
- package/resources/users.mjs.map +1 -1
- package/resources/wallet-actions.d.mts +22 -3
- package/resources/wallet-actions.d.mts.map +1 -1
- package/resources/wallet-actions.d.ts +22 -3
- package/resources/wallet-actions.d.ts.map +1 -1
- package/resources/wallets/index.d.mts +1 -1
- package/resources/wallets/index.d.mts.map +1 -1
- package/resources/wallets/index.d.ts +1 -1
- package/resources/wallets/index.d.ts.map +1 -1
- package/resources/wallets/index.js.map +1 -1
- package/resources/wallets/index.mjs.map +1 -1
- package/resources/wallets/transactions.d.mts +6 -2
- package/resources/wallets/transactions.d.mts.map +1 -1
- package/resources/wallets/transactions.d.ts +6 -2
- package/resources/wallets/transactions.d.ts.map +1 -1
- package/resources/wallets/wallets.d.mts +184 -342
- package/resources/wallets/wallets.d.mts.map +1 -1
- package/resources/wallets/wallets.d.ts +184 -342
- package/resources/wallets/wallets.d.ts.map +1 -1
- package/resources/wallets/wallets.js +41 -102
- package/resources/wallets/wallets.js.map +1 -1
- package/resources/wallets/wallets.mjs +41 -102
- package/resources/wallets/wallets.mjs.map +1 -1
- package/src/client.ts +122 -153
- package/src/internal/utils/log.ts +2 -0
- package/src/resources/apps.ts +6 -0
- package/src/resources/client-auth.ts +743 -787
- package/src/resources/cross-app.ts +6 -0
- package/src/resources/embedded-wallets.ts +16 -15
- package/src/resources/fiat.ts +177 -0
- package/src/resources/funding.ts +65 -65
- package/src/resources/index.ts +97 -107
- package/src/resources/key-quorums.ts +1 -203
- package/src/resources/policies.ts +1 -495
- package/src/resources/swaps.ts +59 -25
- package/src/resources/transactions.ts +35 -55
- package/src/resources/users.ts +1 -479
- package/src/resources/wallet-actions.ts +38 -2
- package/src/resources/wallets/index.ts +4 -9
- package/src/resources/wallets/transactions.ts +6 -2
- package/src/resources/wallets/wallets.ts +236 -450
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -4,7 +4,6 @@ export { Balance, type BalanceGetResponse, type BalanceGetParams } from './balan
|
|
|
4
4
|
export { Transactions, type TransactionGetResponse, type TransactionGetParams } from './transactions';
|
|
5
5
|
export {
|
|
6
6
|
Wallets,
|
|
7
|
-
type WalletRevokeResponse,
|
|
8
7
|
type AdditionalSignerInput,
|
|
9
8
|
type AdditionalSignerItemInput,
|
|
10
9
|
type Address,
|
|
@@ -176,12 +175,14 @@ export {
|
|
|
176
175
|
type WalletAPIRevokeAuthorizationKeyInput,
|
|
177
176
|
type WalletAsset,
|
|
178
177
|
type WalletAuthenticateRequestBody,
|
|
178
|
+
type WalletAuthenticateWithJwtResponse,
|
|
179
179
|
type WalletAuthorizationHeaders,
|
|
180
180
|
type WalletBatchCreateInput,
|
|
181
181
|
type WalletBatchCreateResponse,
|
|
182
182
|
type WalletBatchCreateResult,
|
|
183
183
|
type WalletBatchItemInput,
|
|
184
184
|
type WalletChainType,
|
|
185
|
+
type WalletCreateWalletsWithRecoveryResponse,
|
|
185
186
|
type WalletCustodian,
|
|
186
187
|
type WalletEntropyType,
|
|
187
188
|
type WalletEthereumAsset,
|
|
@@ -190,22 +191,16 @@ export {
|
|
|
190
191
|
type WalletImportInitResponse,
|
|
191
192
|
type WalletImportSupportedChains,
|
|
192
193
|
type WalletImportSupportedEntropyTypes,
|
|
194
|
+
type WalletRevokeResponse,
|
|
193
195
|
type WalletRpcRequestBody,
|
|
194
196
|
type WalletRpcResponse,
|
|
195
197
|
type WalletSolanaAsset,
|
|
196
198
|
type WalletUpdateRequestBody,
|
|
197
|
-
type WalletInitImportResponse,
|
|
198
|
-
type WalletAuthenticateWithJwtResponse,
|
|
199
|
-
type WalletCreateWalletsWithRecoveryResponse,
|
|
200
199
|
type WalletCreateParams,
|
|
200
|
+
type WalletUpdateParams,
|
|
201
201
|
type WalletListParams,
|
|
202
202
|
type WalletExportParams,
|
|
203
|
-
type WalletInitImportParams,
|
|
204
203
|
type WalletRawSignParams,
|
|
205
204
|
type WalletRpcParams,
|
|
206
|
-
type WalletSubmitImportParams,
|
|
207
|
-
type WalletUpdateParams,
|
|
208
|
-
type WalletAuthenticateWithJwtParams,
|
|
209
|
-
type WalletCreateWalletsWithRecoveryParams,
|
|
210
205
|
type WalletsCursor,
|
|
211
206
|
} from './wallets';
|
|
@@ -80,11 +80,15 @@ export interface TransactionGetParams {
|
|
|
80
80
|
chain: 'ethereum' | 'arbitrum' | 'base' | 'tempo' | 'linea' | 'optimism' | 'polygon' | 'solana' | 'sepolia';
|
|
81
81
|
|
|
82
82
|
/**
|
|
83
|
-
*
|
|
84
|
-
*
|
|
83
|
+
* Exactly one of `token` or `asset` is required. Cannot be used together with
|
|
84
|
+
* `asset`.
|
|
85
85
|
*/
|
|
86
86
|
token?: WalletsAPI.TransactionTokenAddressInput | Array<WalletsAPI.TransactionTokenAddressInput>;
|
|
87
87
|
|
|
88
|
+
/**
|
|
89
|
+
* Exactly one of `asset` or `token` is required. Cannot be used together with
|
|
90
|
+
* `token`.
|
|
91
|
+
*/
|
|
88
92
|
asset?:
|
|
89
93
|
| 'usdc'
|
|
90
94
|
| 'usdc.e'
|