@hello.nrfcloud.com/nrfcloud-api-helpers 3.0.56 → 3.0.57
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/api/bulkOps.d.ts +1 -1
- package/dist/api/bulkOps.js +1 -1
- package/dist/api/devices.d.ts +1 -1
- package/dist/api/devices.js +1 -1
- package/dist/api/groundFix.d.ts +1 -1
- package/dist/api/groundFix.js +1 -1
- package/dist/api/serviceToken.d.ts +1 -1
- package/dist/api/serviceToken.js +1 -1
- package/dist/cellGeoLocation/cache.d.ts +1 -1
- package/dist/cellGeoLocation/cache.js +1 -1
- package/dist/settings/getAllAccounts.d.ts +1 -1
- package/dist/settings/getAllAccounts.js +0 -1
- package/dist/settings/getAllAccountsSettings.d.ts +1 -1
- package/dist/settings/getAllAccountsSettings.js +0 -1
- package/package.json +3 -3
package/dist/api/bulkOps.d.ts
CHANGED
package/dist/api/bulkOps.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Type } from '@sinclair/typebox';
|
|
2
|
-
import {
|
|
2
|
+
import { validatedFetch } from './validatedFetch.js';
|
|
3
3
|
/**
|
|
4
4
|
* @link https://api.nrfcloud.com/v1/#tag/Bulk-Ops-Requests/operation/FetchBulkOpsRequest
|
|
5
5
|
*/
|
package/dist/api/devices.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type Static } from '@sinclair/typebox';
|
|
2
|
-
import { ValidationError } from './validatedFetch.js';
|
|
2
|
+
import { type ValidationError } from './validatedFetch.js';
|
|
3
3
|
import { DeviceShadow } from './DeviceShadow.js';
|
|
4
4
|
declare const Devices: import("@sinclair/typebox").TObject<{
|
|
5
5
|
total: import("@sinclair/typebox").TInteger;
|
package/dist/api/devices.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Type } from '@sinclair/typebox';
|
|
2
2
|
import { slashless } from './slashless.js';
|
|
3
|
-
import {
|
|
3
|
+
import { validatedFetch } from './validatedFetch.js';
|
|
4
4
|
import { DeviceShadow } from './DeviceShadow.js';
|
|
5
5
|
const Page = (Item) => Type.Object({
|
|
6
6
|
total: Type.Integer(),
|
package/dist/api/groundFix.d.ts
CHANGED
package/dist/api/groundFix.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { accuracy as TAccuracy, lat as TLat, lng as TLng, } from '@hello.nrfcloud.com/proto/hello';
|
|
2
2
|
import { Type } from '@sinclair/typebox';
|
|
3
|
-
import { JSONPayload,
|
|
3
|
+
import { JSONPayload, validatedFetch, } from './validatedFetch.js';
|
|
4
4
|
/**
|
|
5
5
|
* @link https://api.nrfcloud.com/v1/#tag/Ground-Fix
|
|
6
6
|
*/
|
package/dist/api/serviceToken.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetItemCommand, PutItemCommand, } from '@aws-sdk/client-dynamodb';
|
|
2
2
|
import { cellId } from './cellId.js';
|
|
3
3
|
import { marshall, unmarshall } from '@aws-sdk/util-dynamodb';
|
|
4
4
|
export const get = ({ db, TableName }) => async (cell) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hello.nrfcloud.com/nrfcloud-api-helpers",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.57",
|
|
4
4
|
"description": "Helper functions for integrating nRF Cloud APIs in AWS lambdas written in TypeScript.",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./*": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"author": "Nordic Semiconductor ASA | nordicsemi.no",
|
|
33
33
|
"license": "BSD-3-Clause",
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@bifravst/eslint-config-typescript": "6.0
|
|
35
|
+
"@bifravst/eslint-config-typescript": "6.1.0",
|
|
36
36
|
"@bifravst/prettier-config": "1.0.0",
|
|
37
37
|
"@commitlint/config-conventional": "19.2.2",
|
|
38
38
|
"@types/aws-lambda": "8.10.138",
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
"@aws-sdk/client-ssm": "^3.583.0",
|
|
87
87
|
"@aws-sdk/util-dynamodb": "^3.584.0",
|
|
88
88
|
"@bifravst/aws-ssm-settings-helpers": "^1.1.21",
|
|
89
|
-
"@hello.nrfcloud.com/proto": "^
|
|
89
|
+
"@hello.nrfcloud.com/proto": "^12.0.0",
|
|
90
90
|
"@sinclair/typebox": "^0.32.31"
|
|
91
91
|
}
|
|
92
92
|
}
|