Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@funkit/api-base

Package Overview
Dependencies
Maintainers
0
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@funkit/api-base - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

6

CHANGELOG.md
# @funkit/api-base
## 1.3.2
### Patch Changes
- 4a12008: refactor: add more refundState enums
## 1.3.1

@@ -4,0 +10,0 @@

3

dist/src/services/checkout/types.d.ts

@@ -80,2 +80,3 @@ /**===============*

}
export type CheckoutRefundState = 'REFUNDED' | 'PROCEEDED' | 'INITIATED' | 'ERROR';
export type CheckoutHistoryItem = {

@@ -100,3 +101,3 @@ createdTimeMs: number;

clientMetadata: object;
refundState?: 'REFUNDED' | 'PROCEEDED';
refundState?: CheckoutRefundState;
stateTimestampMs?: Partial<Record<CheckoutState, number>>;

@@ -103,0 +104,0 @@ };

@@ -5,7 +5,7 @@ import { GetCryptocurrencyHoldingsRequest, GetLinkTokenRequest, GetLinkTokenResponse, GetTransferIntegrationsRequest, GetTransferIntegrationsResponse, MeshExecuteTransferRequest, MeshExecuteTransferResponse, PreviewTransferRequest, PreviewTransferResponse } from './types';

* @param type The type of the integration to send the asset from.
* @return https://docs.meshconnect.com/reference/post_api-v1-holdings-get
* @return https://docs.meshconnect.com/api-reference/portfolio/get-holdings
*/
export declare function meshGetCryptocurrencyHoldings({ authToken, type, apiKey, }: GetCryptocurrencyHoldingsRequest): Promise<any>;
/**
* @return https://docs.meshconnect.com/reference/get_api-v1-transfers-managed-integrations
* @return https://docs.meshconnect.com/api-reference/managed-transfers/get-integrations
*/

@@ -21,3 +21,3 @@ export declare function meshGetTransferIntegrations({ apiKey, }: GetTransferIntegrationsRequest): Promise<GetTransferIntegrationsResponse>;

* @param transferOptions Encapsulates transaction-related parameters, including destination addresses and the amount to transfer in fiat currency.
* @return https://docs.meshconnect.com/reference/post_api-v1-linktoken
* @return https://docs.meshconnect.com/api-reference/managed-account-authentication/get-link-token-with-parameters
*/

@@ -36,3 +36,3 @@ export declare function meshGetLinkToken({ userId, integrationId, restrictMultipleAccounts, transferOptions, apiKey, }: GetLinkTokenRequest): Promise<GetLinkTokenResponse>;

* @param fiatCurrency Fiat currency that is to get corresponding converted fiat values of transfer and fee amounts. If not provided, defaults to USD.
* @returns https://docs.meshconnect.com/reference/post_api-v1-transfers-managed-preview
* @returns https://docs.meshconnect.com/api-reference/managed-transfers/preview-transfer
*/

@@ -46,4 +46,4 @@ export declare function meshPreviewTransfer({ fromAuthToken, fromType, toAuthToken, toType, networkId, symbol, toAddress, amount, amountInFiat, fiatCurrency, apiKey, }: PreviewTransferRequest): Promise<PreviewTransferResponse>;

* @param mfaCode Multi-factor auth code that should be provided if the status of the transfer was MfaRequired.
* @returns https://docs.meshconnect.com/reference/post_api-v1-transfers-managed-execute
* @returns https://docs.meshconnect.com/api-reference/managed-transfers/execute-transfer
*/
export declare function meshExecuteTransfer({ fromAuthToken, fromType, previewId, mfaCode, apiKey, }: MeshExecuteTransferRequest): Promise<MeshExecuteTransferResponse>;
{
"name": "@funkit/api-base",
"version": "1.3.1",
"version": "1.3.2",
"description": "Base API for Funkit",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc