Adding additional Indentifier field to RecourceRecord

This commit is contained in:
Fabian Stamm 2018-05-14 12:06:51 +02:00
parent 666ad69c3c
commit 9dac9184e7
4 changed files with 11 additions and 2 deletions

4
lib/request.d.ts vendored
View File

@ -110,6 +110,10 @@ export declare class Request implements Message {
private serializeResourceRecord(record);
}
export declare class RecourceRecord implements MessageRecourceRecord {
/**
* This value can be set to identify if specific record is already set
*/
Identifier: string;
NAME: string;
private _TYPE;
TYPE: number;

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{
"name": "nodename-core",
"version": "0.1.9",
"version": "0.1.10",
"main": "lib/listener.js",
"types": "lib/listener.d.ts",
"author": "Fabian Stamm <dev@fabianstamm.de>",

View File

@ -336,6 +336,11 @@ export class Request implements Message {
}
export class RecourceRecord implements MessageRecourceRecord {
/**
* This value can be set to identify if specific record is already set
*/
Identifier: string;
NAME: string
private _TYPE: number;
set TYPE(value) {