Socket
Socket
Sign inDemoInstall

cronofy-elements

Package Overview
Dependencies
Maintainers
3
Versions
171
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cronofy-elements - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

build/CronofyElements.v1.13.1.js

2

package.json
{
"name": "cronofy-elements",
"version": "1.13.0",
"version": "1.13.1",
"description": "Fast track scheduling with Cronofy's embeddable UI Elements",

@@ -5,0 +5,0 @@ "main": "build/npm/CronofyElements.js",

@@ -27,2 +27,3 @@ import React, { useState, useEffect } from "react";

export const AccountContext = React.createContext();
export const LoggingContext = React.createContext();

@@ -307,3 +308,7 @@ export const ExtrasContext = React.createContext();

>
<Week />
<AccountContext.Provider
value={account}
>
<Week />
</AccountContext.Provider>
</SlotsContext.Provider>

@@ -310,0 +315,0 @@ </StaticSlotsContext.Provider>

@@ -5,2 +5,3 @@ import React, { useContext } from "react";

import {
AccountContext,
SlotsContext,

@@ -18,2 +19,3 @@ StatusContext,

const Slots = () => {
const account = useContext(AccountContext);
const { slots, setSlots } = useContext(SlotsContext);

@@ -41,3 +43,3 @@ const [drag, setDrag] = useContext(DragContext);

},
availability_rule: newRules
availability_rule: { ...account, weekly_periods: newRules }
};

@@ -44,0 +46,0 @@ status.ruleSaved(callbackContent);

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