@lovrabet/rabetbase-cli 2.3.1-beta.2 → 2.3.2-beta.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.
Files changed (218) hide show
  1. package/lib/api/api-doc.js +1 -1
  2. package/lib/api/fetch-model-list.js +1 -1
  3. package/lib/api/generate-api-file.js +1 -1
  4. package/lib/auth/auth-server-ui.js +1 -1
  5. package/lib/auth/auth-server.js +1 -1
  6. package/lib/auth/constant.js +1 -1
  7. package/lib/auth/get-cookie.js +1 -1
  8. package/lib/auth/get-session-user.js +1 -1
  9. package/lib/auth/is-session-valid.js +1 -1
  10. package/lib/auth/login-success-html.js +1 -1
  11. package/lib/auth/logout.js +1 -1
  12. package/lib/cli-flags.js +1 -1
  13. package/lib/cli.js +1 -1
  14. package/lib/commands/api/generate.js +1 -1
  15. package/lib/commands/api/index.js +1 -1
  16. package/lib/commands/api/list.js +1 -1
  17. package/lib/commands/api/pull.js +1 -1
  18. package/lib/commands/api/shared.js +1 -1
  19. package/lib/commands/app/add.js +1 -1
  20. package/lib/commands/app/discover.js +1 -1
  21. package/lib/commands/app/index.js +1 -1
  22. package/lib/commands/app/list.js +1 -1
  23. package/lib/commands/app/remove.js +1 -1
  24. package/lib/commands/app/shared.js +1 -1
  25. package/lib/commands/app/use.js +1 -1
  26. package/lib/commands/app-config/delete.js +1 -1
  27. package/lib/commands/app-config/get.js +1 -1
  28. package/lib/commands/app-config/index.js +1 -1
  29. package/lib/commands/app-config/list.js +1 -1
  30. package/lib/commands/app-config/set.js +1 -1
  31. package/lib/commands/app-config/shared.js +1 -1
  32. package/lib/commands/auth/index.js +1 -1
  33. package/lib/commands/bff/create.js +1 -1
  34. package/lib/commands/bff/delete.js +1 -1
  35. package/lib/commands/bff/detail.js +1 -1
  36. package/lib/commands/bff/index.js +1 -1
  37. package/lib/commands/bff/list.js +1 -1
  38. package/lib/commands/bff/pull.js +1 -1
  39. package/lib/commands/bff/push.js +1 -1
  40. package/lib/commands/bff/status.js +1 -1
  41. package/lib/commands/cli-skill/index.js +1 -1
  42. package/lib/commands/cli-update.js +1 -1
  43. package/lib/commands/codegen/index.js +1 -1
  44. package/lib/commands/codegen/sdk.js +1 -1
  45. package/lib/commands/codegen/sql.js +1 -1
  46. package/lib/commands/common/app-selector.js +1 -1
  47. package/lib/commands/common/flags.js +1 -1
  48. package/lib/commands/common/validate.js +1 -1
  49. package/lib/commands/config/get.js +1 -1
  50. package/lib/commands/config/index.js +1 -1
  51. package/lib/commands/config/list.js +1 -1
  52. package/lib/commands/config/set.js +1 -1
  53. package/lib/commands/config/shared.js +1 -1
  54. package/lib/commands/data/filter.js +1 -1
  55. package/lib/commands/data/getOne.js +1 -1
  56. package/lib/commands/data/index.js +1 -1
  57. package/lib/commands/data/shared.js +1 -1
  58. package/lib/commands/dataset/business-group-update.js +1 -1
  59. package/lib/commands/dataset/capability.js +1 -1
  60. package/lib/commands/dataset/delete.js +1 -1
  61. package/lib/commands/dataset/detail.js +1 -1
  62. package/lib/commands/dataset/extend-update.js +1 -1
  63. package/lib/commands/dataset/field-update.js +1 -1
  64. package/lib/commands/dataset/index.js +1 -1
  65. package/lib/commands/dataset/list.js +1 -1
  66. package/lib/commands/dataset/operations.js +1 -1
  67. package/lib/commands/dataset/relation-audit.js +1 -0
  68. package/lib/commands/dataset/relation-create.js +1 -1
  69. package/lib/commands/dataset/relation-delete.js +1 -1
  70. package/lib/commands/dataset/relation-shared.js +1 -1
  71. package/lib/commands/dataset/relation-update.js +1 -1
  72. package/lib/commands/dataset/relations.js +1 -1
  73. package/lib/commands/dataset/rename.js +1 -1
  74. package/lib/commands/dataset/restore.js +1 -1
  75. package/lib/commands/db/analyze-cancel.js +1 -1
  76. package/lib/commands/db/analyze-start.js +1 -1
  77. package/lib/commands/db/analyze-status.js +1 -1
  78. package/lib/commands/db/create.js +1 -1
  79. package/lib/commands/db/delete.js +1 -1
  80. package/lib/commands/db/detail.js +1 -1
  81. package/lib/commands/db/diff.js +1 -1
  82. package/lib/commands/db/index.js +1 -1
  83. package/lib/commands/db/list.js +1 -1
  84. package/lib/commands/db/shared.js +1 -1
  85. package/lib/commands/db/tables.js +1 -1
  86. package/lib/commands/db/test.js +1 -1
  87. package/lib/commands/db/update.js +1 -1
  88. package/lib/commands/doctor.js +1 -1
  89. package/lib/commands/init/index.js +1 -1
  90. package/lib/commands/issue/index.js +1 -1
  91. package/lib/commands/issue/nudge.js +1 -1
  92. package/lib/commands/issue/report.js +1 -1
  93. package/lib/commands/issue/shared.js +1 -1
  94. package/lib/commands/logs/index.js +1 -1
  95. package/lib/commands/menu/index.js +1 -1
  96. package/lib/commands/menu/list.js +1 -1
  97. package/lib/commands/menu/shared/compare-table.js +1 -1
  98. package/lib/commands/menu/shared/index.js +1 -1
  99. package/lib/commands/menu/shared/inquirer.js +1 -1
  100. package/lib/commands/menu/shared/local-pages.js +1 -1
  101. package/lib/commands/menu/shared/logic.js +1 -1
  102. package/lib/commands/menu/shared/service.js +1 -1
  103. package/lib/commands/menu/shared/sync-core.js +1 -1
  104. package/lib/commands/menu/shared/update-core.js +1 -1
  105. package/lib/commands/menu/shared/valid-url.js +1 -1
  106. package/lib/commands/menu/sync.js +1 -1
  107. package/lib/commands/menu/update.js +1 -1
  108. package/lib/commands/page/generate-start.js +1 -1
  109. package/lib/commands/page/generate-status.js +1 -1
  110. package/lib/commands/page/index.js +1 -1
  111. package/lib/commands/page/pull.js +1 -1
  112. package/lib/commands/page/push.js +1 -1
  113. package/lib/commands/page/relation-audit.js +1 -1
  114. package/lib/commands/page/shared.js +1 -1
  115. package/lib/commands/page/standard-page-status.js +1 -1
  116. package/lib/commands/page/sync.js +1 -1
  117. package/lib/commands/project/create/enhanced-guided-create.js +1 -1
  118. package/lib/commands/project/create/format-elapsed.js +1 -1
  119. package/lib/commands/project/create/main.js +1 -1
  120. package/lib/commands/project/create/non-interactive.js +1 -1
  121. package/lib/commands/project/create/project-template-path.js +1 -1
  122. package/lib/commands/project/create/use-copy-project-template.js +1 -1
  123. package/lib/commands/project/create/use-format-code.js +1 -1
  124. package/lib/commands/project/create/use-install-dependencies.js +1 -1
  125. package/lib/commands/project/index.js +1 -1
  126. package/lib/commands/project/init.js +1 -1
  127. package/lib/commands/project/upgrade.js +1 -1
  128. package/lib/commands/registry.js +1 -1
  129. package/lib/commands/run/index.js +1 -1
  130. package/lib/commands/schema.js +1 -1
  131. package/lib/commands/sql/create.js +1 -1
  132. package/lib/commands/sql/delete.js +1 -1
  133. package/lib/commands/sql/detail.js +1 -1
  134. package/lib/commands/sql/exec.js +1 -1
  135. package/lib/commands/sql/index.js +1 -1
  136. package/lib/commands/sql/list.js +1 -1
  137. package/lib/commands/sql/pull.js +1 -1
  138. package/lib/commands/sql/push.js +1 -1
  139. package/lib/commands/sql/save.js +1 -1
  140. package/lib/commands/sql/shared.js +1 -1
  141. package/lib/commands/sql/status.js +1 -1
  142. package/lib/commands/sql/validate.js +1 -1
  143. package/lib/commands/workspace/index.js +1 -1
  144. package/lib/config/schema.js +1 -1
  145. package/lib/constant/cdn.js +1 -1
  146. package/lib/constant/cli.js +1 -1
  147. package/lib/constant/defaults.js +1 -1
  148. package/lib/constant/domain.js +1 -1
  149. package/lib/constant/env.js +1 -1
  150. package/lib/constant/output.js +1 -1
  151. package/lib/constant/paths.js +1 -1
  152. package/lib/constant/risk.js +1 -1
  153. package/lib/context/app-resolver.js +1 -1
  154. package/lib/context/auth-resolver.js +1 -1
  155. package/lib/context/config-loader.js +1 -1
  156. package/lib/context.js +1 -1
  157. package/lib/core/alias-resolver.js +1 -1
  158. package/lib/core/api-client.js +1 -1
  159. package/lib/core/bff/config.js +1 -1
  160. package/lib/core/bff/file-system.js +1 -1
  161. package/lib/core/bff/hash.js +1 -1
  162. package/lib/core/bff/lock.js +1 -1
  163. package/lib/core/bff/utils.js +1 -1
  164. package/lib/core/db-resolver.js +1 -1
  165. package/lib/core/page/file-system.js +1 -1
  166. package/lib/core/page/hash.js +1 -1
  167. package/lib/core/page/lock.js +1 -1
  168. package/lib/core/sql-sync/config.js +1 -1
  169. package/lib/core/sql-sync/file-system.js +1 -1
  170. package/lib/core/sql-sync/hash.js +1 -1
  171. package/lib/core/sql-sync/lock.js +1 -1
  172. package/lib/core/sql-sync/utils.js +1 -1
  173. package/lib/core/sql-validator.js +1 -1
  174. package/lib/errors.js +1 -1
  175. package/lib/framework/build-all-flags.js +1 -1
  176. package/lib/framework/flags.js +1 -1
  177. package/lib/framework/help.js +1 -1
  178. package/lib/framework/index.js +1 -1
  179. package/lib/framework/output.js +1 -1
  180. package/lib/framework/response.js +1 -1
  181. package/lib/framework/runner-alias.js +1 -1
  182. package/lib/framework/runner.js +1 -1
  183. package/lib/framework/schema-export.js +1 -1
  184. package/lib/framework/types.js +1 -1
  185. package/lib/generated/build-info.js +1 -1
  186. package/lib/help.js +1 -1
  187. package/lib/skills/main.js +1 -1
  188. package/lib/skills/npx-skills-add.js +1 -1
  189. package/lib/telemetry/cli-command-trace.js +1 -1
  190. package/lib/telemetry/cli-help-trace.js +1 -1
  191. package/lib/telemetry/ensure-cli-otel-config.js +1 -1
  192. package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
  193. package/lib/telemetry/send-cli-trace-log.js +1 -1
  194. package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
  195. package/lib/utils/ai_config.js +1 -1
  196. package/lib/utils/apply-jq-filter.js +1 -1
  197. package/lib/utils/cdn-config.js +1 -1
  198. package/lib/utils/check-sdk-version.js +1 -1
  199. package/lib/utils/cli-version-check.js +1 -1
  200. package/lib/utils/cli-version-policy.js +1 -1
  201. package/lib/utils/config.js +1 -1
  202. package/lib/utils/copy-directory.js +1 -1
  203. package/lib/utils/entity-with-id.js +1 -1
  204. package/lib/utils/file-utils.js +1 -1
  205. package/lib/utils/guides-cdn.js +1 -1
  206. package/lib/utils/http-client.js +1 -1
  207. package/lib/utils/is-non-interactive.js +1 -1
  208. package/lib/utils/logger.js +1 -1
  209. package/lib/utils/params.js +1 -1
  210. package/lib/utils/platform.js +1 -1
  211. package/lib/utils/rules-cdn.js +1 -1
  212. package/lib/utils/sleep.js +1 -1
  213. package/lib/utils/template-replacer.js +1 -1
  214. package/lib/utils/update-notice.js +1 -1
  215. package/lib/utils/version.js +1 -1
  216. package/lib/utils/with-active-cookie.js +1 -1
  217. package/lib/utils/write-cli-side-channel.js +1 -1
  218. package/package.json +1 -1
