Socket
Socket
Sign inDemoInstall

@ledgerhq/connect-kit-loader

Package Overview
Dependencies
0
Maintainers
21
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.1-beta.1 to 1.1.1

3

CHANGELOG.md

@@ -10,2 +10,5 @@ # Changelog

## 1.1.1 - 2023-08-01
Nothing changed from the last version
## 1.1.1-beta.1 - 2023-08-01

@@ -12,0 +15,0 @@ ### Changed

2

dist/esm/index.js

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

function e(e,n,t,r){return new(t||(t=Promise))((function(o,c){function i(e){try{a(r.next(e))}catch(e){c(e)}}function u(e){try{a(r.throw(e))}catch(e){c(e)}}function a(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,u)}a((r=r.apply(e,n||[])).next())}))}function n(e,n){var t,r,o,c,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return c={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(a){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(i=0)),i;)try{if(t=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=n.call(e,i)}catch(e){u=[6,e],r=0}finally{t=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,a])}}}var t,r;function o(){return e(this,void 0,void 0,(function(){var e;return n(this,(function(n){return"https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1.1.1-beta.0",e="ledgerConnectKit",[2,new Promise((function(n,t){var r="ledger-ck-script-".concat(e);if("undefined"!=typeof document)if(document.getElementById(r))n(window[e]);else{var o=document.createElement("script");o.src="https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1.1.1-beta.0",o.id=r,o.addEventListener("load",(function(){n(window[e])})),o.addEventListener("error",(function(e){t(e.error)})),document.head.appendChild(o)}else t("Connect Kit does not support server side")}))]}))}))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.LedgerConnect="LedgerConnect",e.WalletConnect="WalletConnect"}(t||(t={})),function(e){e.Ethereum="Ethereum"}(r||(r={}));export{t as SupportedProviderImplementations,r as SupportedProviders,o as loadConnectKit};
function e(e,n,t,r){return new(t||(t=Promise))((function(o,c){function i(e){try{l(r.next(e))}catch(e){c(e)}}function u(e){try{l(r.throw(e))}catch(e){c(e)}}function l(e){var n;e.done?o(e.value):(n=e.value,n instanceof t?n:new t((function(e){e(n)}))).then(i,u)}l((r=r.apply(e,n||[])).next())}))}function n(e,n){var t,r,o,c,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return c={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(c[Symbol.iterator]=function(){return this}),c;function u(u){return function(l){return function(u){if(t)throw new TypeError("Generator is already executing.");for(;c&&(c=0,u[0]&&(i=0)),i;)try{if(t=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return i.label++,{value:u[1],done:!1};case 5:i.label++,r=u[1],u=[0];continue;case 7:u=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==u[0]&&2!==u[0])){i=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]<o[3])){i.label=u[1];break}if(6===u[0]&&i.label<o[1]){i.label=o[1],o=u;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(u);break}o[2]&&i.ops.pop(),i.trys.pop();continue}u=n.call(e,i)}catch(e){u=[6,e],r=0}finally{t=o=0}if(5&u[0])throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}([u,l])}}}var t,r;function o(){return e(this,void 0,void 0,(function(){var e;return n(this,(function(n){return"https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1",e="ledgerConnectKit",[2,new Promise((function(n,t){var r="ledger-ck-script-".concat(e);if("undefined"!=typeof document)if(document.getElementById(r))n(window[e]);else{var o=document.createElement("script");o.src="https://cdn.jsdelivr.net/npm/@ledgerhq/connect-kit@1",o.id=r,o.addEventListener("load",(function(){n(window[e])})),o.addEventListener("error",(function(e){t(e.error)})),document.head.appendChild(o)}else t("Connect Kit does not support server side")}))]}))}))}"function"==typeof SuppressedError&&SuppressedError,function(e){e.LedgerConnect="LedgerConnect",e.WalletConnect="WalletConnect"}(t||(t={})),function(e){e.Ethereum="Ethereum"}(r||(r={}));export{t as SupportedProviderImplementations,r as SupportedProviders,o as loadConnectKit};
{
"name": "@ledgerhq/connect-kit-loader",
"version": "1.1.1-beta.1",
"version": "1.1.1",
"description": "Load Ledger Connect Kit at runtime, a library for dApps to integrate with the Ledger Extension and Ledger Live",

@@ -5,0 +5,0 @@ "author": "Ledger SAS <ledger.com>",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc