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

@pinwheel/react-modal

Package Overview
Dependencies
Maintainers
20
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pinwheel/react-modal - npm Package Compare versions

Comparing version 2.2.2 to 2.3.0

1

dist/index.d.ts
/// <reference types="react" />
export declare const SDK_VERSION: SemverObject;
export declare type LinkResult = {

@@ -3,0 +4,0 @@ accountId: string;

20

dist/index.js

@@ -36,6 +36,11 @@ var React = require('react');

var version = {
major: 2,
minor: 2,
patch: 2
var _require$version$spli = require('../package.json').version.split('.').map(Number),
major = _require$version$spli[0],
minor = _require$version$spli[1],
patch = _require$version$spli[2];
var SDK_VERSION = {
major: major,
minor: minor,
patch: patch
};

@@ -47,3 +52,3 @@

tag.type = 'application/javascript';
tag.src = url || 'https://cdn.getpinwheel.com/pinwheel-v2.js';
tag.src = url || "https://cdn.getpinwheel.com/pinwheel-v" + major + "." + minor + ".js";
document.body.appendChild(tag);

@@ -95,3 +100,3 @@ tag.addEventListener('load', function () {

Pinwheel.open(_extends({}, props, {
_versionOverride: version,
_versionOverride: SDK_VERSION,
_sdkOverride: 'react'

@@ -108,3 +113,4 @@ }));

module.exports = PinwheelModal;
exports.SDK_VERSION = SDK_VERSION;
exports.default = PinwheelModal;
//# sourceMappingURL=index.js.map

@@ -36,6 +36,11 @@ import { useState, useEffect, createElement } from 'react';

var version = {
major: 2,
minor: 2,
patch: 2
var _require$version$spli = require('../package.json').version.split('.').map(Number),
major = _require$version$spli[0],
minor = _require$version$spli[1],
patch = _require$version$spli[2];
var SDK_VERSION = {
major: major,
minor: minor,
patch: patch
};

@@ -47,3 +52,3 @@

tag.type = 'application/javascript';
tag.src = url || 'https://cdn.getpinwheel.com/pinwheel-v2.js';
tag.src = url || "https://cdn.getpinwheel.com/pinwheel-v" + major + "." + minor + ".js";
document.body.appendChild(tag);

@@ -95,3 +100,3 @@ tag.addEventListener('load', function () {

Pinwheel.open(_extends({}, props, {
_versionOverride: version,
_versionOverride: SDK_VERSION,
_sdkOverride: 'react'

@@ -109,2 +114,3 @@ }));

export default PinwheelModal;
export { SDK_VERSION };
//# sourceMappingURL=index.modern.js.map
{
"name": "@pinwheel/react-modal",
"version": "2.2.2",
"version": "2.3.0",
"description": "React package for Pinwheel modal",

@@ -5,0 +5,0 @@ "author": "roscioli",

Sorry, the diff of this file is not supported yet

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