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

@learnweb3dao/siwe

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@learnweb3dao/siwe - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/siweMessage.d.ts

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

import { SiwxMessage, VerificationResponse, VerifyParams } from "common";
import { SiwxMessage, VerificationResponse, VerifyParams } from "@learnweb3dao/siwx-common";
export declare class SiweMessage extends SiwxMessage<string> {

@@ -3,0 +3,0 @@ toMessage(): string;

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

exports.SiweMessage = void 0;
const common_1 = require("common");
const siwx_common_1 = require("@learnweb3dao/siwx-common");
const ethers_1 = require("ethers");
class SiweMessage extends common_1.SiwxMessage {
class SiweMessage extends siwx_common_1.SiwxMessage {
toMessage() {

@@ -28,3 +28,3 @@ return this._toMessage("Ethereum");

if (recoveredAddress !== this.address) {
throw new common_1.SiwxError(common_1.SiwxErrorTypes.INVALID_SIGNATURE, `Signature does not match address ${this.address}`);
throw new siwx_common_1.SiwxError(siwx_common_1.SiwxErrorTypes.INVALID_SIGNATURE, `Signature does not match address ${this.address}`);
}

@@ -31,0 +31,0 @@ return {

{
"name": "@learnweb3dao/siwe",
"version": "0.1.4",
"version": "0.1.5",
"description": "",

@@ -19,3 +19,3 @@ "main": "dist/index.js",

"dependencies": {
"common": "^0.1.0",
"@learnweb3dao/siwx-common": "^0.1.0",
"ethers": "5"

@@ -32,3 +32,3 @@ },

},
"gitHead": "e786a65df9579f5ed414e81e93d0d126caee990a"
"gitHead": "9433bb62f2f859c64c51a7d5c0f540ac9eda51dd"
}

@@ -7,3 +7,3 @@ import {

VerifyParams,
} from "common";
} from "@learnweb3dao/siwx-common";
import { utils } from "ethers";

@@ -10,0 +10,0 @@

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