@versori/run 0.4.6 → 0.4.8
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/esm/src/connection/internal/CredentialHolder.d.ts.map +1 -1
- package/esm/src/connection/internal/CredentialHolder.js +5 -4
- package/esm/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
- package/esm/src/interpreter/durable/compilers/catch.js +7 -5
- package/esm/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
- package/esm/src/interpreter/memory/compilers/catch.js +7 -5
- package/package.json +1 -1
- package/script/src/connection/internal/CredentialHolder.d.ts.map +1 -1
- package/script/src/connection/internal/CredentialHolder.js +5 -4
- package/script/src/interpreter/durable/compilers/catch.d.ts.map +1 -1
- package/script/src/interpreter/durable/compilers/catch.js +7 -5
- package/script/src/interpreter/memory/compilers/catch.d.ts.map +1 -1
- package/script/src/interpreter/memory/compilers/catch.js +7 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"AAcA,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;GAEG;AACH,qBAAa,gBAAgB,CAAC,CAAC;;gBAQvB,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,EAC1B,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAOlD,GAAG,CAAC,OAAO,GAAE,OAAe,GAAG,OAAO,CAAC,CAAC,CAAC;IA0B/C,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;CAiClC"}
|
|
@@ -73,10 +73,11 @@ export class CredentialHolder {
|
|
|
73
73
|
reject(new Error('Refreshed credential is undefined'));
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
76
|
+
// we just the token back from credentails, it has to be correct, right
|
|
77
|
+
// if (!this.#isValid(refreshed)) {
|
|
78
|
+
// reject(new Error('Refreshed credential is invalid'));
|
|
79
|
+
// return;
|
|
80
|
+
// }
|
|
80
81
|
resolve(refreshed);
|
|
81
82
|
}).catch((error) => reject(error)).finally(() => {
|
|
82
83
|
__classPrivateFieldSet(this, _CredentialHolder_isRefreshing, false, "f");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAqFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
|
|
@@ -35,9 +35,10 @@ function compileCatch(compilerCtx, task) {
|
|
|
35
35
|
annotations: {
|
|
36
36
|
'error': error.message,
|
|
37
37
|
'stack': error.stack || '',
|
|
38
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
39
|
-
'',
|
|
38
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
40
39
|
'executionId': ctx.executionId,
|
|
40
|
+
'activationId': ctx.activation.id,
|
|
41
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
41
42
|
},
|
|
42
43
|
reason: 'error',
|
|
43
44
|
severity: 'high',
|
|
@@ -49,11 +50,12 @@ function compileCatch(compilerCtx, task) {
|
|
|
49
50
|
});
|
|
50
51
|
compilerCtx.issueProvider.submitIssue({
|
|
51
52
|
annotations: {
|
|
52
|
-
'error': error.message
|
|
53
|
+
'error': error.message,
|
|
53
54
|
'stack': error.stack || '',
|
|
54
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
55
|
-
'',
|
|
55
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
56
56
|
'executionId': ctx.executionId,
|
|
57
|
+
'activationId': ctx.activation.id,
|
|
58
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
57
59
|
},
|
|
58
60
|
reason: 'error',
|
|
59
61
|
severity: 'low',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAoFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
|
|
@@ -34,9 +34,10 @@ function compileCatch(compilerCtx, task) {
|
|
|
34
34
|
annotations: {
|
|
35
35
|
'error': error.message,
|
|
36
36
|
'stack': error.stack || '',
|
|
37
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
38
|
-
'',
|
|
37
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
39
38
|
'executionId': ctx.executionId,
|
|
39
|
+
'activationId': ctx.activation.id,
|
|
40
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
40
41
|
},
|
|
41
42
|
reason: 'error',
|
|
42
43
|
severity: 'high',
|
|
@@ -45,11 +46,12 @@ function compileCatch(compilerCtx, task) {
|
|
|
45
46
|
}
|
|
46
47
|
compilerCtx.issueProvider.submitIssue({
|
|
47
48
|
annotations: {
|
|
48
|
-
'error': error.message
|
|
49
|
+
'error': error.message,
|
|
49
50
|
'stack': error.stack || '',
|
|
50
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
51
|
-
'',
|
|
51
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
52
52
|
'executionId': ctx.executionId,
|
|
53
|
+
'activationId': ctx.activation.id,
|
|
54
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
53
55
|
},
|
|
54
56
|
reason: 'error',
|
|
55
57
|
severity: 'low',
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"CredentialHolder.d.ts","sourceRoot":"","sources":["../../../../src/src/connection/internal/CredentialHolder.ts"],"names":[],"mappings":"AAcA,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAED;;GAEG;AACH,qBAAa,gBAAgB,CAAC,CAAC;;gBAQvB,YAAY,EAAE,CAAC,EACf,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,OAAO,EAC1B,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,OAAO,KAAK,OAAO,CAAC,CAAC,GAAG,SAAS,CAAC;IAOlD,GAAG,CAAC,OAAO,GAAE,OAAe,GAAG,OAAO,CAAC,CAAC,CAAC;IA0B/C,OAAO,CAAC,MAAM,CAAC,EAAE,OAAO,GAAG,IAAI;CAiClC"}
|
|
@@ -77,10 +77,11 @@ class CredentialHolder {
|
|
|
77
77
|
reject(new Error('Refreshed credential is undefined'));
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
80
|
+
// we just the token back from credentails, it has to be correct, right
|
|
81
|
+
// if (!this.#isValid(refreshed)) {
|
|
82
|
+
// reject(new Error('Refreshed credential is invalid'));
|
|
83
|
+
// return;
|
|
84
|
+
// }
|
|
84
85
|
resolve(refreshed);
|
|
85
86
|
}).catch((error) => reject(error)).finally(() => {
|
|
86
87
|
__classPrivateFieldSet(this, _CredentialHolder_isRefreshing, false, "f");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/durable/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAqFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
|
|
@@ -38,9 +38,10 @@ function compileCatch(compilerCtx, task) {
|
|
|
38
38
|
annotations: {
|
|
39
39
|
'error': error.message,
|
|
40
40
|
'stack': error.stack || '',
|
|
41
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
42
|
-
'',
|
|
41
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
43
42
|
'executionId': ctx.executionId,
|
|
43
|
+
'activationId': ctx.activation.id,
|
|
44
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
44
45
|
},
|
|
45
46
|
reason: 'error',
|
|
46
47
|
severity: 'high',
|
|
@@ -52,11 +53,12 @@ function compileCatch(compilerCtx, task) {
|
|
|
52
53
|
});
|
|
53
54
|
compilerCtx.issueProvider.submitIssue({
|
|
54
55
|
annotations: {
|
|
55
|
-
'error': error.message
|
|
56
|
+
'error': error.message,
|
|
56
57
|
'stack': error.stack || '',
|
|
57
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
58
|
-
'',
|
|
58
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
59
59
|
'executionId': ctx.executionId,
|
|
60
|
+
'activationId': ctx.activation.id,
|
|
61
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
60
62
|
},
|
|
61
63
|
reason: 'error',
|
|
62
64
|
severity: 'low',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;
|
|
1
|
+
{"version":3,"file":"catch.d.ts","sourceRoot":"","sources":["../../../../../src/src/interpreter/memory/compilers/catch.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,SAAS,EAAE,MAAM,iCAAiC,CAAC;AAG5D,OAAO,EAA2B,YAAY,EAAE,MAAM,YAAY,CAAC;AAoFnE,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,GAAG,EAAE,GAAG,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,CAAC,CAGrE,CAAC"}
|
|
@@ -37,9 +37,10 @@ function compileCatch(compilerCtx, task) {
|
|
|
37
37
|
annotations: {
|
|
38
38
|
'error': error.message,
|
|
39
39
|
'stack': error.stack || '',
|
|
40
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
41
|
-
'',
|
|
40
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
42
41
|
'executionId': ctx.executionId,
|
|
42
|
+
'activationId': ctx.activation.id,
|
|
43
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
43
44
|
},
|
|
44
45
|
reason: 'error',
|
|
45
46
|
severity: 'high',
|
|
@@ -48,11 +49,12 @@ function compileCatch(compilerCtx, task) {
|
|
|
48
49
|
}
|
|
49
50
|
compilerCtx.issueProvider.submitIssue({
|
|
50
51
|
annotations: {
|
|
51
|
-
'error': error.message
|
|
52
|
+
'error': error.message,
|
|
52
53
|
'stack': error.stack || '',
|
|
53
|
-
'workflowId': ctx.options.workflowId || ctx.workflowId ||
|
|
54
|
-
'',
|
|
54
|
+
'workflowId': ctx.options.workflowId || ctx.workflowId || '',
|
|
55
55
|
'executionId': ctx.executionId,
|
|
56
|
+
'activationId': ctx.activation.id,
|
|
57
|
+
'activationExternalId': ctx.activation?.user.externalId,
|
|
56
58
|
},
|
|
57
59
|
reason: 'error',
|
|
58
60
|
severity: 'low',
|