@coalescesoftware/coa 7.40.0-alpha.b73537726555 → 7.40.0-alpha.ba7cf58194a3
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/coa.js +2 -2
- package/heartbeat-worker.js +1 -1
- package/package.json +1 -1
- package/test-heartbeat-worker.js +1 -1
- package/web-ui/index.html +1 -1
- package/web-ui/static/js/{Auth0ActivationForm-Dhro0XmI.js → Auth0ActivationForm-8giv9a6I.js} +2 -2
- package/web-ui/static/js/{UserActivationForm-CA1fNJVi.js → UserActivationForm-6RDKiHv3.js} +2 -2
- package/web-ui/static/js/{__vite-browser-external-CwE6Xxg3.js → __vite-browser-external-rf9BJ7iX.js} +2 -2
- package/web-ui/static/js/{browser-BLwveq7Q.js → browser-Dfb2CSPs.js} +2 -2
- package/web-ui/static/js/{index-B1tsvIUY.js → index-BuYjFDAl.js} +4 -4
- package/web-ui/static/js/{path-browserify-DEt4gn74.js → path-browserify-Lg_ONiiA.js} +2 -2
- package/web-ui/static/js/{worker.browser-BdxME9r8.js → worker.browser-BRzdMENf.js} +8 -8
- package/worker.node.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"undefined" == typeof global && (self.global = self);
|
|
2
|
-
import { t as e } from "./worker.browser-
|
|
2
|
+
import { t as e } from "./worker.browser-BRzdMENf.js";
|
|
3
3
|
var r = e(((e, r) => {
|
|
4
4
|
function t(e) {
|
|
5
5
|
if ("string" != typeof e) throw new TypeError("Path must be a string. Received " + JSON.stringify(e));
|
|
@@ -164,4 +164,4 @@ var r = e(((e, r) => {
|
|
|
164
164
|
}));
|
|
165
165
|
export default r();
|
|
166
166
|
|
|
167
|
-
//# sourceMappingURL=path-browserify-
|
|
167
|
+
//# sourceMappingURL=path-browserify-Lg_ONiiA.js.map
|
|
@@ -13971,12 +13971,12 @@ var Q = Object.create, P = Object.defineProperty, Z = Object.getOwnPropertyDescr
|
|
|
13971
13971
|
}), "ErrorStackParser"));
|
|
13972
13972
|
}))()), _ = "object" == typeof process && "object" == typeof process.versions && "string" == typeof process.versions.node && void 0 === process.browser, C, w, R, M, A, S, E, v, h;
|
|
13973
13973
|
async function B() {
|
|
13974
|
-
if (!_ || (C = (await import("./__vite-browser-external-
|
|
13974
|
+
if (!_ || (C = (await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1)))).default, A = await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1))), w = globalThis.fetch ? fetch : (await import("./browser-Dfb2CSPs.js").then(((e) => __toESM(e.default, 1)))).default, M = (await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1)))).default, R = await import("./path-browserify-Lg_ONiiA.js").then(((e) => __toESM(e.default, 1))), E = R.sep, void 0 !== L)) return;
|
|
13975
13975
|
let e = {
|
|
13976
|
-
fs: await import("./__vite-browser-external-
|
|
13977
|
-
crypto: await import("./__vite-browser-external-
|
|
13978
|
-
ws: await import("./__vite-browser-external-
|
|
13979
|
-
child_process: await import("./__vite-browser-external-
|
|
13976
|
+
fs: await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1))),
|
|
13977
|
+
crypto: await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1))),
|
|
13978
|
+
ws: await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1))),
|
|
13979
|
+
child_process: await import("./__vite-browser-external-rf9BJ7iX.js").then(((e) => __toESM(e.default, 1)))
|
|
13980
13980
|
};
|
|
13981
13981
|
globalThis.require = function(t) {
|
|
13982
13982
|
return e[t];
|
|
@@ -15252,8 +15252,8 @@ const RCoalesceVersion = (0, import_lib.Record)({
|
|
|
15252
15252
|
version: import_lib.String,
|
|
15253
15253
|
hash: import_lib.String
|
|
15254
15254
|
}), GetRunningVersion = () => ({
|
|
15255
|
-
version: "7.40.0-aa-dev.
|
|
15256
|
-
hash: "
|
|
15255
|
+
version: "7.40.0-aa-dev.46.hba7cf58194a3.dirty",
|
|
15256
|
+
hash: "ba7cf58194a3a01c137783b86bf0b33164374bad"
|
|
15257
15257
|
}), RunningVersion = GetRunningVersion(), GetPythonRendererVersion = (e) => {
|
|
15258
15258
|
if (null === e) return null;
|
|
15259
15259
|
const t = (0, import_semver.parse)(e.version);
|
|
@@ -15407,4 +15407,4 @@ self.onmessage = (e) => {
|
|
|
15407
15407
|
};
|
|
15408
15408
|
export { __commonJSMin as t };
|
|
15409
15409
|
|
|
15410
|
-
//# sourceMappingURL=worker.browser-
|
|
15410
|
+
//# sourceMappingURL=worker.browser-BRzdMENf.js.map
|
package/worker.node.js
CHANGED
|
@@ -960,7 +960,7 @@ Value: ${r}`)}}function gQt(r,e,t,...a){if(!r){let i=`ASSERTION FAILED: ${e}`,n=
|
|
|
960
960
|
\f\u200B`,wordwrap:80};var hA=si(gM());var ZRt=(r,e,t,a,...i)=>{let n=xm(),o={...e,area:r},u=d=>{if(typeof d=="object")try{return JSON.stringify(d)}catch(c){return n.error("Could not stringify argument.",{error:c}),""}else return String(d)},p=`${a} ${i.map(u).join(" ")}`;n.log(t,p,o)};var E0=class{valid=!1;failures;originalValue;constructor(e,t){this.originalValue=vQt(e),this.failures=t}get failureMessage(){return this.failures.map(e=>e.path.length>0?`${e.path}: ${e.message}`:e.message).join(`
|
|
961
961
|
`)}},V9r=null,xM=class extends la{code;result;constructor(e,t,a=400){super(e,typeof t=="string"?t:t?.failureMessage),this.result=typeof t=="string"?void 0:t,this.code=a}statusCode(){return this.code}get validationResult(){return this.result}get failureDetails(){return this.result?`${this.message}: ${this.result.failureMessage}`:this.message}},zB=class{constructor(e){this.name=e}name;is(e){return this.validate(e).valid}assert(e,t){return this.doAssert(e,!0,t)}verify(e,t){let a=!!(t?.throwOnVerify??!1);return this.doAssert(e,a,t)}doAssert(e,t,a){let{logContext:i,logArea:n,failureLogLevel:o,successLogLevel:u,statusCode:p,errorMessage:d}=a||{},c=this.validate(e),g=a?.additionalValidation?.(e)||{valid:!0},l=g.valid?c:g;if(!l.valid){let y=typeof d=="function"?d(l):d??`Found ${l.failures.length} validation failure(s) for ${this.name}`,b=new xM(y,l,p);if(o!==V9r){let m=e;m&&typeof m=="object"&&(m=vQt(m)),ZRt(n,i,o||"error",b,m)}if(t)throw b;return e}return u&&ZRt(n,i,u,`${this.name} validation succeeded`,e),l.value}};var XRt=class extends zB{constructor(t,a){super(t);this.runtype=a;if(!a)throw new la(`Missing runtype for ${t} validator. Did you use a circular import?`)}runtype;validate(t){try{let a=this.runtype.validate(t);return a.success?{valid:!0,value:t}:this.createValidationFailedResult(a,t)}catch(a){return xm().error(`RuntypesValidator: Unable to validate ${this.name} value.
|
|
962
962
|
Error: ${a}
|
|
963
|
-
Value: ${t}`),new E0(t,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(t,a){let i=[],n=(o,u)=>{for(let[p,d]of Object.entries(u)){let c=o.concat(p);typeof d=="string"?i.push({path:c.join("."),message:d}):n(c,d)}};if(t.code==="TYPE_INCORRECT"||t.code==="CONSTRAINT_FAILED")i.push({path:"",message:t.message});else{let o=t.details;o&&n([],o)}return new E0(a,i)}},$Rt=(r,e)=>new XRt(r,e);var Y9r=hA.Record({errorDetail:hA.String,errorString:hA.String}),VIi=hA.Record({error:Y9r,runDetails:hA.Record({compiledSQL:hA.String}).nullable().optional(),validationDetails:hA.Record({id:hA.String,type:hA.String,value:hA.Unknown}).optional()}),YIi=$Rt("TRunErrorContents",Y9r),Z9r=$Rt("TRunError",VIi);var cqn=Cp("RUNNER_BACKEND"),pqn=Cp("ERROR_OPERATIONS");var X9r=r=>{try{return Z9r.is(r)}catch{return!1}};var $B=si(gM()),Z8r=si(Y8r()),n4n=(0,$B.Record)({version:$B.String,hash:$B.String}),JEi=()=>{let r="7.40.0-aa-dev.
|
|
963
|
+
Value: ${t}`),new E0(t,[{path:"",message:"value triggered unknown runtypes error"}])}}createValidationFailedResult(t,a){let i=[],n=(o,u)=>{for(let[p,d]of Object.entries(u)){let c=o.concat(p);typeof d=="string"?i.push({path:c.join("."),message:d}):n(c,d)}};if(t.code==="TYPE_INCORRECT"||t.code==="CONSTRAINT_FAILED")i.push({path:"",message:t.message});else{let o=t.details;o&&n([],o)}return new E0(a,i)}},$Rt=(r,e)=>new XRt(r,e);var Y9r=hA.Record({errorDetail:hA.String,errorString:hA.String}),VIi=hA.Record({error:Y9r,runDetails:hA.Record({compiledSQL:hA.String}).nullable().optional(),validationDetails:hA.Record({id:hA.String,type:hA.String,value:hA.Unknown}).optional()}),YIi=$Rt("TRunErrorContents",Y9r),Z9r=$Rt("TRunError",VIi);var cqn=Cp("RUNNER_BACKEND"),pqn=Cp("ERROR_OPERATIONS");var X9r=r=>{try{return Z9r.is(r)}catch{return!1}};var $B=si(gM()),Z8r=si(Y8r()),n4n=(0,$B.Record)({version:$B.String,hash:$B.String}),JEi=()=>{let r="7.40.0-aa-dev.46.hba7cf58194a3.dirty",e="ba7cf58194a3a01c137783b86bf0b33164374bad";return r&&e?{version:r,hash:e}:null},JM=JEi(),X8r=r=>{if(r===null)return null;let e=(0,Z8r.parse)(r.version);if(!e)return null;let t=e.prerelease.slice(0,2).join(".").replace(/^aa-dev\.(\d+)/,".dev$1").replace(/^alpha\.(\d+)/,"a$1").replace(/^beta\.(\d+)/,"b$1").replace(/^rc\.(\d+)/,"rc$1"),a=e.prerelease.slice(2).join(".").replace(/[^a-zA-Z0-9]/g,"."),i=e.build.join(".").replace(/[^a-zA-Z0-9]/g,"."),n="";return a&&i?n=`+${a}.${i}`:a?n=`+${a}`:i&&(n=`+${i}`),`${e.major}.${e.minor}.${e.patch}${t}${n}`};var wy=Cp("RENDERER"),YEi=(r,e)=>e instanceof r.ffi.PyProxy&&e.type==="list"&&e instanceof r.ffi.PyIterable,ZEi=(r,e)=>e instanceof r.ffi.PyProxy&&e.type==="dict"&&e instanceof r.ffi.PyIterable&&e instanceof r.ffi.PyDict,IPt=(r,e)=>{if(!(e instanceof r.ffi.PyProxy))return e;if(ZEi(r,e)){let t={};for(let a of e){if(typeof a!="string")throw new Error("Object key was not a string!");t[a]=IPt(r,e.get(a))}return t}if(YEi(r,e)){let t=[];for(let a of e)t.push(IPt(r,a));return t}throw new Error(`Unhandled object type: ${e?.type}`)};var VM="/pystatic",XEi=r=>{if(process.env.PYTHON_WHEEL_URL)return process.env.PYTHON_WHEEL_URL;let e=X8r(JM)||"0.1.0";return`${r}/renderer-${e}-py3-none-any.whl`},$8r=async r=>{let e=l=>{wy.alert("Python stderr:",l)},t=l=>{wy.debug("Python stdout:",l)},{pyodideURL:a,emfs:i,postLoad:n}=r,o=i?`emfs:${VM}`:a,u=XEi(o),p;try{p=new URL(u)}catch{throw wy.emerg("Could not form a valid renderer URL!",u),new la(`Could not form a valid renderer URL, trying to use ${u}`)}if(!p.pathname.endsWith(".whl"))throw wy.emerg("Got an invalid renderer URL that did not end in '.whl'",p.pathname,"full URL:",u),new la(`Got an invalid renderer URL that did not end in whl (${u})`);let d=performance.now()/1e3;wy.info("Loading, with pyodideUrl: ",a);let c=await sQt({indexURL:a,stderr:e,stdout:t,stdin:()=>{throw new Error("No stdin!")}});n&&await n(c);let g=performance.now()/1e3;return wy.info("Pyodide initialization complete in ",g-d," seconds"),c},eLr=async(r,e)=>{let t,a=r.toPy({parameters:JSON.parse(JSON.stringify(e))}),i=new Date,n;try{return t=await r.runPythonAsync(`
|
|
964
964
|
from js import Array, Object
|
|
965
965
|
from pyodide.ffi import to_js
|
|
966
966
|
import os
|