@@ -1 +1 @@
1
- function a217_0xd27d(){const _0x488a7b=['parse','488785KVtDpu','60WknRvd','stringify','stableVersion','238CxXwbf','1675402YrcHAo',',\x20run:\x20','update-check.json','.cache','gte','2QqKVnG','130evoEpa','true','183DSxVyc','67476mvhyfo','number','trim','utf8','52031376fncDnj','lastNotifiedAt','14766435fqnpGJ','/v/','rabetbase-cli','now','https://www.npmjs.com/package/','321544RsTpQB','844385CpoJTw','checkedAt','valid'];a217_0xd27d=function(){return _0x488a7b;};return a217_0xd27d();}(function(_0x10ab19,_0x48a333){const _0x2713fd=a217_0x37c5,_0x66d069=_0x10ab19();while(!![]){try{const _0xff3aa6=parseInt(_0x2713fd(0x16e))/0x1*(parseInt(_0x2713fd(0x169))/0x2)+parseInt(_0x2713fd(0x171))/0x3*(parseInt(_0x2713fd(0x172))/0x4)+parseInt(_0x2713fd(0x17e))/0x5*(parseInt(_0x2713fd(0x165))/0x6)+-parseInt(_0x2713fd(0x168))/0x7*(parseInt(_0x2713fd(0x17d))/0x8)+parseInt(_0x2713fd(0x178))/0x9+parseInt(_0x2713fd(0x16f))/0xa*(parseInt(_0x2713fd(0x164))/0xb)+-parseInt(_0x2713fd(0x176))/0xc;if(_0xff3aa6===_0x48a333)break;else _0x66d069['push'](_0x66d069['shift']());}catch(_0x19d22e){_0x66d069['push'](_0x66d069['shift']());}}}(a217_0xd27d,0xddef1));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a217_0x163709 from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';function a217_0x37c5(_0x30c5d5,_0x89b923){_0x30c5d5=_0x30c5d5-0x161;const _0xd27d36=a217_0xd27d();let _0x37c558=_0xd27d36[_0x30c5d5];return _0x37c558;}import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function isUpdateNoticeDisabled(){const _0x67aac1=a217_0x37c5,_0x2a9dcb=process.env.RABETBASE_NO_UPDATE_NOTICE?.['trim']()['toLowerCase']();return _0x2a9dcb==='1'||_0x2a9dcb===_0x67aac1(0x170)||_0x2a9dcb==='yes';}function cacheRoot(){const _0x21b984=a217_0x37c5;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x21b984(0x16c));}export function getUpdateNoticeCachePath(){const _0x4baf9b=a217_0x37c5;return join(cacheRoot(),_0x4baf9b(0x17a),_0x4baf9b(0x16b));}async function readUpdateNoticeCache(){const _0x246a33=a217_0x37c5;try{const _0xc03d37=await readFile(getUpdateNoticeCachePath(),_0x246a33(0x175)),_0x510b55=JSON[_0x246a33(0x163)](_0xc03d37);if(!_0x510b55||typeof _0x510b55!=='object')return{};return _0x510b55;}catch{return{};}}async function writeUpdateNoticeCache(_0x45c120){const _0x5d074e=a217_0x37c5;try{const _0x5da543=getUpdateNoticeCachePath();await mkdir(dirname(_0x5da543),{'recursive':!![]}),await writeFile(_0x5da543,JSON[_0x5d074e(0x166)](_0x45c120,null,0x2)+'\x0a',_0x5d074e(0x175));}catch{}}function isFreshCheck(_0x42b03c,_0x251e6b){const _0x42f4ae=a217_0x37c5;return typeof _0x42b03c[_0x42f4ae(0x161)]===_0x42f4ae(0x173)&&_0x251e6b-_0x42b03c[_0x42f4ae(0x161)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x31f806,_0x359fbe,_0xc16ef3){const _0x13b301=a217_0x37c5;return _0x31f806['lastNotifiedVersion']===_0x359fbe&&typeof _0x31f806[_0x13b301(0x177)]==='number'&&_0xc16ef3-_0x31f806[_0x13b301(0x177)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x3bdde2){const _0x14d4fe=a217_0x37c5;return _0x14d4fe(0x17c)+NPM_PACKAGE_NAME+_0x14d4fe(0x179)+_0x3bdde2;}export async function resolveLatestUpdateNotice(){const _0x28fb00=a217_0x37c5;if(isUpdateNoticeDisabled())return null;try{const _0x493417=Date[_0x28fb00(0x17b)](),_0x2021c1=getCliVersion(),_0x4e7743=await readUpdateNoticeCache();let _0x516594=isFreshCheck(_0x4e7743,_0x493417)?_0x4e7743['latest']?.['trim']():undefined;if(!_0x516594&&!isFreshCheck(_0x4e7743,_0x493417)){const _0x3de613=await getCliVersionPolicy();_0x516594=_0x3de613?.[_0x28fb00(0x167)]?.[_0x28fb00(0x174)]()||undefined,await writeUpdateNoticeCache({..._0x4e7743,'checkedAt':_0x493417,'latest':_0x516594,'failed':!_0x516594});}if(!_0x516594||!a217_0x163709[_0x28fb00(0x162)](_0x2021c1)||!a217_0x163709[_0x28fb00(0x162)](_0x516594))return null;if(a217_0x163709[_0x28fb00(0x16d)](_0x2021c1,_0x516594))return null;if(isRecentlyNotified(_0x4e7743,_0x516594,_0x493417))return null;const _0x3899f0=CLI_BIN_NAME+'\x20update';return await writeUpdateNoticeCache({..._0x4e7743,'checkedAt':isFreshCheck(_0x4e7743,_0x493417)?_0x4e7743['checkedAt']:_0x493417,'latest':_0x516594,'failed':![],'lastNotifiedVersion':_0x516594,'lastNotifiedAt':_0x493417}),{'command':_0x3899f0,'current':_0x2021c1,'latest':_0x516594,'url':buildNpmVersionUrl(_0x516594),'message':CLI_BIN_NAME+'\x20'+_0x516594+'\x20available,\x20current\x20'+_0x2021c1+_0x28fb00(0x16a)+_0x3899f0};}catch{return null;}}
1
+ (function(_0x53fd24,_0x299935){const _0x504b86=a218_0x21f4,_0x2e8df5=_0x53fd24();while(!![]){try{const _0x4faa50=-parseInt(_0x504b86(0x127))/0x1+parseInt(_0x504b86(0x12a))/0x2*(-parseInt(_0x504b86(0x123))/0x3)+-parseInt(_0x504b86(0x128))/0x4*(-parseInt(_0x504b86(0x112))/0x5)+-parseInt(_0x504b86(0x120))/0x6+-parseInt(_0x504b86(0x118))/0x7+-parseInt(_0x504b86(0x12d))/0x8*(parseInt(_0x504b86(0x11c))/0x9)+parseInt(_0x504b86(0x12e))/0xa;if(_0x4faa50===_0x299935)break;else _0x2e8df5['push'](_0x2e8df5['shift']());}catch(_0x231be4){_0x2e8df5['push'](_0x2e8df5['shift']());}}}(a218_0x1d00,0xdb1a5));import{mkdir,readFile,writeFile}from'node:fs/promises';import{homedir}from'node:os';import{dirname,join}from'node:path';import a218_0x3eaf1c from'semver';import{CLI_BIN_NAME,NPM_PACKAGE_NAME}from'../constant/cli.js';import{getCliVersionPolicy}from'../utils/cli-version-policy.js';import{getCliVersion}from'../utils/version.js';const UPDATE_CHECK_TTL_MS=0xc*0x3c*0x3c*0x3e8,UPDATE_NOTICE_TTL_MS=0x18*0x3c*0x3c*0x3e8;function a218_0x21f4(_0x56b3b5,_0x2dbd2e){_0x56b3b5=_0x56b3b5-0x112;const _0x1d006f=a218_0x1d00();let _0x21f4fd=_0x1d006f[_0x56b3b5];return _0x21f4fd;}function isUpdateNoticeDisabled(){const _0x123913=a218_0x21f4,_0x155958=process.env.RABETBASE_NO_UPDATE_NOTICE?.[_0x123913(0x11f)]()[_0x123913(0x115)]();return _0x155958==='1'||_0x155958===_0x123913(0x116)||_0x155958===_0x123913(0x119);}function cacheRoot(){const _0x57738b=a218_0x21f4;return process.env.XDG_CACHE_HOME||process.env.LOCALAPPDATA||join(homedir(),_0x57738b(0x114));}function a218_0x1d00(){const _0x4b2d58=['1910eOiDZe','now','object','1998312EsfAgu','37976760KDDBfM','valid','906735iymOrg','checkedAt','.cache','toLowerCase','true','/v/','2196250zxKbQE','yes','update-check.json','\x20update','9ayxkeb','rabetbase-cli','parse','trim','8490336xaPprl','stableVersion','lastNotifiedAt','1875Lystes','utf8','latest','lastNotifiedVersion','868802tIReom','12FIGsTJ','number'];a218_0x1d00=function(){return _0x4b2d58;};return a218_0x1d00();}export function getUpdateNoticeCachePath(){const _0x55e7c7=a218_0x21f4;return join(cacheRoot(),_0x55e7c7(0x11d),_0x55e7c7(0x11a));}async function readUpdateNoticeCache(){const _0x327de6=a218_0x21f4;try{const _0xd02480=await readFile(getUpdateNoticeCachePath(),'utf8'),_0x37589d=JSON[_0x327de6(0x11e)](_0xd02480);if(!_0x37589d||typeof _0x37589d!==_0x327de6(0x12c))return{};return _0x37589d;}catch{return{};}}async function writeUpdateNoticeCache(_0x2c31ed){const _0x18555f=a218_0x21f4;try{const _0x286b56=getUpdateNoticeCachePath();await mkdir(dirname(_0x286b56),{'recursive':!![]}),await writeFile(_0x286b56,JSON['stringify'](_0x2c31ed,null,0x2)+'\x0a',_0x18555f(0x124));}catch{}}function isFreshCheck(_0x32dc5c,_0x26ca30){const _0x50f7d5=a218_0x21f4;return typeof _0x32dc5c[_0x50f7d5(0x113)]==='number'&&_0x26ca30-_0x32dc5c[_0x50f7d5(0x113)]<UPDATE_CHECK_TTL_MS;}function isRecentlyNotified(_0x4d84f8,_0x55e430,_0x20adf0){const _0x2743eb=a218_0x21f4;return _0x4d84f8[_0x2743eb(0x126)]===_0x55e430&&typeof _0x4d84f8[_0x2743eb(0x122)]===_0x2743eb(0x129)&&_0x20adf0-_0x4d84f8[_0x2743eb(0x122)]<UPDATE_NOTICE_TTL_MS;}export function buildNpmVersionUrl(_0x27df06){const _0x5263b8=a218_0x21f4;return'https://www.npmjs.com/package/'+NPM_PACKAGE_NAME+_0x5263b8(0x117)+_0x27df06;}export async function resolveLatestUpdateNotice(){const _0x18d4bf=a218_0x21f4;if(isUpdateNoticeDisabled())return null;try{const _0x58a98d=Date[_0x18d4bf(0x12b)](),_0x1a1144=getCliVersion(),_0x2fc311=await readUpdateNoticeCache();let _0x2c8d07=isFreshCheck(_0x2fc311,_0x58a98d)?_0x2fc311[_0x18d4bf(0x125)]?.['trim']():undefined;if(!_0x2c8d07&&!isFreshCheck(_0x2fc311,_0x58a98d)){const _0x545444=await getCliVersionPolicy();_0x2c8d07=_0x545444?.[_0x18d4bf(0x121)]?.[_0x18d4bf(0x11f)]()||undefined,await writeUpdateNoticeCache({..._0x2fc311,'checkedAt':_0x58a98d,'latest':_0x2c8d07,'failed':!_0x2c8d07});}if(!_0x2c8d07||!a218_0x3eaf1c[_0x18d4bf(0x12f)](_0x1a1144)||!a218_0x3eaf1c[_0x18d4bf(0x12f)](_0x2c8d07))return null;if(a218_0x3eaf1c['gte'](_0x1a1144,_0x2c8d07))return null;if(isRecentlyNotified(_0x2fc311,_0x2c8d07,_0x58a98d))return null;const _0x55fae2=CLI_BIN_NAME+_0x18d4bf(0x11b);return await writeUpdateNoticeCache({..._0x2fc311,'checkedAt':isFreshCheck(_0x2fc311,_0x58a98d)?_0x2fc311['checkedAt']:_0x58a98d,'latest':_0x2c8d07,'failed':![],'lastNotifiedVersion':_0x2c8d07,'lastNotifiedAt':_0x58a98d}),{'command':_0x55fae2,'current':_0x1a1144,'latest':_0x2c8d07,'url':buildNpmVersionUrl(_0x2c8d07),'message':CLI_BIN_NAME+'\x20'+_0x2c8d07+'\x20available,\x20current\x20'+_0x1a1144+',\x20run:\x20'+_0x55fae2};}catch{return null;}}
@@ -1 +1 @@
1
- (function(_0x554df9,_0x73a7e2){var _0x464035=a218_0x359e,_0x26d84a=_0x554df9();while(!![]){try{var _0x2659cc=parseInt(_0x464035(0x82))/0x1+parseInt(_0x464035(0x88))/0x2+-parseInt(_0x464035(0x7f))/0x3*(-parseInt(_0x464035(0x85))/0x4)+-parseInt(_0x464035(0x84))/0x5+parseInt(_0x464035(0x81))/0x6*(-parseInt(_0x464035(0x86))/0x7)+-parseInt(_0x464035(0x80))/0x8*(-parseInt(_0x464035(0x87))/0x9)+parseInt(_0x464035(0x83))/0xa;if(_0x2659cc===_0x73a7e2)break;else _0x26d84a['push'](_0x26d84a['shift']());}catch(_0x333688){_0x26d84a['push'](_0x26d84a['shift']());}}}(a218_0x1653,0x8eb9a));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}function a218_0x359e(_0x3eafb5,_0xc8e1d2){_0x3eafb5=_0x3eafb5-0x7f;var _0x165320=a218_0x1653();var _0x359e36=_0x165320[_0x3eafb5];return _0x359e36;}function a218_0x1653(){var _0x1fadbc=['18xakPei','200964EbSBkL','9WTkDVS','1556248jKyFmJ','11802CXeeCL','312770WCdKkr','8768730lcicGG','3246630tTMQHy','589144VelOAQ','3157OhCBmp'];a218_0x1653=function(){return _0x1fadbc;};return a218_0x1653();}
1
+ function a219_0x92a4(_0x3ff244,_0x1305c9){_0x3ff244=_0x3ff244-0x104;var _0x4aef04=a219_0x4aef();var _0x92a421=_0x4aef04[_0x3ff244];return _0x92a421;}function a219_0x4aef(){var _0xd14e8f=['1675632dUZXpE','13772IOUgce','6cNdmei','9AwFvjB','16lYUMyF','1151260cJIXgq','2138700ewuPjp','34438cnyLrA','1536CiVWbS','236715BsyIZb','908978oVEbcb','15nMNJSt'];a219_0x4aef=function(){return _0xd14e8f;};return a219_0x4aef();}(function(_0x35569e,_0x26b53b){var _0x4f6c05=a219_0x92a4,_0x49a021=_0x35569e();while(!![]){try{var _0x3ea364=-parseInt(_0x4f6c05(0x108))/0x1*(-parseInt(_0x4f6c05(0x104))/0x2)+parseInt(_0x4f6c05(0x106))/0x3*(-parseInt(_0x4f6c05(0x10d))/0x4)+-parseInt(_0x4f6c05(0x10e))/0x5+-parseInt(_0x4f6c05(0x10b))/0x6*(parseInt(_0x4f6c05(0x107))/0x7)+parseInt(_0x4f6c05(0x109))/0x8+parseInt(_0x4f6c05(0x10c))/0x9*(parseInt(_0x4f6c05(0x10f))/0xa)+-parseInt(_0x4f6c05(0x10a))/0xb*(-parseInt(_0x4f6c05(0x105))/0xc);if(_0x3ea364===_0x26b53b)break;else _0x49a021['push'](_0x49a021['shift']());}catch(_0x1489b2){_0x49a021['push'](_0x49a021['shift']());}}}(a219_0x4aef,0x288fb));import{VERSION}from'../generated/build-info.js';export function getCliVersion(){return VERSION;}
@@ -1 +1 @@
1
- (function(_0x369aa6,_0x2433ac){var _0x192b5c=a219_0x1621,_0x5defef=_0x369aa6();while(!![]){try{var _0x2b5120=parseInt(_0x192b5c(0x125))/0x1*(-parseInt(_0x192b5c(0x123))/0x2)+-parseInt(_0x192b5c(0x126))/0x3+parseInt(_0x192b5c(0x124))/0x4*(parseInt(_0x192b5c(0x122))/0x5)+parseInt(_0x192b5c(0x121))/0x6+-parseInt(_0x192b5c(0x12a))/0x7+-parseInt(_0x192b5c(0x127))/0x8*(parseInt(_0x192b5c(0x129))/0x9)+parseInt(_0x192b5c(0x128))/0xa;if(_0x2b5120===_0x2433ac)break;else _0x5defef['push'](_0x5defef['shift']());}catch(_0x5dda64){_0x5defef['push'](_0x5defef['shift']());}}}(a219_0x4adc,0x71ff2));function a219_0x1621(_0x7f53da,_0x73dd77){_0x7f53da=_0x7f53da-0x121;var _0x4adcfa=a219_0x4adc();var _0x16217b=_0x4adcfa[_0x7f53da];return _0x16217b;}function a219_0x4adc(){var _0x270b83=['6UTFXVW','4IxEDtR','310949UFEgbL','1499319BYkxFf','2364944JsIrFO','14882300wwDzDe','9IrGitC','2146284rGDQxG','2545266srfLDB','2946695QYFMPX'];a219_0x4adc=function(){return _0x270b83;};return a219_0x4adc();}import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';export async function withActiveCookie(_0x3af10d,_0x3785ae){setActiveCookie(_0x3af10d);try{return await _0x3785ae();}finally{clearActiveCookie();}}
1
+ (function(_0x4dfeb0,_0xa06a1e){var _0x3d5a33=a220_0x59a4,_0x50bf74=_0x4dfeb0();while(!![]){try{var _0x12aa2c=parseInt(_0x3d5a33(0x81))/0x1*(parseInt(_0x3d5a33(0x84))/0x2)+parseInt(_0x3d5a33(0x83))/0x3*(-parseInt(_0x3d5a33(0x7d))/0x4)+parseInt(_0x3d5a33(0x82))/0x5*(-parseInt(_0x3d5a33(0x7b))/0x6)+parseInt(_0x3d5a33(0x80))/0x7+-parseInt(_0x3d5a33(0x7f))/0x8+parseInt(_0x3d5a33(0x7e))/0x9*(parseInt(_0x3d5a33(0x86))/0xa)+-parseInt(_0x3d5a33(0x7c))/0xb*(-parseInt(_0x3d5a33(0x85))/0xc);if(_0x12aa2c===_0xa06a1e)break;else _0x50bf74['push'](_0x50bf74['shift']());}catch(_0x147bb3){_0x50bf74['push'](_0x50bf74['shift']());}}}(a220_0x3c8b,0xad80a));import{setActiveCookie,clearActiveCookie}from'../core/api-client.js';function a220_0x59a4(_0x89ddc0,_0x10a522){_0x89ddc0=_0x89ddc0-0x7b;var _0x3c8b73=a220_0x3c8b();var _0x59a4b5=_0x3c8b73[_0x89ddc0];return _0x59a4b5;}export async function withActiveCookie(_0x10c7f8,_0x12c64c){setActiveCookie(_0x10c7f8);try{return await _0x12c64c();}finally{clearActiveCookie();}}function a220_0x3c8b(){var _0x30bb18=['1615332LQMDRJ','1010566hFLBWV','1186932fNvJfg','460EgJFAD','104016ElDcLa','253OfKbyq','4GcVZJn','28053iMGTjE','6336320jsdhiV','2317364mhvxIO','1dWAGSi','350AfVGSm'];a220_0x3c8b=function(){return _0x30bb18;};return a220_0x3c8b();}
@@ -1 +1 @@
1
- function a220_0x5b60(){var _0x260fcc=['3555715XFopaL','4DkITiT','3729976uicjVg','4601710HAXVPV','write','2256TTOPIg','40949GRLjvw','581lpScke','1026amgxin','9sveBiF','108KEqiJb','4037341jPvOdE','63534jRgada'];a220_0x5b60=function(){return _0x260fcc;};return a220_0x5b60();}function a220_0x2352(_0x434040,_0x2f84fb){_0x434040=_0x434040-0x1ee;var _0x5b608a=a220_0x5b60();var _0x2352a2=_0x5b608a[_0x434040];return _0x2352a2;}(function(_0x1862de,_0x30f774){var _0x4d3298=a220_0x2352,_0x1765f0=_0x1862de();while(!![]){try{var _0xb2356f=parseInt(_0x4d3298(0x1fa))/0x1+parseInt(_0x4d3298(0x1ef))/0x2*(-parseInt(_0x4d3298(0x1f9))/0x3)+parseInt(_0x4d3298(0x1f5))/0x4*(-parseInt(_0x4d3298(0x1f4))/0x5)+-parseInt(_0x4d3298(0x1f3))/0x6*(parseInt(_0x4d3298(0x1ee))/0x7)+parseInt(_0x4d3298(0x1f6))/0x8*(-parseInt(_0x4d3298(0x1f0))/0x9)+-parseInt(_0x4d3298(0x1f7))/0xa+-parseInt(_0x4d3298(0x1f2))/0xb*(-parseInt(_0x4d3298(0x1f1))/0xc);if(_0xb2356f===_0x30f774)break;else _0x1765f0['push'](_0x1765f0['shift']());}catch(_0x15125f){_0x1765f0['push'](_0x1765f0['shift']());}}}(a220_0x5b60,0x6be94));export function writeCliSideChannelLine(_0x585531){var _0x183ea3=a220_0x2352;process['stderr'][_0x183ea3(0x1f8)](_0x585531+'\x0a');}
1
+ function a221_0x304e(_0x280265,_0x533ed6){_0x280265=_0x280265-0x166;var _0x4ffbb9=a221_0x4ffb();var _0x304eae=_0x4ffbb9[_0x280265];return _0x304eae;}(function(_0x2f2da7,_0x36b4ca){var _0x125542=a221_0x304e,_0x30d1ae=_0x2f2da7();while(!![]){try{var _0x5729d0=parseInt(_0x125542(0x16c))/0x1*(-parseInt(_0x125542(0x170))/0x2)+-parseInt(_0x125542(0x16a))/0x3+parseInt(_0x125542(0x16e))/0x4*(-parseInt(_0x125542(0x168))/0x5)+parseInt(_0x125542(0x166))/0x6+-parseInt(_0x125542(0x169))/0x7*(parseInt(_0x125542(0x172))/0x8)+parseInt(_0x125542(0x16b))/0x9*(-parseInt(_0x125542(0x167))/0xa)+parseInt(_0x125542(0x16f))/0xb;if(_0x5729d0===_0x36b4ca)break;else _0x30d1ae['push'](_0x30d1ae['shift']());}catch(_0x2ae8d0){_0x30d1ae['push'](_0x30d1ae['shift']());}}}(a221_0x4ffb,0x1a311));export function writeCliSideChannelLine(_0x5373a0){var _0x49b978=a221_0x304e;process[_0x49b978(0x16d)][_0x49b978(0x171)](_0x5373a0+'\x0a');}function a221_0x4ffb(){var _0x586aff=['120681PYCWvO','1660635fzTPLe','1CGHvxk','stderr','279844dcrVEv','3686221kmWxZd','46394MXBIAs','write','689872XcmUVb','1057824yixqLf','10MnAZkm','5mmzmoN','7ARVWVb'];a221_0x4ffb=function(){return _0x586aff;};return a221_0x4ffb();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovrabet/rabetbase-cli",
3
- "version": "2.3.1-beta.2",
3
+ "version": "2.3.2-beta.1",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "repository": {
6
6
  "type": "git",