@automationcloud/client
Advanced tools
Comparing version 1.7.0 to 1.7.1
@@ -31,3 +31,3 @@ import { Request } from '@automationcloud/request'; | ||
*/ | ||
createDataToken(data: any, existingOtp?: string): Promise<object>; | ||
createDataToken(data: any, existingOtp?: string): Promise<any>; | ||
/** | ||
@@ -34,0 +34,0 @@ * Constructs a payment iframe URL hosted by Automation Cloud Vault. |
{ | ||
"name": "@automationcloud/client", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"description": "JavaScript/TypeScript Client Library for Automation Cloud API", | ||
@@ -5,0 +5,0 @@ "main": "out/main/index.js", |
@@ -63,3 +63,3 @@ // Copyright 2020 UBIO Limited | ||
*/ | ||
async createDataToken(data: any, existingOtp?: string): Promise<object> { | ||
async createDataToken(data: any, existingOtp?: string): Promise<any> { | ||
const otp = existingOtp ?? await this.createOtp(); | ||
@@ -66,0 +66,0 @@ const { token } = await this.request.post('/data', { |
Sorry, the diff of this file is not supported yet
197376