@kedem/okdb 2.7.0 → 2.7.1
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/CHANGELOG.md +37 -1
- package/algorithm-worker-thread.js +1 -1
- package/bin/okdb.js +1 -1
- package/okdb-functions-sandbox-worker.js +1 -1
- package/okdb-http-worker-child.js +1 -1
- package/okdb-views-bootstrap-worker.js +1 -1
- package/okdb.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x545c77=_0x4d52;(function(_0x49b7a8,_0x532c08){const _0x5902fb=_0x4d52,_0x493ad9=_0x49b7a8();while(!![]){try{const _0x4901cc=-parseInt(_0x5902fb(0x1f9))/0x1+-parseInt(_0x5902fb(0x200))/0x2*(parseInt(_0x5902fb(0x23d))/0x3)+-parseInt(_0x5902fb(0x1fe))/0x4+parseInt(_0x5902fb(0x246))/0x5*(-parseInt(_0x5902fb(0x229))/0x6)+-parseInt(_0x5902fb(0x232))/0x7+-parseInt(_0x5902fb(0x1fb))/0x8+parseInt(_0x5902fb(0x21d))/0x9*(parseInt(_0x5902fb(0x216))/0xa);if(_0x4901cc===_0x532c08)break;else _0x493ad9['push'](_0x493ad9['shift']());}catch(_0x376621){_0x493ad9['push'](_0x493ad9['shift']());}}}(_0x3b04,0x278d5));function _0x3b04(){const _0x146ad3=['system:poke','starting','message','index:reset','registerType','open','unique:violation_resolved','bus:drain','12EctdIw','system:ready','done','env:opened','stopped','ttl:set','type','system:drain','license:activated','1975246wKANXC','unref','system:env_release','worker_threads','started','then','_runBootstrapScanPhases','dropIndex','__esModule','freeze','prototype','457854GLrFyj','type:drop','halted','./okdb','_prepareViewDict','ready','ttl:expired','item:remove','fts:reset','274305aDTIhW','dropping','item:update','system:clock_change','txn:rollback','stack','item:create','name','index:drop','error','schema:drop','registerIndex','type:registered','view:progress','env:removed','exports','ref:violation_resolved','index:registered','call','field:resolver_registered','237005AicuxX','bus:proc','173544VgJWur','put','setSchema','237824RWZtLw','ttl:clear','4aWHKEY','ref:violation','unique:violation','resetFts','exit','system:type_drop','registerFts','resetting','clearTtl','progress','views','bus:type_drop','dropFts','system:proc','sync:apply','stopping','events','bus:env_release','schema:set','txn:start','bus:poke','txn:end','350UoMcLO','cancelled','postMessage','default','_activateViewStorage','index:ready','created','302733JfHGTu','system:stopped','fts:registered','hasOwnProperty'];_0x3b04=function(){return _0x146ad3;};return _0x3b04();}var require$$0=require(_0x545c77(0x235)),require$$1=require(_0x545c77(0x240));function getDefaultExportFromCjs(_0x58965a){const _0x13920c=_0x545c77;return _0x58965a&&_0x58965a[_0x13920c(0x23a)]&&Object[_0x13920c(0x23c)][_0x13920c(0x220)][_0x13920c(0x1f7)](_0x58965a,_0x13920c(0x219))?_0x58965a['default']:_0x58965a;}var okdbViewsBootstrapWorker$1={},okdbEnums,hasRequiredOkdbEnums;function _0x4d52(_0x2ec19b,_0x4e7fbc){_0x2ec19b=_0x2ec19b-0x1ef;const _0x3b04cb=_0x3b04();let _0x4d522e=_0x3b04cb[_0x2ec19b];return _0x4d522e;}function requireOkdbEnums(){const _0x1e0bbf=_0x545c77;if(hasRequiredOkdbEnums)return okdbEnums;hasRequiredOkdbEnums=0x1;const _0x4155c1={'PUT':_0x1e0bbf(0x1fc),'REMOVE':'remove','INDEX_DROP':_0x1e0bbf(0x239),'INDEX_REGISTER':_0x1e0bbf(0x1f0),'INDEX_RESET':'resetIndex','TYPE_REGISTER':_0x1e0bbf(0x225),'TYPE_DROP':'dropType','FTS_REGISTER':_0x1e0bbf(0x206),'FTS_DROP':_0x1e0bbf(0x20c),'FTS_RESET':_0x1e0bbf(0x203),'SCHEMA_SET':_0x1e0bbf(0x1fd),'SCHEMA_DROP':'dropSchema','TTL_SET':'setTtl','TTL_CLEAR':_0x1e0bbf(0x208)},_0xcdcfe8={'SYSTEM_READY':_0x1e0bbf(0x22a),'FIELD_RESOLVER_REGISTERED':_0x1e0bbf(0x1f8),'SYSTEM_STOPPED':_0x1e0bbf(0x21e),'SYSTEM_CLOCK_CHANGE':_0x1e0bbf(0x249),'SYSTEM_POKE':_0x1e0bbf(0x221),'SYSTEM_DRAIN':_0x1e0bbf(0x230),'SYSTEM_TYPE_DROP':_0x1e0bbf(0x205),'SYSTEM_PROC':_0x1e0bbf(0x20d),'SYSTEM_BUS_STATE_CHANGE':'system:bus_state_change','ITEM_CREATE':_0x1e0bbf(0x24c),'ITEM_UPDATE':_0x1e0bbf(0x248),'ITEM_REMOVE':_0x1e0bbf(0x244),'ITEM_PENDING':'item:pending','INDEX_RESET':_0x1e0bbf(0x224),'INDEX_READY':_0x1e0bbf(0x21b),'INDEX_PROGRESS':'index:progress','VIEW_PROGRESS':_0x1e0bbf(0x1f2),'INDEX_DROP':_0x1e0bbf(0x24e),'INDEX_REGISTERED':_0x1e0bbf(0x1f6),'FTS_REGISTERED':_0x1e0bbf(0x21f),'FTS_DROP':'fts:drop','FTS_RESET':_0x1e0bbf(0x245),'SCHEMA_SET':_0x1e0bbf(0x212),'SCHEMA_DROP':_0x1e0bbf(0x1ef),'UNIQUE_VIOLATION':_0x1e0bbf(0x202),'UNIQUE_VIOLATION_RESOLVED':_0x1e0bbf(0x227),'REF_VIOLATION':_0x1e0bbf(0x201),'REF_VIOLATION_RESOLVED':_0x1e0bbf(0x1f5),'SYNC_APPLY':_0x1e0bbf(0x20e),'TXN_START':_0x1e0bbf(0x213),'TXN_END':_0x1e0bbf(0x215),'TXN_ROLLBACK':_0x1e0bbf(0x24a),'TYPE_REGISTERED':_0x1e0bbf(0x1f1),'TYPE_DROP':_0x1e0bbf(0x23e),'ENV_OPENED':_0x1e0bbf(0x22c),'ENV_REMOVED':_0x1e0bbf(0x1f3),'SYSTEM_ENV_RELEASE':_0x1e0bbf(0x234),'TTL_EXPIRED':_0x1e0bbf(0x243),'TTL_SET':_0x1e0bbf(0x22e),'TTL_CLEAR':_0x1e0bbf(0x1ff),'LICENSE_INVALID':'license:invalid','LICENSE_ADDED':'license:added','LICENSE_ACTIVATED':_0x1e0bbf(0x231),'LICENSE_REMOVED':'license:removed'},_0x58c5d6={'CREATING':'creating','RESETTING':_0x1e0bbf(0x207),'READY':_0x1e0bbf(0x242),'DROPPING':_0x1e0bbf(0x247),'WAITING':'waiting','ERROR':_0x1e0bbf(0x24f)},_0x5314c6={'CREATED':_0x1e0bbf(0x21c),'STARTING':_0x1e0bbf(0x222),'STARTED':_0x1e0bbf(0x236),'STOPPING':_0x1e0bbf(0x20f),'STOPPED':_0x1e0bbf(0x22d)},_0x582496={'CREATING':'creating','READY':_0x1e0bbf(0x242),'HALTED':_0x1e0bbf(0x23f),'STOPPED':'stopped','RESETTING':_0x1e0bbf(0x207)},_0x12d3d2=Object[_0x1e0bbf(0x23b)]({'POKE':_0x1e0bbf(0x214),'DRAIN':_0x1e0bbf(0x228),'TYPE_DROP':_0x1e0bbf(0x20b),'PROC':_0x1e0bbf(0x1fa),'ENV_RELEASE':_0x1e0bbf(0x211)});return okdbEnums={'BUS_EVENTS':_0x12d3d2,'CHANGE_ACTIONS':_0x4155c1,'EVENTS':_0xcdcfe8,'INDEX_STATE':_0x58c5d6,'OKDB_STATE':_0x5314c6,'VIEW_STATE':_0x582496},okdbEnums;}var hasRequiredOkdbViewsBootstrapWorker;function requireOkdbViewsBootstrapWorker(){const _0x103010=_0x545c77;if(hasRequiredOkdbViewsBootstrapWorker)return okdbViewsBootstrapWorker$1;hasRequiredOkdbViewsBootstrapWorker=0x1;const {parentPort:_0xd947e3,workerData:_0x274c57}=require$$0,_0x3e5674=require$$1,{EVENTS:_0x916717}=requireOkdbEnums();let _0x2efc93=![];_0xd947e3['on'](_0x103010(0x223),_0x143972=>{const _0x50f17e=_0x103010;if(_0x143972?.[_0x50f17e(0x22f)]==='cancel')_0x2efc93=!![];});let _0x259112=null;async function _0x56757d(){const _0x4be86c=_0x103010,_0x4fbbaa=_0x259112;_0x259112=null;if(!_0x4fbbaa)return;try{await Promise['race']([_0x4fbbaa['close'](),new Promise(_0x57725c=>setTimeout(_0x57725c,0x1388)[_0x4be86c(0x233)]())]);}catch{}}async function _0x5d2848(){const _0x2382ff=_0x103010,{rootPath:_0xaac9eb,envName:_0xb22241,viewName:_0xfe1f8,definition:_0x5e854d,startClock:_0x3d43f2}=_0x274c57;_0x259112=new _0x3e5674(_0xaac9eb,{'admin':![],'mcp':![],'timeMachine':![],'engines':![],'processors':![],'compaction':![],'_skipBootRuntime':!![],'processes':![]}),await _0x259112[_0x2382ff(0x226)]();if(_0x2efc93)return _0x2382ff(0x217);const _0x4ea950=_0x259112['env'](_0xb22241);return _0x4ea950[_0x2382ff(0x20a)]['_bootstrapCancelRequested']=()=>_0x2efc93,_0x4ea950[_0x2382ff(0x210)]['on'](_0x916717['VIEW_PROGRESS'],_0x2e9d00=>{const _0x354f55=_0x2382ff;if(_0x2e9d00?.[_0x354f55(0x24d)]!==_0xfe1f8)return;try{_0xd947e3[_0x354f55(0x218)]({'type':_0x354f55(0x209),'event':_0x2e9d00});}catch{}}),await _0x4ea950[_0x2382ff(0x20a)][_0x2382ff(0x241)](_0x5e854d),await _0x4ea950['views'][_0x2382ff(0x21a)](_0xfe1f8,_0x5e854d),await _0x4ea950['views'][_0x2382ff(0x238)](_0xfe1f8,_0x5e854d,{'startClock':_0x3d43f2}),_0x2382ff(0x22b);}return _0x5d2848()[_0x103010(0x237)](async _0x40e04c=>{const _0x4d7b04=_0x103010;await _0x56757d();try{_0xd947e3['postMessage']({'type':_0x40e04c});}catch{}process[_0x4d7b04(0x204)](0x0);},async _0x5c8fa4=>{const _0x5e2344=_0x103010;await _0x56757d();const _0x18cb22=_0x5c8fa4?.['code']==='VIEW_BOOTSTRAP_CANCELLED';try{_0xd947e3[_0x5e2344(0x218)](_0x18cb22?{'type':_0x5e2344(0x217)}:{'type':_0x5e2344(0x24f),'error':_0x5c8fa4?.['message']??String(_0x5c8fa4),'stack':_0x5c8fa4?.[_0x5e2344(0x24b)]});}catch{}process[_0x5e2344(0x204)](_0x18cb22?0x0:0x1);}),okdbViewsBootstrapWorker$1;}var okdbViewsBootstrapWorkerExports=requireOkdbViewsBootstrapWorker(),okdbViewsBootstrapWorker=getDefaultExportFromCjs(okdbViewsBootstrapWorkerExports);module[_0x545c77(0x1f4)]=okdbViewsBootstrapWorker;
|