@transak/transak-sdk
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -1078,3 +1078,3 @@ (function(f){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=f()}else if(typeof define==="function"&&define.amd){define([],f)}else{var g;if(typeof window!=="undefined"){g=window}else if(typeof global!=="undefined"){g=global}else if(typeof self!=="undefined"){g=self}else{g=this}g.TransakSDK = f()}})(function(){var define,module,exports;return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){ | ||
"name": "@transak/transak-sdk", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Transak SDK that allows you to easily integrate the fiat on/ramp", | ||
@@ -1501,2 +1501,4 @@ "main": "dist/sdk.js", | ||
if (configData) { | ||
configData.hostURL = window.location.origin; | ||
if (configData.apiKey) { | ||
@@ -1503,0 +1505,0 @@ if (configData.environment) { |
{ | ||
"name": "@transak/transak-sdk", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Transak SDK that allows you to easily integrate the fiat on/ramp", | ||
@@ -5,0 +5,0 @@ "main": "dist/sdk.js", |
@@ -30,4 +30,2 @@ # Transak SDK | ||
environment: 'STAGING', // STAGING/PRODUCTION (Required) | ||
hostURL: window.location.origin, // (Required) | ||
walletAddress: '', // Your customer wallet address | ||
@@ -34,0 +32,0 @@ themeColor: '000000', // App theme color in hex |
@@ -91,2 +91,3 @@ import events from 'events'; | ||
if (configData) { | ||
configData.hostURL = window.location.origin; | ||
if (configData.apiKey) { | ||
@@ -93,0 +94,0 @@ if (configData.environment) { |
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
62881
1794
58