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

@ikas/app-helpers

Package Overview
Dependencies
Maintainers
0
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ikas/app-helpers - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

3

dist/helpers/app-bridge.js

@@ -87,6 +87,7 @@ "use strict";

return new Promise((resolve, reject) => {
const timer = setTimeout(() => reject('Timed out'), 5000);
const timer = setTimeout(() => reject('Timed out'), 30000);
try {
const callback = (msg) => {
var _a, _b, _c;
console.log('msg', msg);
if (((_a = msg.data) === null || _a === void 0 ? void 0 : _a.type) === AppBridgeCallbackMessageType.AUTHORIZED_APP_ID_RESPONSE) {

@@ -93,0 +94,0 @@ const authorizedAppId = (_c = (_b = msg.data) === null || _b === void 0 ? void 0 : _b.data) === null || _c === void 0 ? void 0 : _c.authorizedAppId;

{
"name": "@ikas/app-helpers",
"version": "1.0.3",
"version": "1.0.4",
"description": "ikas store app helpers",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -101,5 +101,6 @@ export class AppBridgeHelper {

return new Promise((resolve, reject) => {
const timer = setTimeout(() => reject('Timed out'), 5000);
const timer = setTimeout(() => reject('Timed out'), 30000);
try {
const callback = (msg: MessageEvent) => {
console.log('msg', msg)
if (msg.data?.type === AppBridgeCallbackMessageType.AUTHORIZED_APP_ID_RESPONSE) {

@@ -106,0 +107,0 @@ const authorizedAppId = msg.data?.data?.authorizedAppId;

Sorry, the diff of this file is not supported yet

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