@plattar/plattar-api
Advanced tools
Comparing version 1.90.10 to 1.90.11
@@ -48,2 +48,6 @@ 'use strict'; | ||
// import misc | ||
const ScriptEvent = require('./types/misc/script-event.js'); | ||
const Tag = require('./types/misc/tag.js'); | ||
// create a default server instance to be used globally | ||
@@ -94,3 +98,6 @@ PlattarServer.create(); | ||
ModelFile: FileModel, | ||
ImageFile: FileImage | ||
ImageFile: FileImage, | ||
// misc | ||
ScriptEvent: ScriptEvent, | ||
Tag: Tag | ||
} |
{ | ||
"name": "@plattar/plattar-api", | ||
"version": "1.90.10", | ||
"version": "1.90.11", | ||
"description": "Module for interfacing with the Plattar API (https://www.plattar.com)", | ||
@@ -16,3 +16,3 @@ "main": "index.js", | ||
"npm", | ||
"AR", | ||
"ar", | ||
"augmented", | ||
@@ -19,0 +19,0 @@ "reality", |
@@ -46,2 +46,6 @@ 'use strict'; | ||
// misc | ||
const ScriptEvent = require('../types/misc/script-event.js'); | ||
const Tag = require('../types/misc/tag.js'); | ||
class PlattarUtil { | ||
@@ -183,2 +187,4 @@ | ||
case CardImage.type(): return CardImage; | ||
case ScriptEvent.type(): return ScriptEvent; | ||
case Tag.type(): return Tag; | ||
default: throw new Error('PlattarUtil.match(type) - provided type of \'' + type + '\' does not exist and cannot be created'); | ||
@@ -185,0 +191,0 @@ } |
40358
50
1009