@ikas/app-helpers
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -61,3 +61,3 @@ "use strict"; | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getNewToken'), 30000); | ||
try { | ||
@@ -88,3 +88,3 @@ const callback = (msg) => { | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getAuthorizedAppId'), 5000); | ||
try { | ||
@@ -116,3 +116,3 @@ const callback = (msg) => { | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getDashboardLanguage'), 30000); | ||
try { | ||
@@ -119,0 +119,0 @@ const callback = (msg) => { |
{ | ||
"name": "@ikas/app-helpers", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "ikas store app helpers", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -72,3 +72,3 @@ export class AppBridgeHelper { | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getNewToken'), 30000); | ||
try { | ||
@@ -102,3 +102,3 @@ const callback = (msg: MessageEvent) => { | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getAuthorizedAppId'), 5000); | ||
try { | ||
@@ -133,3 +133,3 @@ const callback = (msg: MessageEvent) => { | ||
return new Promise((resolve, reject) => { | ||
const timer = setTimeout(() => reject('Timed out'), 30000); | ||
const timer = setTimeout(() => reject('Timed out getDashboardLanguage'), 30000); | ||
try { | ||
@@ -136,0 +136,0 @@ const callback = (msg: MessageEvent) => { |
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
24986