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

@biscuit-auth/web-components

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@biscuit-auth/web-components - npm Package Compare versions

Comparing version 0.3.5 to 0.3.6

7

dist/cjs/src/bc-token-printer.js

@@ -15,2 +15,3 @@ "use strict";

constructor() {
var _a, _b;
super();

@@ -24,3 +25,3 @@ this.biscuit = "";

if (authorizerChild !== null) {
this.authorizer = authorizerChild.textContent.trim();
this.authorizer = (_b = (_a = authorizerChild.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : "";
}

@@ -145,9 +146,7 @@ }

};
console.log({ authorizerQuery });
const authorizerResult = (0, biscuit_wasm_support_1.execute)(authorizerQuery);
console.log({ authorizerResult });
const blockMarkers = authorizerResult.token_blocks.map((b) => b.markers.map(this.convertMark));
return (0, lit_1.html) `
<div class="row">
${this.renderResult(parseResult.error, blocks, blockMarkers)}
${this.renderResult(parseResult.error, blocks, this.showAuthorizer ? blockMarkers : [])}
</div>

@@ -154,0 +153,0 @@ <div class="row">

@@ -12,2 +12,3 @@ import { __decorate } from "tslib";

constructor() {
var _a, _b;
super();

@@ -21,3 +22,3 @@ this.biscuit = "";

if (authorizerChild !== null) {
this.authorizer = authorizerChild.textContent.trim();
this.authorizer = (_b = (_a = authorizerChild.textContent) === null || _a === void 0 ? void 0 : _a.trim()) !== null && _b !== void 0 ? _b : "";
}

@@ -142,9 +143,7 @@ }

};
console.log({ authorizerQuery });
const authorizerResult = execute(authorizerQuery);
console.log({ authorizerResult });
const blockMarkers = authorizerResult.token_blocks.map((b) => b.markers.map(this.convertMark));
return html `
<div class="row">
${this.renderResult(parseResult.error, blocks, blockMarkers)}
${this.renderResult(parseResult.error, blocks, this.showAuthorizer ? blockMarkers : [])}
</div>

@@ -151,0 +150,0 @@ <div class="row">

@@ -11,3 +11,3 @@ {

"author": "Geoffroy Couprie",
"version": "0.3.5",
"version": "0.3.6",
"scripts": {

@@ -19,3 +19,3 @@ "start": "wds --node-resolve --open demo/",

"build": "tsc",
"prepublishOnly": "tsc && tsc -p tsconfig-cjs.json",
"prepublishOnly": "npm run ci && tsc && tsc -p tsconfig-cjs.json",
"ci": "tsc && eslint src --ext .ts && prettier -c src",

@@ -22,0 +22,0 @@ "format": "prettier -w src"

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