@hello.nrfcloud.com/proto-map 15.0.1 → 16.0.0
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/api/DeviceJWT.ts +1 -1
- package/api/UserJWT.ts +1 -1
- package/api/index.ts +0 -2
- package/dist/api/DeviceJWT.js +1 -1
- package/dist/api/UserJWT.js +1 -1
- package/dist/api/index.js +0 -2
- package/package.json +1 -1
- package/api/ShareDeviceOwnershipConfirmed.ts +0 -8
- package/api/ShareDeviceRequest.ts +0 -9
- package/dist/api/ShareDeviceOwnershipConfirmed.js +0 -7
- package/dist/api/ShareDeviceRequest.js +0 -8
package/api/DeviceJWT.ts
CHANGED
|
@@ -25,7 +25,7 @@ export const DeviceJWT = Type.Intersect([
|
|
|
25
25
|
minLength: 5,
|
|
26
26
|
description: 'The JWT for a publicly shared device.',
|
|
27
27
|
examples: [
|
|
28
|
-
'
|
|
28
|
+
'eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6Ijg1NDdiNWIyLTdiNDctNDFlNC1iZjJkLTdjZGZmNDhiM2VhNCJ9.eyJAY29udGV4dCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9oZWxsby1ucmZjbG91ZC9wcm90by1tYXAvZGV2aWNlLWp3dCIsImlkIjoiYmFubmVyZXQtcmVlbmxpc3QtY2hhbGRlYW4iLCJkZXZpY2VJZCI6IjliMDA0MzFhLWM1OWEtNGU4ZC04OTkxLTNlZDc0OTBkZGU3MiIsIm1vZGVsIjoidGhpbmd5OTF4IiwiaWF0IjoxNzIyODcxODA1LCJleHAiOjE3MjI4NzU0MDUsImF1ZCI6ImhlbGxvLm5yZmNsb3VkLmNvbSJ9.Aeh5zwv33Obi7Pm5H4S8f4d3EGUnDyqRCShZV9Yr7nkCedlMfdpSImaLVzh39dlGgHN-XWrWrxMkr5TqxpebPwrfAGh6e_UWl3oO2RHflA6CX7AtwpcwIfm5StE87Ew9KRL6Czhx4e23_FcuhaucGtgcRSMqaVG34uHpvBqiSq8jcpwd',
|
|
29
29
|
],
|
|
30
30
|
}),
|
|
31
31
|
},
|
package/api/UserJWT.ts
CHANGED
|
@@ -22,7 +22,7 @@ export const UserJWT = Type.Intersect([
|
|
|
22
22
|
minLength: 5,
|
|
23
23
|
description: 'The JWT for a user.',
|
|
24
24
|
examples: [
|
|
25
|
-
'
|
|
25
|
+
'eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6Ijg1NDdiNWIyLTdiNDctNDFlNC1iZjJkLTdjZGZmNDhiM2VhNCJ9.eyJAY29udGV4dCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9oZWxsby1ucmZjbG91ZC9wcm90by1tYXAvdXNlci1qd3QiLCJlbWFpbCI6ImVkYjJiZDM3QGV4YW1wbGUuY29tIiwiaWF0IjoxNzIyODcxNTYyLCJleHAiOjE3MjI5NTc5NjIsImF1ZCI6ImhlbGxvLm5yZmNsb3VkLmNvbSJ9.ALiHjxR7HIjuYQBvPVh5-GMs-2f-pMGs_FTz-x0HGzQ4amLASeUGEZ7X_y-_mgZpYu8VKGm6be0LtIIx9DgYBff1ASfmQH327rub0a2-DjXW-JUJQn_6t6H6_JhvPZ9jWBSzy3Tbpp9NmTUNmHgEwzyoctnmgp0oo26VEwc4r6YGQWkZ',
|
|
26
26
|
],
|
|
27
27
|
}),
|
|
28
28
|
},
|
package/api/index.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './Context.js'
|
|
2
2
|
export * from './DeviceId.js'
|
|
3
3
|
export * from './Devices.js'
|
|
4
|
-
export * from './ShareDeviceOwnershipConfirmed.js'
|
|
5
|
-
export * from './ShareDeviceRequest.js'
|
|
6
4
|
export * from './LwM2M.js'
|
|
7
5
|
export * from './DeviceJWT.js'
|
|
8
6
|
export * from './UserJWT.js'
|
package/dist/api/DeviceJWT.js
CHANGED
|
@@ -19,7 +19,7 @@ export var DeviceJWT = Type.Intersect([
|
|
|
19
19
|
minLength: 5,
|
|
20
20
|
description: 'The JWT for a publicly shared device.',
|
|
21
21
|
examples: [
|
|
22
|
-
'
|
|
22
|
+
'eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6Ijg1NDdiNWIyLTdiNDctNDFlNC1iZjJkLTdjZGZmNDhiM2VhNCJ9.eyJAY29udGV4dCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9oZWxsby1ucmZjbG91ZC9wcm90by1tYXAvZGV2aWNlLWp3dCIsImlkIjoiYmFubmVyZXQtcmVlbmxpc3QtY2hhbGRlYW4iLCJkZXZpY2VJZCI6IjliMDA0MzFhLWM1OWEtNGU4ZC04OTkxLTNlZDc0OTBkZGU3MiIsIm1vZGVsIjoidGhpbmd5OTF4IiwiaWF0IjoxNzIyODcxODA1LCJleHAiOjE3MjI4NzU0MDUsImF1ZCI6ImhlbGxvLm5yZmNsb3VkLmNvbSJ9.Aeh5zwv33Obi7Pm5H4S8f4d3EGUnDyqRCShZV9Yr7nkCedlMfdpSImaLVzh39dlGgHN-XWrWrxMkr5TqxpebPwrfAGh6e_UWl3oO2RHflA6CX7AtwpcwIfm5StE87Ew9KRL6Czhx4e23_FcuhaucGtgcRSMqaVG34uHpvBqiSq8jcpwd'
|
|
23
23
|
]
|
|
24
24
|
})
|
|
25
25
|
}, {
|
package/dist/api/UserJWT.js
CHANGED
|
@@ -16,7 +16,7 @@ export var UserJWT = Type.Intersect([
|
|
|
16
16
|
minLength: 5,
|
|
17
17
|
description: 'The JWT for a user.',
|
|
18
18
|
examples: [
|
|
19
|
-
'
|
|
19
|
+
'eyJhbGciOiJFUzUxMiIsInR5cCI6IkpXVCIsImtpZCI6Ijg1NDdiNWIyLTdiNDctNDFlNC1iZjJkLTdjZGZmNDhiM2VhNCJ9.eyJAY29udGV4dCI6Imh0dHBzOi8vZ2l0aHViLmNvbS9oZWxsby1ucmZjbG91ZC9wcm90by1tYXAvdXNlci1qd3QiLCJlbWFpbCI6ImVkYjJiZDM3QGV4YW1wbGUuY29tIiwiaWF0IjoxNzIyODcxNTYyLCJleHAiOjE3MjI5NTc5NjIsImF1ZCI6ImhlbGxvLm5yZmNsb3VkLmNvbSJ9.ALiHjxR7HIjuYQBvPVh5-GMs-2f-pMGs_FTz-x0HGzQ4amLASeUGEZ7X_y-_mgZpYu8VKGm6be0LtIIx9DgYBff1ASfmQH327rub0a2-DjXW-JUJQn_6t6H6_JhvPZ9jWBSzy3Tbpp9NmTUNmHgEwzyoctnmgp0oo26VEwc4r6YGQWkZ'
|
|
20
20
|
]
|
|
21
21
|
})
|
|
22
22
|
}, {
|
package/dist/api/index.js
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export * from './Context.js';
|
|
2
2
|
export * from './DeviceId.js';
|
|
3
3
|
export * from './Devices.js';
|
|
4
|
-
export * from './ShareDeviceOwnershipConfirmed.js';
|
|
5
|
-
export * from './ShareDeviceRequest.js';
|
|
6
4
|
export * from './LwM2M.js';
|
|
7
5
|
export * from './DeviceJWT.js';
|
|
8
6
|
export * from './UserJWT.js';
|
package/package.json
CHANGED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Type } from '@sinclair/typebox'
|
|
2
|
-
import { Context } from './Context.js'
|
|
3
|
-
import { DeviceId } from './DeviceId.js'
|
|
4
|
-
|
|
5
|
-
export const ShareDeviceOwnershipConfirmed = Type.Object({
|
|
6
|
-
'@context': Type.Literal(Context.shareDevice.ownershipConfirmed.toString()),
|
|
7
|
-
id: DeviceId,
|
|
8
|
-
})
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Type } from '@sinclair/typebox'
|
|
2
|
-
import { Context } from './Context.js'
|
|
3
|
-
import { DeviceId, PublicDeviceId } from './DeviceId.js'
|
|
4
|
-
|
|
5
|
-
export const ShareDeviceRequest = Type.Object({
|
|
6
|
-
'@context': Type.Literal(Context.shareDevice.request.toString()),
|
|
7
|
-
id: PublicDeviceId,
|
|
8
|
-
deviceId: DeviceId,
|
|
9
|
-
})
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Type } from '@sinclair/typebox';
|
|
2
|
-
import { Context } from './Context.js';
|
|
3
|
-
import { DeviceId } from './DeviceId.js';
|
|
4
|
-
export var ShareDeviceOwnershipConfirmed = Type.Object({
|
|
5
|
-
'@context': Type.Literal(Context.shareDevice.ownershipConfirmed.toString()),
|
|
6
|
-
id: DeviceId
|
|
7
|
-
});
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Type } from '@sinclair/typebox';
|
|
2
|
-
import { Context } from './Context.js';
|
|
3
|
-
import { DeviceId, PublicDeviceId } from './DeviceId.js';
|
|
4
|
-
export var ShareDeviceRequest = Type.Object({
|
|
5
|
-
'@context': Type.Literal(Context.shareDevice.request.toString()),
|
|
6
|
-
id: PublicDeviceId,
|
|
7
|
-
deviceId: DeviceId
|
|
8
|
-
});
|