@ramp-network/ramp-instant-sdk
Advanced tools
Comparing version 3.2.1-rc1 to 3.2.1-rc2
@@ -40,3 +40,3 @@ "use strict"; | ||
WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_PURCHASE_CREATED"] = "OFFRAMP_PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_SALE_CREATED"] = "OFFRAMP_SALE_CREATED"; | ||
})(WidgetEventTypes = exports.WidgetEventTypes || (exports.WidgetEventTypes = {})); | ||
@@ -43,0 +43,0 @@ var InternalEventTypes; |
@@ -314,3 +314,3 @@ /*! ***************************************************************************** | ||
WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_PURCHASE_CREATED"] = "OFFRAMP_PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_SALE_CREATED"] = "OFFRAMP_SALE_CREATED"; | ||
})(WidgetEventTypes || (WidgetEventTypes = {})); | ||
@@ -317,0 +317,0 @@ var InternalEventTypes; |
@@ -320,3 +320,3 @@ (function (global, factory) { | ||
WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_PURCHASE_CREATED"] = "OFFRAMP_PURCHASE_CREATED"; | ||
WidgetEventTypes["OFFRAMP_SALE_CREATED"] = "OFFRAMP_SALE_CREATED"; | ||
})(exports.RampInstantEventTypes || (exports.RampInstantEventTypes = {})); | ||
@@ -323,0 +323,0 @@ var InternalEventTypes; |
@@ -97,3 +97,3 @@ import { SEND_CRYPTO_SUPPORTED_VERSION } from './consts'; | ||
} | ||
export interface IOfframpPurchase { | ||
export interface IOfframpSale { | ||
id: string; | ||
@@ -147,3 +147,3 @@ createdAt: string; | ||
PURCHASE_CREATED = "PURCHASE_CREATED", | ||
OFFRAMP_PURCHASE_CREATED = "OFFRAMP_PURCHASE_CREATED" | ||
OFFRAMP_SALE_CREATED = "OFFRAMP_SALE_CREATED" | ||
} | ||
@@ -174,7 +174,7 @@ export declare enum InternalEventTypes { | ||
} | ||
export interface IOfframpPurchaseCreatedEvent extends IWidgetEvent { | ||
type: WidgetEventTypes.OFFRAMP_PURCHASE_CREATED; | ||
export interface IOfframpSaleCreatedEvent extends IWidgetEvent { | ||
type: WidgetEventTypes.OFFRAMP_SALE_CREATED; | ||
payload: { | ||
purchase: IOfframpPurchase; | ||
purchaseViewToken: string; | ||
sale: IOfframpSale; | ||
saleViewToken: string; | ||
apiUrl: string; | ||
@@ -231,3 +231,3 @@ }; | ||
} | ||
export declare type TWidgetEvents = IWidgetCloseEvent | IWidgetConfigDoneEvent | IWidgetConfigFailedEvent | IPurchaseCreatedEvent | IOfframpPurchaseCreatedEvent; | ||
export declare type TWidgetEvents = IWidgetCloseEvent | IWidgetConfigDoneEvent | IWidgetConfigFailedEvent | IPurchaseCreatedEvent | IOfframpSaleCreatedEvent; | ||
export declare type TInternalEvents = IWidgetCloseRequestEvent | IWidgetCloseRequestCancelledEvent | IWidgetCloseRequestConfirmedEvent | IRequestCryptoAccountEvent | ISendCryptoEvent; | ||
@@ -234,0 +234,0 @@ export declare enum InternalSdkEventTypes { |
{ | ||
"name": "@ramp-network/ramp-instant-sdk", | ||
"version": "3.2.1-rc1", | ||
"version": "3.2.1-rc2", | ||
"description": "SDK for Ramp Instant", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
347819