@workerbase/sdk
Advanced tools
Comparing version 0.1.15-beta.9 to 0.1.15-beta.10
@@ -41,4 +41,7 @@ "use strict"; | ||
Object.keys(resources_1.default).forEach(function (name) { | ||
console.log('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA'); | ||
console.log('name', name); | ||
console.log('------------------------------'); | ||
console.log('name:', name); | ||
console.log('resources[name]:', resources_1.default[name]); | ||
console.log('new resources[name](this):', new resources_1.default[name](_this)); | ||
console.log('this[name]:', _this[name]); | ||
if (name === 'buttons') { | ||
@@ -45,0 +48,0 @@ _this[name] = resources_1.default[name]; |
@@ -5,4 +5,10 @@ "use strict"; | ||
InfoText: function (title, description, buttons) { | ||
var stepId = Buffer.from(Math.random() | ||
.toString() | ||
.slice(2)) | ||
.toString('base64') | ||
.slice(0, 10); | ||
return { | ||
type: 'info-text', | ||
id: stepId, | ||
title: title, | ||
@@ -9,0 +15,0 @@ description: description, |
@@ -5,2 +5,3 @@ import { WorkerbaseButton } from './buttons'; | ||
_id: string; | ||
id: string; | ||
meta: MetaFields; | ||
@@ -7,0 +8,0 @@ title: string; |
{ | ||
"name": "@workerbase/sdk", | ||
"version": "0.1.15-beta.9", | ||
"version": "0.1.15-beta.10", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
127860
1865