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

@sollinked/sdk

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sollinked/sdk - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

2

dist/index.d.ts

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

export * from './src/Provider';
export * from './src/Provider/index.js';

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

export * from './src/Provider';
export * from './src/Provider/index.js';

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

import axios from '../Services/axios';
import axios from '../Services/axios.js';
import _ from 'lodash';

@@ -3,0 +3,0 @@ export const create = async (params) => {

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

import { convertToUtcDayAndHour } from '../../utils';
import { convertToUtcDayAndHour } from '../../utils.js';
import { RESERVATION_STATUS_AVAILABLE, RESERVATION_STATUS_BLOCKED } from '../Constants/common';
import axios from '../Services/axios';
import axios from '../Services/axios.js';
export const setPresetPrice = async (id, params) => {

@@ -5,0 +5,0 @@ try {

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

import axios from '../Services/axios';
import axios from '../Services/axios.js';
export const create = async (params) => {

@@ -3,0 +3,0 @@ try {

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

import axios from '../Services/axios';
import axios from '../Services/axios.js';
export const update = async (id, params) => {

@@ -3,0 +3,0 @@ try {

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

import axios from '../Services/axios';
import axios from '../Services/axios.js';
export const get = async () => {

@@ -3,0 +3,0 @@ };

@@ -1,5 +0,4 @@

/// <reference types="react" />
import { ProviderProps, SollinkedContextState } from "../../types";
export declare const SollinkedContext: import("react").Context<SollinkedContextState>;
export declare const useSollinked: () => SollinkedContextState;
export declare const Provider: ({ children, auth }: ProviderProps) => import("react/jsx-runtime").JSX.Element;
declare const useSollinked: () => SollinkedContextState;
declare const Provider: ({ children, auth }: ProviderProps) => import("react/jsx-runtime").JSX.Element;
export { useSollinked, Provider };
import { jsx as _jsx } from "react/jsx-runtime";
import * as account from "../Account";
import * as mail from '../Mail';
import * as github from '../Github';
import * as calendar from '../Calendar';
import * as integration from '../Integration';
import * as account from "../Account/index.js";
import * as mail from '../Mail/index.js';
import * as github from '../Github/index.js';
import * as calendar from '../Calendar/index.js';
import * as integration from '../Integration/index.js';
import { createContext, useCallback, useContext, useMemo, useState } from "react";
import { useCookies } from 'react-cookie';
import { convertToLocalDayAndHour } from "../../utils";
import { convertToLocalDayAndHour } from "../../utils.js";
class UninitializedError extends Error {

@@ -32,3 +32,3 @@ constructor() {

};
export const SollinkedContext = createContext({
const SollinkedContext = createContext({
user: DEFAULT_USER,

@@ -40,6 +40,6 @@ signature: "",

});
export const useSollinked = () => {
const useSollinked = () => {
return useContext(SollinkedContext);
};
export const Provider = ({ children, auth }) => {
const Provider = ({ children, auth }) => {
const [user, setUser] = useState(DEFAULT_USER);

@@ -310,1 +310,2 @@ const [cookies, setCookie,] = useCookies(['signatures']);

};
export { useSollinked, Provider };

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

export * from './src/Provider';
export * from './src/Provider/index.js';

@@ -3,0 +3,0 @@ // import * as account from "./src/Account";

{
"name": "@sollinked/sdk",
"version": "1.0.5",
"version": "1.0.6",
"description": "SDK for Sollinked",

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

import { ApiResult, AuthCallParams } from "../../types";
import axios from '../Services/axios';
import axios from '../Services/axios.js';
import { PublicUser, User, UserCreateParams, UserUpdateParams } from "./types";

@@ -4,0 +4,0 @@ import _ from 'lodash';

import { ApiResult } from '../../types';
import { convertToUtcDayAndHour } from '../../utils';
import { convertToUtcDayAndHour } from '../../utils.js';
import { RESERVATION_STATUS_AVAILABLE, RESERVATION_STATUS_BLOCKED } from '../Constants/common';
import axios from '../Services/axios';
import axios from '../Services/axios.js';
import { UpdatePresetPriceParams, UpdateUserReservationParams } from './types';

@@ -6,0 +6,0 @@

import { ApiResult, AuthCallParams } from "../../types";
import { CreateGitHubSettingParams, NewGithubIssueParams, UpdateGitHubSettingParams, UserGithubTier } from "./types";
import axios from '../Services/axios';
import axios from '../Services/axios.js';

@@ -5,0 +5,0 @@ // creates github setting

import { ApiResult, AuthCallParams } from '../../types';
import axios from '../Services/axios';
import axios from '../Services/axios.js';
import { UpdateIntegrationParams } from './types';

@@ -4,0 +4,0 @@

import { ClaimAllMailParams, ClaimSpecificMailParams, UpdateMailTierParams } from "./types"
import axios from '../Services/axios';
import axios from '../Services/axios.js';
import { ApiResult } from "../../types";

@@ -4,0 +4,0 @@

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