cash-tokenizer-client
Advanced tools
Comparing version 0.0.7 to 0.0.8
19
index.js
@@ -82,20 +82,6 @@ const EventSource = require('eventsource') | ||
async function setCreationState(id, state){ | ||
const form = { | ||
state | ||
} | ||
return await doPost('/tokenizer/creation/'+id+'/state', form) | ||
} | ||
async function getRedemptionState(id){ | ||
return await doGet('/tokenizer/creation/'+id+'/state') | ||
return await doGet('/tokenizer/redemption/'+id+'/state') | ||
} | ||
async function setRedemptionState(id, state){ | ||
const form = { | ||
state | ||
} | ||
return await doPost('/tokenizer/redemption/'+id+'/state', form) | ||
} | ||
async function tokenize(transfers){ | ||
@@ -112,7 +98,4 @@ const form = { | ||
getRedemptionState, | ||
setCreationState, | ||
setRedemptionState, | ||
subscribeToExecutedRedemptionsPubSub, | ||
tokenize, | ||
} | ||
@@ -119,0 +102,0 @@ } |
{ | ||
"name": "cash-tokenizer-client", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "A nodejs client for the cash-tokenizer API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
4100
92