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

@ramp-network/ramp-instant-sdk

Package Overview
Dependencies
Maintainers
3
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ramp-network/ramp-instant-sdk - npm Package Compare versions

Comparing version 3.1.0 to 3.1.1

2

dist/lib/types.js

@@ -40,4 +40,2 @@ "use strict";

WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED";
WidgetEventTypes["PURCHASE_SUCCESSFUL"] = "PURCHASE_SUCCESSFUL";
WidgetEventTypes["PURCHASE_FAILED"] = "PURCHASE_FAILED";
})(WidgetEventTypes = exports.WidgetEventTypes || (exports.WidgetEventTypes = {}));

@@ -44,0 +42,0 @@ var InternalEventTypes;

@@ -313,4 +313,2 @@ /*! *****************************************************************************

WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED";
WidgetEventTypes["PURCHASE_SUCCESSFUL"] = "PURCHASE_SUCCESSFUL";
WidgetEventTypes["PURCHASE_FAILED"] = "PURCHASE_FAILED";
})(WidgetEventTypes || (WidgetEventTypes = {}));

@@ -317,0 +315,0 @@ var InternalEventTypes;

@@ -319,4 +319,2 @@ (function (global, factory) {

WidgetEventTypes["PURCHASE_CREATED"] = "PURCHASE_CREATED";
WidgetEventTypes["PURCHASE_SUCCESSFUL"] = "PURCHASE_SUCCESSFUL";
WidgetEventTypes["PURCHASE_FAILED"] = "PURCHASE_FAILED";
})(exports.RampInstantEventTypes || (exports.RampInstantEventTypes = {}));

@@ -323,0 +321,0 @@ var InternalEventTypes;

@@ -119,5 +119,3 @@ declare type TAsset = string;

WIDGET_CONFIG_FAILED = "WIDGET_CONFIG_FAILED",
PURCHASE_CREATED = "PURCHASE_CREATED",
PURCHASE_SUCCESSFUL = "PURCHASE_SUCCESSFUL",
PURCHASE_FAILED = "PURCHASE_FAILED"
PURCHASE_CREATED = "PURCHASE_CREATED"
}

@@ -147,16 +145,2 @@ export declare enum InternalEventTypes {

}
export interface IPurchaseSuccessfulEvent extends IWidgetEvent {
type: WidgetEventTypes.PURCHASE_SUCCESSFUL;
payload: {
purchase: IPurchase;
};
widgetInstanceId: string;
internal?: false;
}
export interface IPurchaseFailedEvent extends IWidgetEvent {
type: WidgetEventTypes.PURCHASE_FAILED;
payload: null;
widgetInstanceId: string;
internal?: false;
}
export interface IWidgetConfigDoneEvent extends IWidgetEvent {

@@ -198,3 +182,3 @@ type: WidgetEventTypes.WIDGET_CONFIG_DONE;

}
export declare type TWidgetEvents = IWidgetCloseEvent | IWidgetConfigDoneEvent | IWidgetConfigFailedEvent | IPurchaseCreatedEvent | IPurchaseFailedEvent | IPurchaseSuccessfulEvent;
export declare type TWidgetEvents = IWidgetCloseEvent | IWidgetConfigDoneEvent | IWidgetConfigFailedEvent | IPurchaseCreatedEvent;
export declare type TInternalEvents = IWidgetCloseRequestEvent | IWidgetCloseRequestCancelledEvent | IWidgetCloseRequestConfirmedEvent | IRequestCryptoAccountEvent;

@@ -201,0 +185,0 @@ export declare enum InternalSdkEventTypes {

4

package.json
{
"name": "@ramp-network/ramp-instant-sdk",
"version": "3.1.0",
"version": "3.1.1",
"description": "SDK for Ramp Instant",

@@ -84,2 +84,2 @@ "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

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