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

@algoan/connect

Package Overview
Dependencies
Maintainers
3
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@algoan/connect - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

2

dist/algoan-connect.js

@@ -1,3 +0,3 @@

/*! Algoan Connect version v1.0.1 */
/*! Algoan Connect v2.1.0 */
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AlgoanConnect=t():e.AlgoanConnect=t()}(self,(function(){return(()=>{"use strict";var e={614:function(e,t){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.addWidget=void 0;var o=function(e){var t=e.iframeUrl;return null!=t?t:"https://connect.algoan.com"},r=function(e,t){window.addEventListener("message",(function(r){r.origin===o(e)&&"ready"===r.data&&function(e,t){var r,i=n(n({},e),{onSuccessUrl:e.onSuccessUrl||window.location.href});null===(r=t.contentWindow)||void 0===r||r.postMessage(i,o(i))}(e,t)}))};t.addWidget=function(e){!function(e){if("object"!=typeof e)throw new Error("Invalid config provided.")}(e);var t=document.getElementById("algoan-connect");if(null===t)throw new Error("No container element found. Are you sure you created a div with id `algoan-connect`?");var n=function(e){var t=document.createElement("iframe");return t.src=o(e),t.style.border="none",t.style.width="335px",t.style.height="130px",t}(e);r(e,n),t.appendChild(n)}},607:function(e,t,n){var o=this&&this.__createBinding||(Object.create?function(e,t,n,o){void 0===o&&(o=n),Object.defineProperty(e,o,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,o){void 0===o&&(o=n),e[o]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||o(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),r(n(614),t)}},t={};return function n(o){if(t[o])return t[o].exports;var r=t[o]={exports:{}};return e[o].call(r.exports,r,r.exports,n),r.exports}(607)})()}));
//# sourceMappingURL=algoan-connect.js.map

@@ -0,1 +1,2 @@

import { IApplication } from '@algoan/rest';
export interface Config {

@@ -7,3 +8,3 @@ apiKey: string;

onCancelUrl?: string;
application?: unknown;
application?: Partial<IApplication>;
text?: {

@@ -10,0 +11,0 @@ title?: string;

@@ -0,1 +1,2 @@

import { IApplication } from '@algoan/rest';
export interface Config {

@@ -7,3 +8,3 @@ apiKey: string;

onCancelUrl?: string;
application?: unknown;
application?: Partial<IApplication>;
text?: {

@@ -10,0 +11,0 @@ title?: string;

{
"name": "@algoan/connect",
"version": "2.0.0",
"version": "2.1.0",
"description": "Library for Algoan Connect",

@@ -58,4 +58,6 @@ "main": "lib/index.js",

"@algoan/eslint-config-react": "^1.1.0",
"@algoan/rest": "^1.20.0",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@semantic-release/exec": "^5.0.0",
"@semantic-release/git": "^9.0.0",

@@ -62,0 +64,0 @@ "@types/jest": "^26.0.15",

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