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

piral-auth

Package Overview
Dependencies
Maintainers
0
Versions
933
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

piral-auth - npm Package Compare versions

Comparing version 1.6.0-beta.7240 to 1.6.0-beta.7243

6

lib/actions.js

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.setUser = void 0;
function setUser(ctx, user) {
export function setUser(ctx, user) {
ctx.dispatch((state) => {

@@ -16,3 +13,2 @@ ctx.emit('change-user', {

}
exports.setUser = setUser;
//# sourceMappingURL=actions.js.map

8

lib/create.js

@@ -1,9 +0,6 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createAuthApi = void 0;
const actions = require("./actions");
import * as actions from './actions';
/**
* Creates new Pilet API extensions for enabling authentication support.
*/
function createAuthApi(config = {}) {
export function createAuthApi(config = {}) {
const { user } = config;

@@ -23,3 +20,2 @@ return (context) => {

}
exports.createAuthApi = createAuthApi;
//# sourceMappingURL=create.js.map

@@ -1,6 +0,3 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./create"), exports);
tslib_1.__exportStar(require("./types"), exports);
export * from './create';
export * from './types';
//# sourceMappingURL=index.js.map

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

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
export {};
//# sourceMappingURL=types.js.map
{
"name": "piral-auth",
"version": "1.6.0-beta.7240",
"version": "1.6.0-beta.7243",
"description": "Plugin for handling authentication in Piral.",

@@ -20,20 +20,8 @@ "keywords": [

"license": "MIT",
"module": "esm/index.js",
"module": "lib/index.js",
"main": "lib/index.js",
"typings": "lib/index.d.ts",
"exports": {
".": {
"import": "./esm/index.js",
"require": "./lib/index.js"
},
"./esm/*": {
"import": "./esm/*"
},
"./lib/*": {
"require": "./lib/*"
},
"./_/*": {
"import": "./esm/*.js",
"require": "./lib/*.js"
},
".": "./lib/index.js",
"./lib/*": "./lib/*",
"./package.json": "./package.json"

@@ -43,3 +31,2 @@ },

"files": [
"esm",
"lib",

@@ -58,6 +45,5 @@ "src",

"cleanup": "rimraf esm lib piral-auth.min.js",
"build": "yarn build:bundle && yarn build:commonjs && yarn build:esnext",
"build": "yarn build:bundle && yarn build:esnext",
"build:bundle": "esbuild src/index.ts --outfile=piral-auth.min.js --bundle --external:piral-core --minify",
"build:commonjs": "tsc --project tsconfig.json --outDir lib --module commonjs",
"build:esnext": "tsc --project tsconfig.json --outDir esm --module esnext",
"build:esnext": "tsc --project tsconfig.json --outDir lib --module esnext",
"typedoc": "typedoc --json ../../../docs/types/piral-auth.json src --exclude \"src/**/*.test.*\"",

@@ -67,5 +53,5 @@ "test": "echo \"Error: run tests from root\" && exit 1"

"devDependencies": {
"piral-core": "1.6.0-beta.7240"
"piral-core": "1.6.0-beta.7243"
},
"gitHead": "2fd8ff47d9a7e0666e4e6bc1dc5a7ef45e8e9f39"
"gitHead": "bbb6e4f78c61b6ef753099a5b378ad2708565ce3"
}

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

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