@cedelabs/providers
Advanced tools
Comparing version 0.0.6 to 0.0.7
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.detectCedeProvider = void 0; | ||
function detectCedeProvider(timeout = 3000) { | ||
function detectCedeProvider(timeout = 1000) { | ||
let handled = false; | ||
return new Promise((resolve, reject) => { | ||
return new Promise((resolve) => { | ||
if (window.cede) { | ||
@@ -29,3 +29,4 @@ handleConnection(); | ||
else { | ||
reject(new Error("Cede provider not found")); | ||
console.error("window.cede provider not found. You might need to install https://cede.store extension."); | ||
resolve(null); | ||
} | ||
@@ -32,0 +33,0 @@ } |
{ | ||
"name": "@cedelabs/providers", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
22434
53