@devultur/server 1.0.3 → 1.1.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/dist/index.d.ts +1 -1
- package/dist/index.js +12 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaEvent, MediaRouter, UploadUrlResult } from '@devultur/core';
|
|
2
|
-
export { AssetUploadResult, CreateUploadTokenOptions, CreateUploadUrlOptions, DeliveryConfig, DevulturApiError, DevulturKind, DevulturMedia, DirectStorageConfig, DownloadLink, DownloadLinkOptions, DownloadUrlOptions, FileBuilderConfig, FileHead, FilesClient, ImageBuilderConfig, MediaEvent, MediaEventName, MediaRouter, MediaRouterConfig, MediaUrlOptions, SignOptions, StorageClient, StorageConfig, UploadAssetOptions, UploadToken, UploadUrlResult, UploadsClient, VideoBuilderConfig, Visibility, WebhookVerifyOptions, WorkerClient, WorkerConfig, assetKey, buildMediaUrl, createMediaRouter, createStorageClient, createWorkerClient, file, getDownloadUrl, image, mediaCaptionPath, mediaPath, mediaThumbnailPath, mediaUrl, normalizeAssetPath, normalizeAssetPrefix, publicUrl, resolveVisibility, signPayload, signUrl, verifySignature, verifySignedUrl, video, visibilityFromKey } from '@devultur/core';
|
|
2
|
+
export { AssetUploadResult, CreateUploadTokenOptions, CreateUploadUrlOptions, DeliveryConfig, DevulturApiError, DevulturKind, DevulturMedia, DirectStorageConfig, DownloadLink, DownloadLinkOptions, DownloadUrlOptions, FileBuilderConfig, FileHead, FilesClient, HOLD_PAGE_SIZE, HoldPage, HoldTarget, ImageBuilderConfig, LockChange, LockChangeOptions, LockChangeReason, LockClient, LockInstant, LockTiming, LockView, MediaEvent, MediaEventName, MediaRouter, MediaRouterConfig, MediaUrlOptions, ObjectLock, ResolvedLock, ResolvedRetention, Retention, RetentionDerivatives, RetentionMode, SetLockOptions, SignOptions, StorageClient, StorageConfig, UploadAssetOptions, UploadToken, UploadUrlResult, UploadsClient, VideoBuilderConfig, Visibility, WebhookVerifyOptions, WorkerClient, WorkerConfig, assetKey, buildMediaUrl, canChange, createMediaRouter, createStorageClient, createWorkerClient, effectiveUntil, file, getDownloadUrl, image, isLocked, mediaCaptionPath, mediaPath, mediaThumbnailPath, mediaUrl, normalizeAssetPath, normalizeAssetPrefix, publicUrl, resolveLock, resolveVisibility, signPayload, signUrl, validateLock, verifySignature, verifySignedUrl, video, visibilityFromKey } from '@devultur/core';
|
|
3
3
|
|
|
4
4
|
interface DevulturRequest {
|
|
5
5
|
method: string;
|
package/dist/index.js
CHANGED
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
import {
|
|
3
3
|
assetKey,
|
|
4
4
|
buildMediaUrl,
|
|
5
|
+
canChange,
|
|
5
6
|
createMediaRouter,
|
|
6
7
|
createStorageClient,
|
|
7
8
|
createWorkerClient,
|
|
8
9
|
DevulturApiError,
|
|
10
|
+
effectiveUntil,
|
|
9
11
|
file,
|
|
10
12
|
getDownloadUrl,
|
|
13
|
+
HOLD_PAGE_SIZE,
|
|
11
14
|
image,
|
|
15
|
+
isLocked,
|
|
12
16
|
MediaEventName as MediaEventName2,
|
|
13
17
|
mediaCaptionPath,
|
|
14
18
|
mediaPath,
|
|
@@ -17,9 +21,11 @@ import {
|
|
|
17
21
|
normalizeAssetPath,
|
|
18
22
|
normalizeAssetPrefix,
|
|
19
23
|
publicUrl,
|
|
24
|
+
resolveLock,
|
|
20
25
|
resolveVisibility,
|
|
21
26
|
signPayload,
|
|
22
27
|
signUrl,
|
|
28
|
+
validateLock,
|
|
23
29
|
verifySignature,
|
|
24
30
|
verifySignedUrl,
|
|
25
31
|
video,
|
|
@@ -102,19 +108,23 @@ async function dispatchEvent(event, config) {
|
|
|
102
108
|
}
|
|
103
109
|
export {
|
|
104
110
|
DevulturApiError,
|
|
111
|
+
HOLD_PAGE_SIZE,
|
|
105
112
|
MediaEventName2 as MediaEventName,
|
|
106
113
|
assetKey,
|
|
107
114
|
buildMediaUrl,
|
|
115
|
+
canChange,
|
|
108
116
|
createMediaRouter,
|
|
109
117
|
createSignedUrlHandler,
|
|
110
118
|
createStorageClient,
|
|
111
119
|
createUploadHandler,
|
|
112
120
|
createWebhookHandler,
|
|
113
121
|
createWorkerClient,
|
|
122
|
+
effectiveUntil,
|
|
114
123
|
file,
|
|
115
124
|
fromWebRequest,
|
|
116
125
|
getDownloadUrl,
|
|
117
126
|
image,
|
|
127
|
+
isLocked,
|
|
118
128
|
mediaCaptionPath,
|
|
119
129
|
mediaPath,
|
|
120
130
|
mediaThumbnailPath,
|
|
@@ -122,10 +132,12 @@ export {
|
|
|
122
132
|
normalizeAssetPath,
|
|
123
133
|
normalizeAssetPrefix,
|
|
124
134
|
publicUrl,
|
|
135
|
+
resolveLock,
|
|
125
136
|
resolveVisibility,
|
|
126
137
|
signPayload,
|
|
127
138
|
signUrl,
|
|
128
139
|
toWebResponse,
|
|
140
|
+
validateLock,
|
|
129
141
|
verifySignature,
|
|
130
142
|
verifySignedUrl,
|
|
131
143
|
video,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devultur/server",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Server SDK for Devultur media: upload URLs, viewer tokens, signed delivery URLs, transcodes, captions and webhooks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"media",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dist"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@devultur/core": "1.0
|
|
44
|
+
"@devultur/core": "1.1.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "^22.20.0",
|