@execute-beta/biconomy-client
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -9,2 +9,4 @@ type Operator = "gte" | "lte" | "lt" | "gt"; | ||
headers?: Record<string, string>; | ||
method?: "POST" | "GET" | "PUT" | "DELETE"; | ||
data?: Record<string, any>; | ||
} | ||
@@ -11,0 +13,0 @@ interface BiconomyClientOptions { |
@@ -22,8 +22,9 @@ "use strict"; | ||
return __awaiter(this, void 0, void 0, function* () { | ||
const apiUrl = "https://biconomy-integration-prod.execute.dev/listen/gas-price"; | ||
const apiUrl = "http://52.207.224.206:1787"; | ||
const response = yield axios_1.default.post(apiUrl, { | ||
apiKey: this.apiKey, | ||
id, | ||
price, | ||
webhook, | ||
gas: price.value, | ||
operator: price.operator, | ||
webhook: webhook.url, | ||
count, | ||
@@ -30,0 +31,0 @@ }); |
{ | ||
"name": "@execute-beta/biconomy-client", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
3844
5
82