New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@tartine/common

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tartine/common - npm Package Compare versions

Comparing version

to
1.0.13

6

dist/magic/magic-email.d.ts
import sg from "@sendgrid/mail";
export declare function generateMagicLink(email: string, landingPage: string): string;
export declare function sendMagicLink(email: string, landingPage: string): Promise<[sg.ClientResponse, {}]>;
/**
* Success page
*
* const session = await stripe.checkout.sessions.retrieve(req.query.session_id);
const customer = await stripe.customers.retrieve(session.customer);
*/

@@ -83,1 +83,7 @@ "use strict";

exports.sendMagicLink = sendMagicLink;
/**
* Success page
*
* const session = await stripe.checkout.sessions.retrieve(req.query.session_id);
const customer = await stripe.customers.retrieve(session.customer);
*/

4

dist/middlewares/error-handler.d.ts

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

import { Request, Response } from "express";
export declare const errorHandler: (error: Error, _: Request, response: Response) => Response<any, Record<string, any>>;
import { Request, Response, NextFunction } from "express";
export declare const errorHandler: (error: Error, _: Request, response: Response, next: NextFunction) => Response<any, Record<string, any>>;

@@ -5,3 +5,3 @@ "use strict";

var errors_1 = require("../errors");
var errorHandler = function (error, _, response) {
var errorHandler = function (error, _, response, next) {
response.set("Content-Type", "application/problem+json");

@@ -8,0 +8,0 @@ if (error instanceof errors_1.CustomError) {

{
"name": "@tartine/common",
"version": "1.0.12",
"version": "1.0.13",
"description": "Nothing but commons",

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