Comparing version 0.0.2 to 0.0.3
@@ -288,3 +288,15 @@ var target$1 = 'Actions on Google'; | ||
export { ActionsOnGoogle, Conversation, Document, Node, Root, SimpleJSON, XMLDeclaration }; | ||
var TextNode = /** @class */ (function () { | ||
function TextNode(text) { | ||
this.type = 'text'; | ||
this.text = ''; | ||
this.text = text; | ||
} | ||
TextNode.prototype.toString = function () { | ||
return this.text; | ||
}; | ||
return TextNode; | ||
}()); | ||
export { ActionsOnGoogle, Conversation, Document, Node, Root, SimpleJSON, TextNode, XMLDeclaration }; | ||
//# sourceMappingURL=index.es.js.map |
@@ -292,2 +292,14 @@ 'use strict'; | ||
var TextNode = /** @class */ (function () { | ||
function TextNode(text) { | ||
this.type = 'text'; | ||
this.text = ''; | ||
this.text = text; | ||
} | ||
TextNode.prototype.toString = function () { | ||
return this.text; | ||
}; | ||
return TextNode; | ||
}()); | ||
exports.ActionsOnGoogle = ActionsOnGoogle; | ||
@@ -299,3 +311,4 @@ exports.Conversation = Conversation; | ||
exports.SimpleJSON = SimpleJSON; | ||
exports.TextNode = TextNode; | ||
exports.XMLDeclaration = XMLDeclaration; | ||
//# sourceMappingURL=index.js.map |
import type { NodeType } from './utils'; | ||
export default class TextNode { | ||
export declare class TextNode { | ||
type: NodeType; | ||
@@ -4,0 +4,0 @@ text: string; |
{ | ||
"name": "ssml-dom", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A work-in-progress implementation of a DOM-like API for SSML", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64545
690