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

@bloomreach/navapp-communication

Package Overview
Dependencies
Maintainers
33
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bloomreach/navapp-communication - npm Package Compare versions

Comparing version 3.0.0-2 to 3.0.0-3

2

dist/index.js

@@ -177,3 +177,3 @@ import Penpal from 'penpal';

var version="3.0.0-2";
var version="3.0.0-3";

@@ -180,0 +180,0 @@ /*

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

!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("penpal")):"function"==typeof define&&define.amd?define(["exports","penpal"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self)["navapp-communication"]={},e.penpal)}(this,(function(e,o){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,t,i=n(o);e.ClientErrorCodes=void 0,(r=e.ClientErrorCodes||(e.ClientErrorCodes={}))[r.UnknownError=0]="UnknownError",r[r.GenericCommunicationError=1]="GenericCommunicationError",r[r.NotAuthorizedError=403]="NotAuthorizedError",r[r.PageNotFoundError=404]="PageNotFoundError",r[r.InternalError=500]="InternalError",r[r.UnableToConnectToServerError=501]="UnableToConnectToServerError",e.NavigationTrigger=void 0,(t=e.NavigationTrigger||(e.NavigationTrigger={})).NotDefined="NotDefined",t.InitialNavigation="InitialNavigation",t.Menu="Menu",t.Breadcrumbs="Breadcrumbs",t.FastTravel="FastTravel",t.AnotherApp="AnotherApp",t.PopState="PopState";const a=(e,o,n)=>(...r)=>new Promise((async(t,i)=>{const a=setTimeout((()=>{i(`${o} call timed out`)}),n);try{const o=await e(...r);clearTimeout(a),t(o)}catch(e){i(e)}}));const c=(e,o)=>{const n=e.beforeNavigation;delete e.beforeNavigation;const r=function(e,o=3e5){if(!o||o<0)return e;const n={};for(const r of Object.keys(e))n[r]=a(e[r].bind(e),r,o);return n}(e,o);return r.beforeNavigation=n,r};e.connectToChild=async function({iframe:e,methods:o,connectionTimeout:n,methodInvocationTimeout:r}){const t=await i.default.connectToChild({iframe:e,methods:o,timeout:n}).promise;return c(t,r)},e.connectToParent=async function({parentOrigin:e,methods:o}){return i.default.connectToParent({parentOrigin:e,methods:o}).promise},e.getVersion=function(){return"3.0.0-2"},Object.defineProperty(e,"__esModule",{value:!0})}));
!function(e,o){"object"==typeof exports&&"undefined"!=typeof module?o(exports,require("penpal")):"function"==typeof define&&define.amd?define(["exports","penpal"],o):o((e="undefined"!=typeof globalThis?globalThis:e||self).brNavappCommunication={},e.Penpal)}(this,(function(e,o){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r,t,i=n(o);e.ClientErrorCodes=void 0,(r=e.ClientErrorCodes||(e.ClientErrorCodes={}))[r.UnknownError=0]="UnknownError",r[r.GenericCommunicationError=1]="GenericCommunicationError",r[r.NotAuthorizedError=403]="NotAuthorizedError",r[r.PageNotFoundError=404]="PageNotFoundError",r[r.InternalError=500]="InternalError",r[r.UnableToConnectToServerError=501]="UnableToConnectToServerError",e.NavigationTrigger=void 0,(t=e.NavigationTrigger||(e.NavigationTrigger={})).NotDefined="NotDefined",t.InitialNavigation="InitialNavigation",t.Menu="Menu",t.Breadcrumbs="Breadcrumbs",t.FastTravel="FastTravel",t.AnotherApp="AnotherApp",t.PopState="PopState";const a=(e,o,n)=>(...r)=>new Promise((async(t,i)=>{const a=setTimeout((()=>{i(`${o} call timed out`)}),n);try{const o=await e(...r);clearTimeout(a),t(o)}catch(e){i(e)}}));const c=(e,o)=>{const n=e.beforeNavigation;delete e.beforeNavigation;const r=function(e,o=3e5){if(!o||o<0)return e;const n={};for(const r of Object.keys(e))n[r]=a(e[r].bind(e),r,o);return n}(e,o);return r.beforeNavigation=n,r};e.connectToChild=async function({iframe:e,methods:o,connectionTimeout:n,methodInvocationTimeout:r}){const t=await i.default.connectToChild({iframe:e,methods:o,timeout:n}).promise;return c(t,r)},e.connectToParent=async function({parentOrigin:e,methods:o}){return i.default.connectToParent({parentOrigin:e,methods:o}).promise},e.getVersion=function(){return"3.0.0-3"},Object.defineProperty(e,"__esModule",{value:!0})}));
//# sourceMappingURL=index.umd.js.map
{
"name": "@bloomreach/navapp-communication",
"version": "3.0.0-2",
"version": "3.0.0-3",
"main": "dist/index.umd.js",

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

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