@marigold-dev/gas-station-lib
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -54,3 +54,2 @@ "use strict"; | ||
case 0: | ||
console.log(ops); | ||
post_content = { | ||
@@ -60,2 +59,3 @@ sender: sender, | ||
}; | ||
console.log(post_content); | ||
return [4 /*yield*/, fetch(this.url, { | ||
@@ -157,4 +157,2 @@ method: "POST", | ||
permit_bytes = (0, michel_codec_1.packDataBytes)(permit_data, permit_type).bytes; | ||
console.log(permit_bytes); | ||
console.log(transfer_hash); | ||
return [2 /*return*/, { bytes: permit_bytes, transfer_hash: transfer_hash }]; | ||
@@ -173,3 +171,2 @@ } | ||
contract = _a.sent(); | ||
console.log("foo"); | ||
return [4 /*yield*/, contract.methods.permit([[ | ||
@@ -182,4 +179,2 @@ op.publicKey, | ||
call = _a.sent(); | ||
console.log("bar"); | ||
console.log(call); | ||
return [2 /*return*/, call]; | ||
@@ -186,0 +181,0 @@ } |
{ | ||
"name": "@marigold-dev/gas-station-lib", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Interact with a gas station API and produce TZIP 17 permits", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
10178
182