Socket
Socket
Sign inDemoInstall

swissqrbill

Package Overview
Dependencies
Maintainers
1
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swissqrbill - npm Package Compare versions

Comparing version 4.0.0-alpha.12 to 4.0.0-alpha.13

1

lib/svg/swissqrbill.d.ts

@@ -19,2 +19,3 @@ import { SVG } from "svg-engine";

*/
get element(): SVGElement;
private _render;

@@ -21,0 +22,0 @@ private _renderQRCode;

8

lib/svg/swissqrbill.js

@@ -5,5 +5,5 @@ import { SVG, calc } from "svg-engine";

import { translations } from "../shared/translations.js";
import { formatIBAN, mm2px, formatReference, formatAmount, getReferenceType } from "../shared/utils.js";
import { validateData } from "../shared/validator.js";
import { calculateTextWidth } from "./characterWidth.js";
import { formatIBAN, mm2px, formatReference, formatAmount, getReferenceType } from "../shared/utils.js";
class SwissQRBill {

@@ -40,5 +40,5 @@ constructor(data, options) {

*/
// public get element(): SVGElement {
// return this.instance.element as unknown as SVGElement;
// }
get element() {
return this.instance.element;
}
_render() {

@@ -45,0 +45,0 @@ const formattedCreditorAddress = this._formatAddress(this._data.creditor);

{
"version": "4.0.0-alpha.12",
"version": "4.0.0-alpha.13",
"type": "module",

@@ -4,0 +4,0 @@ "name": "swissqrbill",

Sorry, the diff of this file is too big to display

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