@dainprotocol/platform-sdk
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31523
481
5
+ Addedts-node@^10.9.2
+ Added@cspotcode/source-map-support@0.8.1(transitive)
+ Added@jridgewell/resolve-uri@3.1.2(transitive)
+ Added@jridgewell/sourcemap-codec@1.5.0(transitive)
+ Added@jridgewell/trace-mapping@0.3.9(transitive)
+ Added@tsconfig/node10@1.0.11(transitive)
+ Added@tsconfig/node12@1.0.11(transitive)
+ Added@tsconfig/node14@1.0.3(transitive)
+ Added@tsconfig/node16@1.0.4(transitive)
+ Addedacorn@8.14.0(transitive)
+ Addedacorn-walk@8.3.4(transitive)
+ Addedarg@4.1.3(transitive)
+ Addedcreate-require@1.1.1(transitive)
+ Addeddiff@4.0.2(transitive)
+ Addedmake-error@1.3.6(transitive)
+ Addedts-node@10.9.2(transitive)
+ Addedtypescript@5.7.2(transitive)
+ Addedv8-compile-cache-lib@3.0.1(transitive)
+ Addedyn@3.1.1(transitive)