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

@dainprotocol/platform-sdk

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dainprotocol/platform-sdk - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

4

dist/util/BuildSignSend.js

@@ -16,3 +16,4 @@ "use strict";

if (!baseRoute) {
baseRoute = "http://localhost:3001/api/platform-api/v1";
baseRoute = "https://platform.dain.org/api/platform-api/v1";
//baseRoute = "http://localhost:3001/api/platform-api/v1";
}

@@ -53,2 +54,3 @@ const build = yield fetch(buildRequest.route.startsWith("http")

const sendData = yield send.json();
console.log("SEND DATA", sendData);
if (!sendData.success) {

@@ -55,0 +57,0 @@ throw new Error("Sending transaction failed," + sendData.errorMsg);

{
"name": "@dainprotocol/platform-sdk",
"version": "1.0.0",
"version": "1.0.1",
"description": "SDK for the Dain Platform",

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

"@solana/web3.js": "^1.91.7",
"bs58": "^5.0.0"
"bs58": "^5.0.0",
"ts-node": "^10.9.2"
},

@@ -22,0 +23,0 @@ "devDependencies": {

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