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

@manifoldco/shadowcat

Package Overview
Dependencies
Maintainers
21
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@manifoldco/shadowcat - npm Package Compare versions

Comparing version 0.1.7-rc.0 to 0.1.7-rc.1

dist/cjs/core-fdb96a39.js

4

dist/cjs/loader.cjs.js

@@ -5,7 +5,7 @@ 'use strict';

const core = require('./core-a258c5d4.js');
const core = require('./core-fdb96a39.js');
const defineCustomElements = (win, options) => {
return core.patchEsm().then(() => {
core.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth"]]]], options);
core.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth",{"tick":[1]}]]]], options);
});

@@ -12,0 +12,0 @@ };

@@ -5,4 +5,6 @@ 'use strict';

const core = require('./core-a258c5d4.js');
const core = require('./core-fdb96a39.js');
const OAUTH_ORIGIN = 'https://login.manifold.co';
const OAUTH_URL = `${OAUTH_ORIGIN}/signin/oauth/web`;
const ManifoldOauth = class {

@@ -13,3 +15,3 @@ constructor(hostRef) {

const pumaToken = ev.data;
if (ev.origin === 'https://login.manifold.co') {
if (ev.origin === OAUTH_ORIGIN) {
this.receiveManifoldToken.emit({

@@ -25,2 +27,5 @@ token: pumaToken.access_token,

}
keyChange() {
this.refreshIframe();
}
componentWillLoad() {

@@ -33,4 +38,11 @@ this.loadTime = new Date();

}
refreshIframe() {
const iframe = this.el.querySelector('iframe');
if (iframe) {
// set iframe src again to refresh. Works in Chrome, Firefox, and Safari.
iframe.setAttribute('src', OAUTH_URL);
}
}
render() {
return (core.h("iframe", { src: "https://login.manifold.co/signin/oauth/web", allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
return (core.h("iframe", { src: OAUTH_URL, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
border: 'none',

@@ -49,4 +61,8 @@ display: 'block',

}
get el() { return core.getElement(this); }
static get watchers() { return {
"tick": ["keyChange"]
}; }
};
exports.manifold_oauth = ManifoldOauth;
'use strict';
const core = require('./core-a258c5d4.js');
const core = require('./core-fdb96a39.js');
core.patchBrowser().then(options => {
return core.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth"]]]], options);
return core.bootstrapLazy([["manifold-oauth.cjs",[[0,"manifold-oauth",{"tick":[1]}]]]], options);
});
import { h } from "@stencil/core";
const OAUTH_ORIGIN = 'https://login.manifold.co';
const OAUTH_URL = `${OAUTH_ORIGIN}/signin/oauth/web`;
export class ManifoldOauth {

@@ -6,3 +8,3 @@ constructor() {

const pumaToken = ev.data;
if (ev.origin === 'https://login.manifold.co') {
if (ev.origin === OAUTH_ORIGIN) {
this.receiveManifoldToken.emit({

@@ -17,2 +19,5 @@ token: pumaToken.access_token,

}
keyChange() {
this.refreshIframe();
}
componentWillLoad() {

@@ -25,4 +30,11 @@ this.loadTime = new Date();

}
refreshIframe() {
const iframe = this.el.querySelector('iframe');
if (iframe) {
// set iframe src again to refresh. Works in Chrome, Firefox, and Safari.
iframe.setAttribute('src', OAUTH_URL);
}
}
render() {
return (h("iframe", { src: "https://login.manifold.co/signin/oauth/web", allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
return (h("iframe", { src: OAUTH_URL, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
border: 'none',

@@ -42,2 +54,21 @@ display: 'block',

static get is() { return "manifold-oauth"; }
static get properties() { return {
"tick": {
"type": "string",
"mutable": false,
"complexType": {
"original": "string",
"resolved": "string",
"references": {}
},
"required": false,
"optional": true,
"docs": {
"tags": [],
"text": ""
},
"attribute": "tick",
"reflect": false
}
}; }
static get events() { return [{

@@ -64,2 +95,7 @@ "method": "receiveManifoldToken",

}]; }
static get elementRef() { return "el"; }
static get watchers() { return [{
"propName": "tick",
"methodName": "keyChange"
}]; }
}

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

import { r as registerInstance, c as createEvent, h } from './core-dfe013eb.js';
import { r as registerInstance, c as createEvent, h, g as getElement } from './core-0fc824c5.js';
var OAUTH_ORIGIN = 'https://login.manifold.co';
var OAUTH_URL = OAUTH_ORIGIN + "/signin/oauth/web";
var ManifoldOauth = /** @class */ (function () {

@@ -8,3 +10,3 @@ function class_1(hostRef) {

var pumaToken = ev.data;
if (ev.origin === 'https://login.manifold.co') {
if (ev.origin === OAUTH_ORIGIN) {
_this.receiveManifoldToken.emit({

@@ -20,2 +22,5 @@ token: pumaToken.access_token,

}
class_1.prototype.keyChange = function () {
this.refreshIframe();
};
class_1.prototype.componentWillLoad = function () {

@@ -28,4 +33,11 @@ this.loadTime = new Date();

};
class_1.prototype.refreshIframe = function () {
var iframe = this.el.querySelector('iframe');
if (iframe) {
// set iframe src again to refresh. Works in Chrome, Firefox, and Safari.
iframe.setAttribute('src', OAUTH_URL);
}
};
class_1.prototype.render = function () {
return (h("iframe", { src: "https://login.manifold.co/signin/oauth/web", allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
return (h("iframe", { src: OAUTH_URL, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
border: 'none',

@@ -44,4 +56,18 @@ display: 'block',

};
Object.defineProperty(class_1.prototype, "el", {
get: function () { return getElement(this); },
enumerable: true,
configurable: true
});
Object.defineProperty(class_1, "watchers", {
get: function () {
return {
"tick": ["keyChange"]
};
},
enumerable: true,
configurable: true
});
return class_1;
}());
export { ManifoldOauth as manifold_oauth };

@@ -1,3 +0,5 @@

import { r as registerInstance, c as createEvent, h } from './core-dfe013eb.js';
import { r as registerInstance, c as createEvent, h, g as getElement } from './core-0fc824c5.js';
const OAUTH_ORIGIN = 'https://login.manifold.co';
const OAUTH_URL = `${OAUTH_ORIGIN}/signin/oauth/web`;
const ManifoldOauth = class {

@@ -8,3 +10,3 @@ constructor(hostRef) {

const pumaToken = ev.data;
if (ev.origin === 'https://login.manifold.co') {
if (ev.origin === OAUTH_ORIGIN) {
this.receiveManifoldToken.emit({

@@ -20,2 +22,5 @@ token: pumaToken.access_token,

}
keyChange() {
this.refreshIframe();
}
componentWillLoad() {

@@ -28,4 +33,11 @@ this.loadTime = new Date();

}
refreshIframe() {
const iframe = this.el.querySelector('iframe');
if (iframe) {
// set iframe src again to refresh. Works in Chrome, Firefox, and Safari.
iframe.setAttribute('src', OAUTH_URL);
}
}
render() {
return (h("iframe", { src: "https://login.manifold.co/signin/oauth/web", allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
return (h("iframe", { src: OAUTH_URL, allowtransparency: "true", "aria-hidden": "true", frameborder: "0", id: "manifold-oauth-window", name: "manifold-oauth-window", scrolling: "no", tabindex: "-1", sandbox: "allow-scripts allow-same-origin", style: {
border: 'none',

@@ -44,4 +56,8 @@ display: 'block',

}
get el() { return getElement(this); }
static get watchers() { return {
"tick": ["keyChange"]
}; }
};
export { ManifoldOauth as manifold_oauth };

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

import{p,b as a}from"./p-5772770f.js";p().then(p=>a([["p-gzimwpjc",[[0,"manifold-oauth"]]]],p));
import{p as a,b as o}from"./p-a47ce962.js";a().then(a=>o([["p-4hbwyvwu",[[0,"manifold-oauth",{tick:[1]}]]]],a));

@@ -14,3 +14,5 @@ /* tslint:disable */

export namespace Components {
interface ManifoldOauth {}
interface ManifoldOauth {
'tick'?: string;
}
}

@@ -34,2 +36,3 @@

'onReceiveManifoldToken'?: (event: CustomEvent<AuthToken>) => void;
'tick'?: string;
}

@@ -36,0 +39,0 @@

import { EventEmitter } from '../../stencil.core';
import { AuthToken } from '../../interface';
export declare class ManifoldOauth {
el: HTMLElement;
tick?: string;
receiveManifoldToken: EventEmitter<AuthToken>;
keyChange(): void;
private loadTime?;

@@ -9,3 +12,4 @@ tokenListener: (ev: MessageEvent) => void;

componentDidUnload(): void;
refreshIframe(): void;
render(): any;
}

@@ -29,3 +29,3 @@ {

"path": "./dist/esm/manifold*.js",
"maxSize": "2 kB",
"maxSize": "2.5 kB",
"compression": "none"

@@ -53,3 +53,3 @@ }

},
"version": "0.1.7-rc.0"
"version": "0.1.7-rc.1"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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