@void/platform 1.5.0 → 1.6.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.mts +10 -2
- package/dist/index.mjs +20 -8
- package/dist/installer.d.mts +2 -0
- package/dist/installer.mjs +2 -0
- package/dist/runtime/api/assets/admin/client.js +41 -41
- package/dist/runtime/api/index.js +256 -248
- package/dist/runtime/dispatch/index.js +2 -2
- package/dist/runtime/drizzle/0063_oauth_refresh_tokens.sql +13 -0
- package/dist/runtime/drizzle/compatibility.json +12 -0
- package/dist/runtime/drizzle/meta/_journal.json +7 -0
- package/dist/runtime/manifest.json +31 -12
- package/dist/runtime/tail/index.js +1 -1
- package/package.json +1 -1
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"artifacts": {
|
|
3
3
|
"api": {
|
|
4
4
|
"path": "api/index.js",
|
|
5
|
-
"sha256": "
|
|
6
|
-
"size":
|
|
5
|
+
"sha256": "a0fdd94fdab63fbca9e18cdf6b2d9165cbf5ce27ec85a7acdb3ce3ddcfd737c1",
|
|
6
|
+
"size": 3950461
|
|
7
7
|
},
|
|
8
8
|
"dispatch": {
|
|
9
9
|
"path": "dispatch/index.js",
|
|
10
|
-
"sha256": "
|
|
11
|
-
"size":
|
|
10
|
+
"sha256": "ee8b20a661b352f7ff63791fddb6995561d2219241aef87fc3bb379b8bf28f6d",
|
|
11
|
+
"size": 87898
|
|
12
12
|
},
|
|
13
13
|
"proxy": {
|
|
14
14
|
"path": "proxy/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
},
|
|
18
18
|
"tail": {
|
|
19
19
|
"path": "tail/index.js",
|
|
20
|
-
"sha256": "
|
|
21
|
-
"size":
|
|
20
|
+
"sha256": "7a7497cd747967706dd3b96de478a0bdb770cc41d7a8cb562c04206ec1d458f6",
|
|
21
|
+
"size": 1585
|
|
22
22
|
},
|
|
23
23
|
"emailGateway": {
|
|
24
24
|
"path": "emailGateway/index.js",
|
|
@@ -27,12 +27,13 @@
|
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"appAccessSetup": 1,
|
|
30
|
+
"runtimeLogs": 1,
|
|
30
31
|
"deploymentExecution": 1,
|
|
31
32
|
"assets": {
|
|
32
33
|
"adminClient": {
|
|
33
34
|
"path": "api/assets/admin/client.js",
|
|
34
|
-
"sha256": "
|
|
35
|
-
"size":
|
|
35
|
+
"sha256": "26c95c4e16cfc07dfa07d4d9a34c7dba5bec71bb60415f6f2905f240980f9541",
|
|
36
|
+
"size": 1460431
|
|
36
37
|
},
|
|
37
38
|
"adminStyle": {
|
|
38
39
|
"path": "api/assets/admin/style.css",
|
|
@@ -45,7 +46,7 @@
|
|
|
45
46
|
"applicationRoutingVersion": 1,
|
|
46
47
|
"privatePreviews": 1,
|
|
47
48
|
"database": {
|
|
48
|
-
"journalSha256": "
|
|
49
|
+
"journalSha256": "c239ca5b412af12823220adddfaa6824694f9ba8309c25ef39b7c873ab32c487",
|
|
49
50
|
"lineage": "void-platform-postgresql-v1",
|
|
50
51
|
"migrations": [
|
|
51
52
|
{
|
|
@@ -383,6 +384,12 @@
|
|
|
383
384
|
"sha256": "a0033615fc373689b539c741d11610036a84ea175553187fb00bda1b3b9ebc13",
|
|
384
385
|
"tag": "0062_project_email_alias",
|
|
385
386
|
"timestampMillis": 1792672482613
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"index": 63,
|
|
390
|
+
"sha256": "f20e9175d15f8db27998e3f0056bac3cdad8923d627b7ff46ad7ecd7c2e569d0",
|
|
391
|
+
"tag": "0063_oauth_refresh_tokens",
|
|
392
|
+
"timestampMillis": 1793192144623
|
|
386
393
|
}
|
|
387
394
|
],
|
|
388
395
|
"protocolVersion": 1,
|
|
@@ -482,15 +489,27 @@
|
|
|
482
489
|
{
|
|
483
490
|
"platformVersion": "1.2.1",
|
|
484
491
|
"schemaDigest": "d8e007d2bbe02637f6e77a33c1db152e0c4f21b30439ad512e16bce6726d6b9b"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"platformVersion": "1.3.0",
|
|
495
|
+
"schemaDigest": "8bde0b5b35b98112498be2954726223a6a059cbf92302990437e582f57a1fc98"
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
"platformVersion": "1.4.0",
|
|
499
|
+
"schemaDigest": "8bde0b5b35b98112498be2954726223a6a059cbf92302990437e582f57a1fc98"
|
|
500
|
+
},
|
|
501
|
+
{
|
|
502
|
+
"platformVersion": "1.5.0",
|
|
503
|
+
"schemaDigest": "8bde0b5b35b98112498be2954726223a6a059cbf92302990437e582f57a1fc98"
|
|
485
504
|
}
|
|
486
505
|
],
|
|
487
|
-
"schemaDigest": "
|
|
506
|
+
"schemaDigest": "41c9f2abec1a793d64d2acd71aa2fd737c3b3a594bc3d1c3c19b9546da05263c"
|
|
488
507
|
},
|
|
489
|
-
"platformVersion": "1.
|
|
508
|
+
"platformVersion": "1.6.0",
|
|
490
509
|
"safetyProtocols": {
|
|
491
510
|
"sandboxDrain": 3
|
|
492
511
|
},
|
|
493
512
|
"schemaVersion": 2,
|
|
494
|
-
"sourceRevision": "
|
|
513
|
+
"sourceRevision": "6f00d769d40901442ee3ff8320fe0686bfd0a487",
|
|
495
514
|
"usageProtocolVersion": 2
|
|
496
515
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var a=Object.defineProperty;var r=(e,t)=>a(e,"name",{value:t,configurable:!0});function d(e){return e!==null&&"request"in e}r(d,"isFetchEvent");function c(e,t,o){if(e.startsWith("void-do-")){let i=o?.find(s=>/^void-project:user-[a-z0-9-]+$/.test(s)),l=o?.find(s=>/^void-deployment:dpl_[a-zA-Z0-9_]+$/.test(s));return i&&l?{projectKey:i.slice(13),deployId:l.slice(16)}:null}let n=e.lastIndexOf("-dpl_");return n>4?{projectKey:e.slice(0,n),deployId:e.slice(n+1)}:e.startsWith("user-")?{projectKey:e,deployId:""}:t&&e===t?{projectKey:"__platform-dispatch",deployId:""}:e==="void-dispatch"||e==="void-dispatch-staging"?{projectKey:`__platform-${e.slice(5)}`,deployId:""}:null}r(c,"parseScriptName");function p(e,t,o){let n=d(e.event)?e.event:null,i=o==="minimal";return{indexes:[t.projectKey],blobs:[e.outcome,JSON.stringify(i?u(e.logs):e.logs),JSON.stringify(i?y(e.exceptions):e.exceptions),i?"":n?.request.url??"",n?.request.method??"",String(n?.response?.status??""),t.deployId,...i?[n?.request.headers["cf-ray"]??""]:[]],doubles:[e.eventTimestamp??Date.now(),n?.response?.status??0]}}r(p,"buildLogDataPoint");function u(e){return(e??[]).map(t=>({level:t.level,timestamp:t.timestamp,message:[]}))}r(u,"minimalLogs");function y(e){return(e??[]).map(t=>({name:t.name,timestamp:t.timestamp,message:""}))}r(y,"minimalExceptions");var f={async tail(e,t){for(let o of e){let n=o.scriptName;if(!n)continue;let i=c(n,t.PLATFORM_DISPATCH_WORKER_NAME,o.scriptTags);i&&t.ANALYTICS.writeDataPoint(p(o,i,t.PLATFORM_RUNTIME_LOGS))}}};export{p as buildLogDataPoint,f as default,c as parseScriptName};
|