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

@sollinked/sdk

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sollinked/sdk - npm Package Compare versions

Comparing version 1.0.10 to 1.0.11

9

dist/src/Provider/index.js

@@ -98,8 +98,9 @@ import { jsx as _jsx } from "react/jsx-runtime";

}, [auth, signature, cookies, setCookie]);
const createAccount = useCallback(async (username) => {
if (!auth.address || !auth.message || !signature) {
const createAccount = useCallback(async (username, customSignature) => {
let sigToVerify = customSignature ?? signature;
if (!auth.address || !auth.message || !sigToVerify) {
return;
}
let { address, message } = auth;
let userRes = await account.create({ address, message, signature, username });
let userRes = await account.create({ address, message, signature: sigToVerify, username });
if (!userRes || typeof userRes === 'string') {

@@ -269,3 +270,3 @@ return;

if (!res) {
res = await createAccount(auth.address);
res = await createAccount(auth.address, customSignature);
}

@@ -272,0 +273,0 @@ setIsVerifying(false);

{
"name": "@sollinked/sdk",
"version": "1.0.10",
"version": "1.0.11",
"description": "SDK for Sollinked",

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

"test": "echo \"Error: no test specified\" && exit 1",
"publish": "tsc && npm publish"
"deploy": "tsc && npm publish"
},

@@ -19,0 +19,0 @@ "author": "Kida",

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