@hello.nrfcloud.com/proto-map 16.3.15 → 16.3.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/generator/models.js
CHANGED
|
@@ -163,7 +163,7 @@ var subDir = function() {
|
|
|
163
163
|
};
|
|
164
164
|
console.log(chalk.gray('Models'));
|
|
165
165
|
var models = await Promise.all((await Promise.all((await readdir(subDir('models'))).map(function(f) {
|
|
166
|
-
return
|
|
166
|
+
return _async_to_generator(function() {
|
|
167
167
|
var _tmp;
|
|
168
168
|
return _ts_generator(this, function(_state) {
|
|
169
169
|
switch(_state.label){
|
|
@@ -187,7 +187,7 @@ var models = await Promise.all((await Promise.all((await readdir(subDir('models'
|
|
|
187
187
|
var stat = param.stat;
|
|
188
188
|
return stat.isDirectory();
|
|
189
189
|
}).map(function(model) {
|
|
190
|
-
return
|
|
190
|
+
return _async_to_generator(function() {
|
|
191
191
|
var _tmp;
|
|
192
192
|
return _ts_generator(this, function(_state) {
|
|
193
193
|
switch(_state.label){
|
|
@@ -269,7 +269,7 @@ import { parseRangeEnumeration } from './parseRangeEnumeration.js';
|
|
|
269
269
|
import { unwrapNestedArray } from './unwrapNestedArray.js';
|
|
270
270
|
var v = validate(LWM2MObjectDefinition);
|
|
271
271
|
var listLwm2mDefinitions = function(modelDir) {
|
|
272
|
-
return
|
|
272
|
+
return _async_to_generator(function() {
|
|
273
273
|
var defs, files, _iteratorNormalCompletion, _didIteratorError, _iteratorError, _loop, _iterator, _step, err;
|
|
274
274
|
return _ts_generator(this, function(_state) {
|
|
275
275
|
switch(_state.label){
|
|
@@ -149,7 +149,7 @@ import xml2js from 'xml2js';
|
|
|
149
149
|
/**
|
|
150
150
|
* From XML to JSON
|
|
151
151
|
*/ export var fromXML2JSON = function(id) {
|
|
152
|
-
return
|
|
152
|
+
return _async_to_generator(function() {
|
|
153
153
|
var _path, baseDir, subDir, jsonObject, _;
|
|
154
154
|
return _ts_generator(this, function(_state) {
|
|
155
155
|
switch(_state.label){
|
|
@@ -348,7 +348,7 @@ void describe('senMLtoLwM2M()', function() {
|
|
|
348
348
|
assert.deepEqual('lwm2m' in res && res.lwm2m, expected);
|
|
349
349
|
});
|
|
350
350
|
void it('should allow timestamp only values', function() {
|
|
351
|
-
return
|
|
351
|
+
return _async_to_generator(function() {
|
|
352
352
|
var input, expected, res;
|
|
353
353
|
return _ts_generator(this, function(_state) {
|
|
354
354
|
input = [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello.nrfcloud.com/proto-map",
|
|
3
|
-
"version": "16.3.
|
|
3
|
+
"version": "16.3.16",
|
|
4
4
|
"description": "Documents the communication protocol between devices, the hello.nrfcloud.com/map backend and web application",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@bifravst/prettier-config": "1.1.8",
|
|
40
40
|
"@commitlint/config-conventional": "19.8.0",
|
|
41
41
|
"@swc/cli": "0.7.3",
|
|
42
|
-
"@swc/core": "1.11.
|
|
42
|
+
"@swc/core": "1.11.24",
|
|
43
43
|
"@types/node": "22.15.3",
|
|
44
44
|
"@types/xml2js": "0.4.14",
|
|
45
45
|
"chalk": "5.4.1",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"lwm2m"
|
|
99
99
|
],
|
|
100
100
|
"peerDependencies": {
|
|
101
|
-
"@aws-sdk/client-timestream-write": "^3.
|
|
101
|
+
"@aws-sdk/client-timestream-write": "^3.803.0",
|
|
102
102
|
"@sinclair/typebox": "^0.34.33"
|
|
103
103
|
}
|
|
104
104
|
}
|