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

@learnweb3dao/siws

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/siws - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

2

dist/siwsMessage.d.ts

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

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

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

@@ -16,6 +16,6 @@ "use strict";

exports.SiwsMessage = void 0;
const common_1 = require("common");
const siwx_common_1 = require("@learnweb3dao/siwx-common");
const ed25519_1 = require("@noble/curves/ed25519");
const bs58_1 = __importDefault(require("bs58"));
class SiwsMessage extends common_1.SiwxMessage {
class SiwsMessage extends siwx_common_1.SiwxMessage {
toMessage() {

@@ -35,3 +35,3 @@ const messageStr = this._toMessage("Solana");

if (!verifyResult) {
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}`);
}

@@ -38,0 +38,0 @@ return {

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

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

"dependencies": {
"@learnweb3dao/siwx-common": "^0.1.0",
"@noble/curves": "^1.0.0",
"bs58": "^5.0.0",
"common": "^0.1.0"
"bs58": "^5.0.0"
},

@@ -33,3 +33,3 @@ "devDependencies": {

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

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

VerifyParams,
} from "common";
} from "@learnweb3dao/siwx-common";
import { ed25519 } from "@noble/curves/ed25519";

@@ -10,0 +10,0 @@ import base58 from "bs58";

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