@frontapp/plugin-sdk
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -255,2 +255,6 @@ import { ApplicationCancelError, buildApplicationCancelTokenSource } from '@frontapp/ui-bridge'; | ||
var buildCancelTokenSource = Front.buildCancelTokenSource, contextUpdates = Front.contextUpdates, isCancelError = Front.isCancelError; | ||
// Subscribe to the context updates so we do a handshake immediately. | ||
// Subscribing here makes sure we do a handshake the moment the file is loaded instead of | ||
// waiting for the consuming plugin to subscribe to the contextUpdates observable. | ||
contextUpdates.pipe(take(1)).subscribe(); | ||
/** Delegate clicks on anchor elements targetting a new window to Front. */ | ||
@@ -257,0 +261,0 @@ function delegateAnchorClicksToFront() { |
@@ -260,2 +260,6 @@ 'use strict'; | ||
var buildCancelTokenSource = Front.buildCancelTokenSource, contextUpdates = Front.contextUpdates, isCancelError = Front.isCancelError; | ||
// Subscribe to the context updates so we do a handshake immediately. | ||
// Subscribing here makes sure we do a handshake the moment the file is loaded instead of | ||
// waiting for the consuming plugin to subscribe to the contextUpdates observable. | ||
contextUpdates.pipe(operators.take(1)).subscribe(); | ||
/** Delegate clicks on anchor elements targetting a new window to Front. */ | ||
@@ -262,0 +266,0 @@ function delegateAnchorClicksToFront() { |
{ | ||
"name": "@frontapp/plugin-sdk", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
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
271651
1582