@funkit/api-base
Advanced tools
Comparing version 1.2.0 to 1.3.0
# @funkit/api-base | ||
## 1.3.0 | ||
### Minor Changes | ||
- 05e6eb8: feat: add qrcode transfer payment method | ||
## 1.2.0 | ||
@@ -4,0 +10,0 @@ |
import { Address } from 'viem'; | ||
import { CheckoutDeactivateParams, CheckoutHistoryItem, CheckoutInitParams, CheckoutQuoteParams, CheckoutQuoteResponse, CheckoutTransferDataParams, CheckoutTransferDataResponse, CheckoutTransferSponsorshipParams, CheckoutTransferSponsorshipResponse, RiskAssessmentParams, RiskAssessmentResponse } from './types'; | ||
import { CheckoutDeactivateParams, CheckoutHistoryItem, CheckoutInitParams, CheckoutInitResponse, CheckoutInitTokenTransferAddressParams, CheckoutQuoteParams, CheckoutQuoteResponse, CheckoutTransferSponsorshipParams, CheckoutTransferSponsorshipResponse, RiskAssessmentParams, RiskAssessmentResponse } from './types'; | ||
/** | ||
@@ -77,2 +77,2 @@ * Gets a checkout quote (estimation). | ||
export declare function getRiskAssessmentForAddress({ address, apiKey, }: RiskAssessmentParams): Promise<RiskAssessmentResponse>; | ||
export declare function getCheckoutTransferData(_: CheckoutTransferDataParams): Promise<CheckoutTransferDataResponse>; | ||
export declare function initializeCheckoutTokenTransferAddress({ apiKey, ...body }: CheckoutInitTokenTransferAddressParams): Promise<CheckoutInitResponse>; |
@@ -100,2 +100,3 @@ /**===============* | ||
refundState?: 'REFUNDED' | 'PROCEEDED'; | ||
stateTimestampMs?: Partial<Record<CheckoutState, number>>; | ||
}; | ||
@@ -177,10 +178,12 @@ /**===============================* | ||
}; | ||
export type CheckoutTransferDataParams = { | ||
userId?: string; | ||
recipientAddress: FunAddress; | ||
export type CheckoutInitTokenTransferAddressParams = { | ||
apiKey: string; | ||
toChainId: string; | ||
toTokenAddress: Address; | ||
userId: string; | ||
clientMetadata: NonNullable<object>; | ||
sourceOfFund?: string; | ||
recipientAddr: string; | ||
}; | ||
export type CheckoutTransferDataResponse = { | ||
depositAddress: Address; | ||
}; | ||
export type CheckoutInitTokenTransferAddressResponse = CheckoutInitResponse; | ||
export {}; |
{ | ||
"name": "@funkit/api-base", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "Base API for Funkit", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
220558
2674
1