dexbot 1.4.11 → 1.4.13
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/README.md +19 -15
- package/claw/data/positions.json +144646 -0
- package/claw/docs/AI_BOT_LIBRARY_API.md +632 -0
- package/claw/docs/DEXBOT2_TUNING_CHEAT_SHEET.md +243 -0
- package/claw/docs/POSITION_HEALTH.md +117 -0
- package/claw/docs/RUNTIME_COMPARISON.md +256 -0
- package/claw/ecosystem.config.cjs +29 -0
- package/claw/examples/claw_consumer_example.ts +54 -0
- package/claw/examples/claw_infra_example.ts +53 -0
- package/claw/examples/claw_profiles_example.ts +44 -0
- package/claw/examples/connection_test.ts +40 -0
- package/claw/examples/honest_ecosystem_example.ts +35 -0
- package/claw/examples/memu_integration_example.ts +92 -0
- package/claw/examples/position_manager_cli.ts +129 -0
- package/claw/examples/short_mpa_bts_strategy.ts +127 -0
- package/claw/examples/tsconfig.json +28 -0
- package/claw/index.ts +64 -0
- package/claw/modules/bitshares_client.ts +97 -0
- package/claw/modules/chain_actions.ts +352 -0
- package/claw/modules/chain_broadcast.ts +353 -0
- package/claw/modules/chain_queries.ts +157 -0
- package/claw/modules/claw_bridge.ts +423 -0
- package/claw/modules/claw_catalog.ts +804 -0
- package/claw/modules/claw_infra.ts +326 -0
- package/claw/modules/claw_launcher.ts +452 -0
- package/claw/modules/claw_manifest.ts +55 -0
- package/claw/modules/claw_runtime_matrix.ts +104 -0
- package/claw/modules/claw_skill_md.ts +313 -0
- package/claw/modules/credit_runtime_adapter.ts +144 -0
- package/claw/modules/decision_loop.ts +184 -0
- package/claw/modules/dexbot_bridge.ts +82 -0
- package/claw/modules/dexbot_credential_client.ts +55 -0
- package/claw/modules/dexbot_profiles.ts +1340 -0
- package/claw/modules/feed_price_source.ts +134 -0
- package/claw/modules/honest_ecosystem.ts +337 -0
- package/claw/modules/kibana_price_source.ts +133 -0
- package/claw/modules/launcher_mode_detector.ts +192 -0
- package/claw/modules/launcher_paths.ts +69 -0
- package/claw/modules/liquidity_pools.ts +51 -0
- package/claw/modules/mcp_utils.ts +108 -0
- package/claw/modules/memu_bridge.ts +505 -0
- package/claw/modules/mpa_utils.ts +31 -0
- package/claw/modules/position_discovery.ts +163 -0
- package/claw/modules/position_health.ts +360 -0
- package/claw/modules/position_manager.ts +730 -0
- package/claw/modules/position_manager_watch.ts +252 -0
- package/claw/modules/short_mpa_strategy.ts +185 -0
- package/claw/modules/skill_utils.ts +74 -0
- package/claw/modules/types.ts +225 -0
- package/claw/modules/utils.ts +9 -0
- package/claw/node_modules/.package-lock.json +935 -0
- package/claw/node_modules/@babel/runtime/LICENSE +22 -0
- package/claw/node_modules/@babel/runtime/README.md +19 -0
- package/claw/node_modules/@babel/runtime/helpers/AwaitValue.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/OverloadYield.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs.js +236 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2203.js +184 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2203R.js +191 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2301.js +222 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2305.js +133 -0
- package/claw/node_modules/@babel/runtime/helpers/applyDecs2311.js +124 -0
- package/claw/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/arrayWithHoles.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/assertClassBrand.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/assertThisInitialized.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +24 -0
- package/claw/node_modules/@babel/runtime/helpers/asyncIterator.js +45 -0
- package/claw/node_modules/@babel/runtime/helpers/asyncToGenerator.js +26 -0
- package/claw/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/callSuper.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/checkInRHS.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classCallCheck.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classNameTDZError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateGetter.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/classPrivateSetter.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/construct.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/createClass.js +13 -0
- package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +50 -0
- package/claw/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +19 -0
- package/claw/node_modules/@babel/runtime/helpers/createSuper.js +16 -0
- package/claw/node_modules/@babel/runtime/helpers/decorate.js +250 -0
- package/claw/node_modules/@babel/runtime/helpers/defaults.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/defineAccessor.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/defineProperty.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/dispose.js +28 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs.js +236 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +184 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +191 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +222 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +133 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +124 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +24 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +45 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +26 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/callSuper.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/construct.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/createClass.js +13 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +50 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +19 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/createSuper.js +16 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/decorate.js +250 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/defaults.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/defineProperty.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/dispose.js +28 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/extends.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/get.js +11 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/identity.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +27 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/inherits.js +14 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/instanceof.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +28 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/jsx.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread.js +14 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +23 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +13 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/package.json +3 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regenerator.js +89 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +33 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +77 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +19 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/set.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropBase.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropGet.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/superPropSet.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/tdz.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/temporalRef.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +2 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/toArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/toSetter.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/typeof.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/using.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/usingCtx.js +59 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +56 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +27 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +52 -0
- package/claw/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/extends.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/get.js +11 -0
- package/claw/node_modules/@babel/runtime/helpers/getPrototypeOf.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/identity.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/importDeferProxy.js +27 -0
- package/claw/node_modules/@babel/runtime/helpers/inherits.js +14 -0
- package/claw/node_modules/@babel/runtime/helpers/inheritsLoose.js +5 -0
- package/claw/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/instanceof.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/interopRequireDefault.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/isNativeFunction.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/iterableToArray.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +28 -0
- package/claw/node_modules/@babel/runtime/helpers/jsx.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/maybeArrayLike.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/newArrowCheck.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/nonIterableRest.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/nonIterableSpread.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/nullishReceiverError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/objectSpread.js +14 -0
- package/claw/node_modules/@babel/runtime/helpers/objectSpread2.js +23 -0
- package/claw/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +13 -0
- package/claw/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/readOnlyError.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/regenerator.js +89 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsync.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +33 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorDefine.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorKeys.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +77 -0
- package/claw/node_modules/@babel/runtime/helpers/regeneratorValues.js +19 -0
- package/claw/node_modules/@babel/runtime/helpers/set.js +22 -0
- package/claw/node_modules/@babel/runtime/helpers/setFunctionName.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/setPrototypeOf.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/slicedToArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/superPropBase.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/superPropGet.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/superPropSet.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/tdz.js +4 -0
- package/claw/node_modules/@babel/runtime/helpers/temporalRef.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/temporalUndefined.js +2 -0
- package/claw/node_modules/@babel/runtime/helpers/toArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/toConsumableArray.js +8 -0
- package/claw/node_modules/@babel/runtime/helpers/toPrimitive.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/toPropertyKey.js +7 -0
- package/claw/node_modules/@babel/runtime/helpers/toSetter.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +6 -0
- package/claw/node_modules/@babel/runtime/helpers/typeof.js +10 -0
- package/claw/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +9 -0
- package/claw/node_modules/@babel/runtime/helpers/using.js +12 -0
- package/claw/node_modules/@babel/runtime/helpers/usingCtx.js +59 -0
- package/claw/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +56 -0
- package/claw/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +27 -0
- package/claw/node_modules/@babel/runtime/helpers/wrapRegExp.js +52 -0
- package/claw/node_modules/@babel/runtime/helpers/writeOnlyError.js +4 -0
- package/claw/node_modules/@babel/runtime/package.json +1107 -0
- package/claw/node_modules/@babel/runtime/regenerator/index.js +15 -0
- package/claw/node_modules/assert/.github/FUNDING.yml +12 -0
- package/claw/node_modules/assert/.github/SECURITY.md +10 -0
- package/claw/node_modules/assert/.travis.yml +30 -0
- package/claw/node_modules/assert/.zuul.yml +13 -0
- package/claw/node_modules/assert/CHANGELOG.md +11 -0
- package/claw/node_modules/assert/LICENSE +18 -0
- package/claw/node_modules/assert/README.md +105 -0
- package/claw/node_modules/assert/assert.js +506 -0
- package/claw/node_modules/assert/package.json +32 -0
- package/claw/node_modules/assert/test.js +360 -0
- package/claw/node_modules/async-limiter/.eslintignore +2 -0
- package/claw/node_modules/async-limiter/.nycrc +10 -0
- package/claw/node_modules/async-limiter/.travis.yml +9 -0
- package/claw/node_modules/async-limiter/LICENSE +8 -0
- package/claw/node_modules/async-limiter/index.js +67 -0
- package/claw/node_modules/async-limiter/package.json +35 -0
- package/claw/node_modules/async-limiter/readme.md +132 -0
- package/claw/node_modules/available-typed-arrays/.eslintrc +5 -0
- package/claw/node_modules/available-typed-arrays/.github/FUNDING.yml +12 -0
- package/claw/node_modules/available-typed-arrays/.nycrc +9 -0
- package/claw/node_modules/available-typed-arrays/CHANGELOG.md +100 -0
- package/claw/node_modules/available-typed-arrays/LICENSE +21 -0
- package/claw/node_modules/available-typed-arrays/README.md +55 -0
- package/claw/node_modules/available-typed-arrays/index.d.ts +8 -0
- package/claw/node_modules/available-typed-arrays/index.js +17 -0
- package/claw/node_modules/available-typed-arrays/package.json +93 -0
- package/claw/node_modules/available-typed-arrays/test/index.js +18 -0
- package/claw/node_modules/available-typed-arrays/tsconfig.json +49 -0
- package/claw/node_modules/base-x/LICENSE.md +22 -0
- package/claw/node_modules/base-x/README.md +67 -0
- package/claw/node_modules/base-x/package.json +49 -0
- package/claw/node_modules/base-x/src/index.d.ts +10 -0
- package/claw/node_modules/base-x/src/index.js +123 -0
- package/claw/node_modules/bigi/CHANGELOG.md +85 -0
- package/claw/node_modules/bigi/LICENSE.md +30 -0
- package/claw/node_modules/bigi/README.md +14 -0
- package/claw/node_modules/bigi/lib/bigi.js +1509 -0
- package/claw/node_modules/bigi/lib/convert.js +91 -0
- package/claw/node_modules/bigi/lib/index.js +6 -0
- package/claw/node_modules/bigi/package.json +55 -0
- package/claw/node_modules/bignumber.js/CHANGELOG.md +222 -0
- package/claw/node_modules/bignumber.js/LICENCE +23 -0
- package/claw/node_modules/bignumber.js/README.md +266 -0
- package/claw/node_modules/bignumber.js/bignumber.d.ts +1797 -0
- package/claw/node_modules/bignumber.js/bignumber.js +2814 -0
- package/claw/node_modules/bignumber.js/bignumber.js.map +1 -0
- package/claw/node_modules/bignumber.js/bignumber.min.js +3 -0
- package/claw/node_modules/bignumber.js/bignumber.mjs +2793 -0
- package/claw/node_modules/bignumber.js/bower.json +36 -0
- package/claw/node_modules/bignumber.js/doc/API.html +2118 -0
- package/claw/node_modules/bignumber.js/package.json +39 -0
- package/claw/node_modules/bs58/CHANGELOG.md +61 -0
- package/claw/node_modules/bs58/README.md +71 -0
- package/claw/node_modules/bs58/index.js +4 -0
- package/claw/node_modules/bs58/package.json +37 -0
- package/claw/node_modules/btsdex/.babelrc +17 -0
- package/claw/node_modules/btsdex/.github/workflows/check-style.yml +16 -0
- package/claw/node_modules/btsdex/LICENSE +21 -0
- package/claw/node_modules/btsdex/README.md +467 -0
- package/claw/node_modules/btsdex/cli.js +165 -0
- package/claw/node_modules/btsdex/lib/account.js +60 -0
- package/claw/node_modules/btsdex/lib/asset.js +78 -0
- package/claw/node_modules/btsdex/lib/bitshares.js +363 -0
- package/claw/node_modules/btsdex/lib/event.js +137 -0
- package/claw/node_modules/btsdex/lib/fees.js +34 -0
- package/claw/node_modules/btsdex/lib/index.js +3 -0
- package/claw/node_modules/btsdex/lib/transaction/TransactionBuilder.js +797 -0
- package/claw/node_modules/btsdex/lib/transaction/index.js +64 -0
- package/claw/node_modules/btsdex/package.json +54 -0
- package/claw/node_modules/btsdex/yarn-error.log +3483 -0
- package/claw/node_modules/btsdex-api/.babelrc +14 -0
- package/claw/node_modules/btsdex-api/README.md +3 -0
- package/claw/node_modules/btsdex-api/lib/apis.js +59 -0
- package/claw/node_modules/btsdex-api/lib/config.js +39 -0
- package/claw/node_modules/btsdex-api/lib/connection.js +188 -0
- package/claw/node_modules/btsdex-api/lib/index.js +86 -0
- package/claw/node_modules/btsdex-api/lib/logger.js +45 -0
- package/claw/node_modules/btsdex-api/lib/servers.js +30 -0
- package/claw/node_modules/btsdex-api/package.json +29 -0
- package/claw/node_modules/btsdex-ecc/.babelrc +13 -0
- package/claw/node_modules/btsdex-ecc/lib/BrainKey.js +15 -0
- package/claw/node_modules/btsdex-ecc/lib/KeyUtils.js +205 -0
- package/claw/node_modules/btsdex-ecc/lib/PrivateKey.js +198 -0
- package/claw/node_modules/btsdex-ecc/lib/PublicKey.js +197 -0
- package/claw/node_modules/btsdex-ecc/lib/address.js +84 -0
- package/claw/node_modules/btsdex-ecc/lib/addressPrefix.js +15 -0
- package/claw/node_modules/btsdex-ecc/lib/aes.js +294 -0
- package/claw/node_modules/btsdex-ecc/lib/ecdsa.js +194 -0
- package/claw/node_modules/btsdex-ecc/lib/ecsignature.js +131 -0
- package/claw/node_modules/btsdex-ecc/lib/enforce_types.js +54 -0
- package/claw/node_modules/btsdex-ecc/lib/hash.js +60 -0
- package/claw/node_modules/btsdex-ecc/lib/index.js +84 -0
- package/claw/node_modules/btsdex-ecc/lib/signature.js +185 -0
- package/claw/node_modules/btsdex-ecc/package.json +37 -0
- package/claw/node_modules/btsdex-serializer/.babelrc +13 -0
- package/claw/node_modules/btsdex-serializer/lib/ChainTypes.js +154 -0
- package/claw/node_modules/btsdex-serializer/lib/FastParser.js +75 -0
- package/claw/node_modules/btsdex-serializer/lib/ObjectId.js +65 -0
- package/claw/node_modules/btsdex-serializer/lib/SerializerValidation.js +377 -0
- package/claw/node_modules/btsdex-serializer/lib/convert.js +54 -0
- package/claw/node_modules/btsdex-serializer/lib/error_with_cause.js +43 -0
- package/claw/node_modules/btsdex-serializer/lib/index.js +72 -0
- package/claw/node_modules/btsdex-serializer/lib/operations.js +1359 -0
- package/claw/node_modules/btsdex-serializer/lib/precision.js +108 -0
- package/claw/node_modules/btsdex-serializer/lib/serializer.js +205 -0
- package/claw/node_modules/btsdex-serializer/lib/template.js +23 -0
- package/claw/node_modules/btsdex-serializer/lib/types.js +1209 -0
- package/claw/node_modules/btsdex-serializer/package-lock.json +238 -0
- package/claw/node_modules/btsdex-serializer/package.json +32 -0
- package/claw/node_modules/bytebuffer/.travis.yml +5 -0
- package/claw/node_modules/bytebuffer/LICENSE +202 -0
- package/claw/node_modules/bytebuffer/README.md +64 -0
- package/claw/node_modules/bytebuffer/bower.json +12 -0
- package/claw/node_modules/bytebuffer/bytebuffer.png +0 -0
- package/claw/node_modules/bytebuffer/dist/README.md +47 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.js +3461 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js +88 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.js.gz +0 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-dataview.min.map +8 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer-node.js +3454 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer.js +3746 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js +93 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.js.gz +0 -0
- package/claw/node_modules/bytebuffer/dist/bytebuffer.min.map +8 -0
- package/claw/node_modules/bytebuffer/donate.png +0 -0
- package/claw/node_modules/bytebuffer/externs/bytebuffer.js +862 -0
- package/claw/node_modules/bytebuffer/externs/minimal-env.js +52 -0
- package/claw/node_modules/bytebuffer/index.js +1 -0
- package/claw/node_modules/bytebuffer/jsdoc.json +13 -0
- package/claw/node_modules/bytebuffer/package.json +51 -0
- package/claw/node_modules/bytebuffer/scripts/build.js +113 -0
- package/claw/node_modules/bytebuffer/src/bower.json +12 -0
- package/claw/node_modules/bytebuffer/src/bytebuffer.js +220 -0
- package/claw/node_modules/bytebuffer/src/encodings/base64.js +88 -0
- package/claw/node_modules/bytebuffer/src/encodings/binary.js +74 -0
- package/claw/node_modules/bytebuffer/src/encodings/debug.js +211 -0
- package/claw/node_modules/bytebuffer/src/encodings/hex.js +75 -0
- package/claw/node_modules/bytebuffer/src/encodings/impl/base64.js +3 -0
- package/claw/node_modules/bytebuffer/src/encodings/impl/binary.js +65 -0
- package/claw/node_modules/bytebuffer/src/encodings/impl/debug.js +3 -0
- package/claw/node_modules/bytebuffer/src/encodings/impl/hex.js +101 -0
- package/claw/node_modules/bytebuffer/src/encodings/impl/utf8.js +126 -0
- package/claw/node_modules/bytebuffer/src/encodings/utf8.js +71 -0
- package/claw/node_modules/bytebuffer/src/helpers.js +143 -0
- package/claw/node_modules/bytebuffer/src/macros.js +222 -0
- package/claw/node_modules/bytebuffer/src/methods/append.js +58 -0
- package/claw/node_modules/bytebuffer/src/methods/assert.js +12 -0
- package/claw/node_modules/bytebuffer/src/methods/capacity.js +8 -0
- package/claw/node_modules/bytebuffer/src/methods/clear.js +13 -0
- package/claw/node_modules/bytebuffer/src/methods/clone.js +34 -0
- package/claw/node_modules/bytebuffer/src/methods/compact.js +49 -0
- package/claw/node_modules/bytebuffer/src/methods/copy.js +73 -0
- package/claw/node_modules/bytebuffer/src/methods/ensureCapacity.js +15 -0
- package/claw/node_modules/bytebuffer/src/methods/fill.js +35 -0
- package/claw/node_modules/bytebuffer/src/methods/flip.js +11 -0
- package/claw/node_modules/bytebuffer/src/methods/mark.js +17 -0
- package/claw/node_modules/bytebuffer/src/methods/order.js +36 -0
- package/claw/node_modules/bytebuffer/src/methods/prepend.js +87 -0
- package/claw/node_modules/bytebuffer/src/methods/printDebug.js +16 -0
- package/claw/node_modules/bytebuffer/src/methods/remaining.js +9 -0
- package/claw/node_modules/bytebuffer/src/methods/reset.js +17 -0
- package/claw/node_modules/bytebuffer/src/methods/resize.js +39 -0
- package/claw/node_modules/bytebuffer/src/methods/reverse.js +25 -0
- package/claw/node_modules/bytebuffer/src/methods/skip.js +19 -0
- package/claw/node_modules/bytebuffer/src/methods/slice.js +18 -0
- package/claw/node_modules/bytebuffer/src/methods/static/accessor.js +13 -0
- package/claw/node_modules/bytebuffer/src/methods/static/allocate.js +14 -0
- package/claw/node_modules/bytebuffer/src/methods/static/concat.js +55 -0
- package/claw/node_modules/bytebuffer/src/methods/static/isByteBuffer.js +9 -0
- package/claw/node_modules/bytebuffer/src/methods/static/type.js +11 -0
- package/claw/node_modules/bytebuffer/src/methods/static/wrap.js +125 -0
- package/claw/node_modules/bytebuffer/src/methods/toBuffer.js +77 -0
- package/claw/node_modules/bytebuffer/src/methods/toString.js +43 -0
- package/claw/node_modules/bytebuffer/src/types/bytes/bitset.js +89 -0
- package/claw/node_modules/bytebuffer/src/types/bytes/bytes.js +34 -0
- package/claw/node_modules/bytebuffer/src/types/floats/float32.js +81 -0
- package/claw/node_modules/bytebuffer/src/types/floats/float64.js +77 -0
- package/claw/node_modules/bytebuffer/src/types/floats/ieee754.js +130 -0
- package/claw/node_modules/bytebuffer/src/types/ints/int16.js +167 -0
- package/claw/node_modules/bytebuffer/src/types/ints/int32.js +125 -0
- package/claw/node_modules/bytebuffer/src/types/ints/int64.js +194 -0
- package/claw/node_modules/bytebuffer/src/types/ints/int8.js +137 -0
- package/claw/node_modules/bytebuffer/src/types/strings/cstring.js +110 -0
- package/claw/node_modules/bytebuffer/src/types/strings/istring.js +81 -0
- package/claw/node_modules/bytebuffer/src/types/strings/utf8string.js +214 -0
- package/claw/node_modules/bytebuffer/src/types/strings/vstring.js +78 -0
- package/claw/node_modules/bytebuffer/src/types/varints/varint32.js +164 -0
- package/claw/node_modules/bytebuffer/src/types/varints/varint64.js +208 -0
- package/claw/node_modules/bytebuffer/src/wrap-node.js +50 -0
- package/claw/node_modules/bytebuffer/src/wrap.js +43 -0
- package/claw/node_modules/bytebuffer/tests/bench.js +99 -0
- package/claw/node_modules/bytebuffer/tests/suite.js +1005 -0
- package/claw/node_modules/call-bind/.eslintignore +1 -0
- package/claw/node_modules/call-bind/.eslintrc +16 -0
- package/claw/node_modules/call-bind/.github/FUNDING.yml +12 -0
- package/claw/node_modules/call-bind/.nycrc +9 -0
- package/claw/node_modules/call-bind/CHANGELOG.md +106 -0
- package/claw/node_modules/call-bind/LICENSE +21 -0
- package/claw/node_modules/call-bind/README.md +64 -0
- package/claw/node_modules/call-bind/callBound.js +15 -0
- package/claw/node_modules/call-bind/index.js +24 -0
- package/claw/node_modules/call-bind/package.json +93 -0
- package/claw/node_modules/call-bind/test/callBound.js +54 -0
- package/claw/node_modules/call-bind/test/index.js +74 -0
- package/claw/node_modules/call-bind-apply-helpers/.eslintrc +17 -0
- package/claw/node_modules/call-bind-apply-helpers/.github/FUNDING.yml +12 -0
- package/claw/node_modules/call-bind-apply-helpers/.nycrc +9 -0
- package/claw/node_modules/call-bind-apply-helpers/CHANGELOG.md +30 -0
- package/claw/node_modules/call-bind-apply-helpers/LICENSE +21 -0
- package/claw/node_modules/call-bind-apply-helpers/README.md +62 -0
- package/claw/node_modules/call-bind-apply-helpers/actualApply.d.ts +1 -0
- package/claw/node_modules/call-bind-apply-helpers/actualApply.js +10 -0
- package/claw/node_modules/call-bind-apply-helpers/applyBind.d.ts +19 -0
- package/claw/node_modules/call-bind-apply-helpers/applyBind.js +10 -0
- package/claw/node_modules/call-bind-apply-helpers/functionApply.d.ts +1 -0
- package/claw/node_modules/call-bind-apply-helpers/functionApply.js +4 -0
- package/claw/node_modules/call-bind-apply-helpers/functionCall.d.ts +1 -0
- package/claw/node_modules/call-bind-apply-helpers/functionCall.js +4 -0
- package/claw/node_modules/call-bind-apply-helpers/index.d.ts +64 -0
- package/claw/node_modules/call-bind-apply-helpers/index.js +15 -0
- package/claw/node_modules/call-bind-apply-helpers/package.json +85 -0
- package/claw/node_modules/call-bind-apply-helpers/reflectApply.d.ts +3 -0
- package/claw/node_modules/call-bind-apply-helpers/reflectApply.js +4 -0
- package/claw/node_modules/call-bind-apply-helpers/test/index.js +63 -0
- package/claw/node_modules/call-bind-apply-helpers/tsconfig.json +9 -0
- package/claw/node_modules/call-bound/.eslintrc +13 -0
- package/claw/node_modules/call-bound/.github/FUNDING.yml +12 -0
- package/claw/node_modules/call-bound/.nycrc +9 -0
- package/claw/node_modules/call-bound/CHANGELOG.md +42 -0
- package/claw/node_modules/call-bound/LICENSE +21 -0
- package/claw/node_modules/call-bound/README.md +53 -0
- package/claw/node_modules/call-bound/index.d.ts +94 -0
- package/claw/node_modules/call-bound/index.js +19 -0
- package/claw/node_modules/call-bound/package.json +99 -0
- package/claw/node_modules/call-bound/test/index.js +61 -0
- package/claw/node_modules/call-bound/tsconfig.json +10 -0
- package/claw/node_modules/cipher-base/.eslintrc +26 -0
- package/claw/node_modules/cipher-base/.github/FUNDING.yml +12 -0
- package/claw/node_modules/cipher-base/CHANGELOG.md +73 -0
- package/claw/node_modules/cipher-base/LICENSE +21 -0
- package/claw/node_modules/cipher-base/README.md +17 -0
- package/claw/node_modules/cipher-base/index.js +103 -0
- package/claw/node_modules/cipher-base/package.json +63 -0
- package/claw/node_modules/cipher-base/test/index.js +221 -0
- package/claw/node_modules/core-util-is/LICENSE +19 -0
- package/claw/node_modules/core-util-is/README.md +3 -0
- package/claw/node_modules/core-util-is/lib/util.js +107 -0
- package/claw/node_modules/core-util-is/package.json +38 -0
- package/claw/node_modules/create-hash/.travis.yml +17 -0
- package/claw/node_modules/create-hash/LICENSE +21 -0
- package/claw/node_modules/create-hash/README.md +19 -0
- package/claw/node_modules/create-hash/browser.js +30 -0
- package/claw/node_modules/create-hash/index.js +1 -0
- package/claw/node_modules/create-hash/md5.js +5 -0
- package/claw/node_modules/create-hash/package.json +39 -0
- package/claw/node_modules/create-hash/test.js +41 -0
- package/claw/node_modules/create-hmac/LICENSE +21 -0
- package/claw/node_modules/create-hmac/README.md +20 -0
- package/claw/node_modules/create-hmac/browser.js +62 -0
- package/claw/node_modules/create-hmac/index.js +1 -0
- package/claw/node_modules/create-hmac/legacy.js +46 -0
- package/claw/node_modules/create-hmac/package.json +45 -0
- package/claw/node_modules/crypto-js/CONTRIBUTING.md +28 -0
- package/claw/node_modules/crypto-js/LICENSE +24 -0
- package/claw/node_modules/crypto-js/README.md +241 -0
- package/claw/node_modules/crypto-js/aes.js +232 -0
- package/claw/node_modules/crypto-js/bower.json +35 -0
- package/claw/node_modules/crypto-js/cipher-core.js +880 -0
- package/claw/node_modules/crypto-js/core.js +760 -0
- package/claw/node_modules/crypto-js/crypto-js.js +5988 -0
- package/claw/node_modules/crypto-js/docs/QuickStartGuide.wiki +470 -0
- package/claw/node_modules/crypto-js/enc-base64.js +135 -0
- package/claw/node_modules/crypto-js/enc-hex.js +18 -0
- package/claw/node_modules/crypto-js/enc-latin1.js +18 -0
- package/claw/node_modules/crypto-js/enc-utf16.js +149 -0
- package/claw/node_modules/crypto-js/enc-utf8.js +18 -0
- package/claw/node_modules/crypto-js/evpkdf.js +132 -0
- package/claw/node_modules/crypto-js/format-hex.js +66 -0
- package/claw/node_modules/crypto-js/format-openssl.js +18 -0
- package/claw/node_modules/crypto-js/hmac-md5.js +18 -0
- package/claw/node_modules/crypto-js/hmac-ripemd160.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha1.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha224.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha256.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha3.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha384.js +18 -0
- package/claw/node_modules/crypto-js/hmac-sha512.js +18 -0
- package/claw/node_modules/crypto-js/hmac.js +143 -0
- package/claw/node_modules/crypto-js/index.js +18 -0
- package/claw/node_modules/crypto-js/lib-typedarrays.js +76 -0
- package/claw/node_modules/crypto-js/md5.js +268 -0
- package/claw/node_modules/crypto-js/mode-cfb.js +78 -0
- package/claw/node_modules/crypto-js/mode-ctr-gladman.js +116 -0
- package/claw/node_modules/crypto-js/mode-ctr.js +58 -0
- package/claw/node_modules/crypto-js/mode-ecb.js +40 -0
- package/claw/node_modules/crypto-js/mode-ofb.js +54 -0
- package/claw/node_modules/crypto-js/package.json +38 -0
- package/claw/node_modules/crypto-js/pad-ansix923.js +49 -0
- package/claw/node_modules/crypto-js/pad-iso10126.js +44 -0
- package/claw/node_modules/crypto-js/pad-iso97971.js +40 -0
- package/claw/node_modules/crypto-js/pad-nopadding.js +30 -0
- package/claw/node_modules/crypto-js/pad-pkcs7.js +18 -0
- package/claw/node_modules/crypto-js/pad-zeropadding.js +45 -0
- package/claw/node_modules/crypto-js/pbkdf2.js +145 -0
- package/claw/node_modules/crypto-js/rabbit-legacy.js +190 -0
- package/claw/node_modules/crypto-js/rabbit.js +192 -0
- package/claw/node_modules/crypto-js/rc4.js +139 -0
- package/claw/node_modules/crypto-js/ripemd160.js +267 -0
- package/claw/node_modules/crypto-js/sha1.js +150 -0
- package/claw/node_modules/crypto-js/sha224.js +80 -0
- package/claw/node_modules/crypto-js/sha256.js +199 -0
- package/claw/node_modules/crypto-js/sha3.js +323 -0
- package/claw/node_modules/crypto-js/sha384.js +83 -0
- package/claw/node_modules/crypto-js/sha512.js +323 -0
- package/claw/node_modules/crypto-js/tripledes.js +770 -0
- package/claw/node_modules/crypto-js/x64-core.js +304 -0
- package/claw/node_modules/deep-equal/.editorconfig +20 -0
- package/claw/node_modules/deep-equal/.eslintrc +28 -0
- package/claw/node_modules/deep-equal/.nycrc +17 -0
- package/claw/node_modules/deep-equal/.travis.yml +12 -0
- package/claw/node_modules/deep-equal/CHANGELOG.md +320 -0
- package/claw/node_modules/deep-equal/LICENSE +21 -0
- package/claw/node_modules/deep-equal/assert.js +3 -0
- package/claw/node_modules/deep-equal/example/cmp.js +11 -0
- package/claw/node_modules/deep-equal/index.js +112 -0
- package/claw/node_modules/deep-equal/lib/is_arguments.js +1 -0
- package/claw/node_modules/deep-equal/lib/keys.js +1 -0
- package/claw/node_modules/deep-equal/package.json +109 -0
- package/claw/node_modules/deep-equal/readme.markdown +73 -0
- package/claw/node_modules/deep-equal/test/_tape.js +42 -0
- package/claw/node_modules/deep-equal/test/cmp.js +1343 -0
- package/claw/node_modules/define-data-property/.eslintrc +24 -0
- package/claw/node_modules/define-data-property/.github/FUNDING.yml +12 -0
- package/claw/node_modules/define-data-property/.nycrc +13 -0
- package/claw/node_modules/define-data-property/CHANGELOG.md +70 -0
- package/claw/node_modules/define-data-property/LICENSE +21 -0
- package/claw/node_modules/define-data-property/README.md +67 -0
- package/claw/node_modules/define-data-property/index.d.ts +12 -0
- package/claw/node_modules/define-data-property/index.js +56 -0
- package/claw/node_modules/define-data-property/package.json +106 -0
- package/claw/node_modules/define-data-property/test/index.js +392 -0
- package/claw/node_modules/define-data-property/tsconfig.json +59 -0
- package/claw/node_modules/define-properties/.editorconfig +13 -0
- package/claw/node_modules/define-properties/.eslintrc +19 -0
- package/claw/node_modules/define-properties/.github/FUNDING.yml +12 -0
- package/claw/node_modules/define-properties/.nycrc +9 -0
- package/claw/node_modules/define-properties/CHANGELOG.md +91 -0
- package/claw/node_modules/define-properties/LICENSE +21 -0
- package/claw/node_modules/define-properties/README.md +84 -0
- package/claw/node_modules/define-properties/index.js +47 -0
- package/claw/node_modules/define-properties/package.json +88 -0
- package/claw/node_modules/dunder-proto/.eslintrc +5 -0
- package/claw/node_modules/dunder-proto/.github/FUNDING.yml +12 -0
- package/claw/node_modules/dunder-proto/.nycrc +13 -0
- package/claw/node_modules/dunder-proto/CHANGELOG.md +24 -0
- package/claw/node_modules/dunder-proto/LICENSE +21 -0
- package/claw/node_modules/dunder-proto/README.md +54 -0
- package/claw/node_modules/dunder-proto/get.d.ts +5 -0
- package/claw/node_modules/dunder-proto/get.js +30 -0
- package/claw/node_modules/dunder-proto/package.json +76 -0
- package/claw/node_modules/dunder-proto/set.d.ts +5 -0
- package/claw/node_modules/dunder-proto/set.js +35 -0
- package/claw/node_modules/dunder-proto/test/get.js +34 -0
- package/claw/node_modules/dunder-proto/test/index.js +4 -0
- package/claw/node_modules/dunder-proto/test/set.js +50 -0
- package/claw/node_modules/dunder-proto/tsconfig.json +9 -0
- package/claw/node_modules/ecurve/.min-wd +7 -0
- package/claw/node_modules/ecurve/.travis.yml +14 -0
- package/claw/node_modules/ecurve/CHANGELOG.md +154 -0
- package/claw/node_modules/ecurve/README.md +11 -0
- package/claw/node_modules/ecurve/lib/curve.js +77 -0
- package/claw/node_modules/ecurve/lib/curves.json +65 -0
- package/claw/node_modules/ecurve/lib/index.js +10 -0
- package/claw/node_modules/ecurve/lib/names.js +21 -0
- package/claw/node_modules/ecurve/lib/point.js +244 -0
- package/claw/node_modules/ecurve/package.json +32 -0
- package/claw/node_modules/es-define-property/.eslintrc +13 -0
- package/claw/node_modules/es-define-property/.github/FUNDING.yml +12 -0
- package/claw/node_modules/es-define-property/.nycrc +9 -0
- package/claw/node_modules/es-define-property/CHANGELOG.md +29 -0
- package/claw/node_modules/es-define-property/LICENSE +21 -0
- package/claw/node_modules/es-define-property/README.md +49 -0
- package/claw/node_modules/es-define-property/index.d.ts +3 -0
- package/claw/node_modules/es-define-property/index.js +14 -0
- package/claw/node_modules/es-define-property/package.json +81 -0
- package/claw/node_modules/es-define-property/test/index.js +56 -0
- package/claw/node_modules/es-define-property/tsconfig.json +10 -0
- package/claw/node_modules/es-errors/.eslintrc +5 -0
- package/claw/node_modules/es-errors/.github/FUNDING.yml +12 -0
- package/claw/node_modules/es-errors/CHANGELOG.md +40 -0
- package/claw/node_modules/es-errors/LICENSE +21 -0
- package/claw/node_modules/es-errors/README.md +55 -0
- package/claw/node_modules/es-errors/eval.d.ts +3 -0
- package/claw/node_modules/es-errors/eval.js +4 -0
- package/claw/node_modules/es-errors/index.d.ts +3 -0
- package/claw/node_modules/es-errors/index.js +4 -0
- package/claw/node_modules/es-errors/package.json +80 -0
- package/claw/node_modules/es-errors/range.d.ts +3 -0
- package/claw/node_modules/es-errors/range.js +4 -0
- package/claw/node_modules/es-errors/ref.d.ts +3 -0
- package/claw/node_modules/es-errors/ref.js +4 -0
- package/claw/node_modules/es-errors/syntax.d.ts +3 -0
- package/claw/node_modules/es-errors/syntax.js +4 -0
- package/claw/node_modules/es-errors/test/index.js +19 -0
- package/claw/node_modules/es-errors/tsconfig.json +49 -0
- package/claw/node_modules/es-errors/type.d.ts +3 -0
- package/claw/node_modules/es-errors/type.js +4 -0
- package/claw/node_modules/es-errors/uri.d.ts +3 -0
- package/claw/node_modules/es-errors/uri.js +4 -0
- package/claw/node_modules/es-object-atoms/.eslintrc +16 -0
- package/claw/node_modules/es-object-atoms/.github/FUNDING.yml +12 -0
- package/claw/node_modules/es-object-atoms/CHANGELOG.md +37 -0
- package/claw/node_modules/es-object-atoms/LICENSE +21 -0
- package/claw/node_modules/es-object-atoms/README.md +63 -0
- package/claw/node_modules/es-object-atoms/RequireObjectCoercible.d.ts +3 -0
- package/claw/node_modules/es-object-atoms/RequireObjectCoercible.js +11 -0
- package/claw/node_modules/es-object-atoms/ToObject.d.ts +7 -0
- package/claw/node_modules/es-object-atoms/ToObject.js +10 -0
- package/claw/node_modules/es-object-atoms/index.d.ts +3 -0
- package/claw/node_modules/es-object-atoms/index.js +4 -0
- package/claw/node_modules/es-object-atoms/isObject.d.ts +3 -0
- package/claw/node_modules/es-object-atoms/isObject.js +6 -0
- package/claw/node_modules/es-object-atoms/package.json +80 -0
- package/claw/node_modules/es-object-atoms/test/index.js +38 -0
- package/claw/node_modules/es-object-atoms/tsconfig.json +6 -0
- package/claw/node_modules/for-each/.editorconfig +20 -0
- package/claw/node_modules/for-each/.eslintrc +30 -0
- package/claw/node_modules/for-each/.github/FUNDING.yml +12 -0
- package/claw/node_modules/for-each/.github/SECURITY.md +3 -0
- package/claw/node_modules/for-each/.nycrc +8 -0
- package/claw/node_modules/for-each/CHANGELOG.md +107 -0
- package/claw/node_modules/for-each/LICENSE +22 -0
- package/claw/node_modules/for-each/README.md +39 -0
- package/claw/node_modules/for-each/index.d.ts +35 -0
- package/claw/node_modules/for-each/index.js +69 -0
- package/claw/node_modules/for-each/package.json +76 -0
- package/claw/node_modules/for-each/test/test.js +224 -0
- package/claw/node_modules/for-each/tsconfig.json +8 -0
- package/claw/node_modules/function-bind/.eslintrc +21 -0
- package/claw/node_modules/function-bind/.github/FUNDING.yml +12 -0
- package/claw/node_modules/function-bind/.github/SECURITY.md +3 -0
- package/claw/node_modules/function-bind/.nycrc +13 -0
- package/claw/node_modules/function-bind/CHANGELOG.md +136 -0
- package/claw/node_modules/function-bind/LICENSE +20 -0
- package/claw/node_modules/function-bind/README.md +46 -0
- package/claw/node_modules/function-bind/implementation.js +84 -0
- package/claw/node_modules/function-bind/index.js +5 -0
- package/claw/node_modules/function-bind/package.json +87 -0
- package/claw/node_modules/function-bind/test/.eslintrc +9 -0
- package/claw/node_modules/function-bind/test/index.js +252 -0
- package/claw/node_modules/functions-have-names/.editorconfig +20 -0
- package/claw/node_modules/functions-have-names/.eslintrc +19 -0
- package/claw/node_modules/functions-have-names/.github/FUNDING.yml +12 -0
- package/claw/node_modules/functions-have-names/.nycrc +9 -0
- package/claw/node_modules/functions-have-names/CHANGELOG.md +89 -0
- package/claw/node_modules/functions-have-names/LICENSE +21 -0
- package/claw/node_modules/functions-have-names/README.md +40 -0
- package/claw/node_modules/functions-have-names/index.js +31 -0
- package/claw/node_modules/functions-have-names/package.json +55 -0
- package/claw/node_modules/functions-have-names/test/index.js +65 -0
- package/claw/node_modules/get-intrinsic/.eslintrc +42 -0
- package/claw/node_modules/get-intrinsic/.github/FUNDING.yml +12 -0
- package/claw/node_modules/get-intrinsic/.nycrc +9 -0
- package/claw/node_modules/get-intrinsic/CHANGELOG.md +186 -0
- package/claw/node_modules/get-intrinsic/LICENSE +21 -0
- package/claw/node_modules/get-intrinsic/README.md +71 -0
- package/claw/node_modules/get-intrinsic/index.js +378 -0
- package/claw/node_modules/get-intrinsic/package.json +97 -0
- package/claw/node_modules/get-intrinsic/test/GetIntrinsic.js +274 -0
- package/claw/node_modules/get-proto/.eslintrc +10 -0
- package/claw/node_modules/get-proto/.github/FUNDING.yml +12 -0
- package/claw/node_modules/get-proto/.nycrc +9 -0
- package/claw/node_modules/get-proto/CHANGELOG.md +21 -0
- package/claw/node_modules/get-proto/LICENSE +21 -0
- package/claw/node_modules/get-proto/Object.getPrototypeOf.d.ts +5 -0
- package/claw/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/claw/node_modules/get-proto/README.md +50 -0
- package/claw/node_modules/get-proto/Reflect.getPrototypeOf.d.ts +3 -0
- package/claw/node_modules/get-proto/Reflect.getPrototypeOf.js +4 -0
- package/claw/node_modules/get-proto/index.d.ts +5 -0
- package/claw/node_modules/get-proto/index.js +27 -0
- package/claw/node_modules/get-proto/package.json +81 -0
- package/claw/node_modules/get-proto/test/index.js +68 -0
- package/claw/node_modules/get-proto/tsconfig.json +9 -0
- package/claw/node_modules/gopd/.eslintrc +16 -0
- package/claw/node_modules/gopd/.github/FUNDING.yml +12 -0
- package/claw/node_modules/gopd/CHANGELOG.md +45 -0
- package/claw/node_modules/gopd/LICENSE +21 -0
- package/claw/node_modules/gopd/README.md +40 -0
- package/claw/node_modules/gopd/gOPD.d.ts +1 -0
- package/claw/node_modules/gopd/gOPD.js +4 -0
- package/claw/node_modules/gopd/index.d.ts +5 -0
- package/claw/node_modules/gopd/index.js +15 -0
- package/claw/node_modules/gopd/package.json +77 -0
- package/claw/node_modules/gopd/test/index.js +36 -0
- package/claw/node_modules/gopd/tsconfig.json +9 -0
- package/claw/node_modules/has-property-descriptors/.eslintrc +13 -0
- package/claw/node_modules/has-property-descriptors/.github/FUNDING.yml +12 -0
- package/claw/node_modules/has-property-descriptors/.nycrc +9 -0
- package/claw/node_modules/has-property-descriptors/CHANGELOG.md +35 -0
- package/claw/node_modules/has-property-descriptors/LICENSE +21 -0
- package/claw/node_modules/has-property-descriptors/README.md +43 -0
- package/claw/node_modules/has-property-descriptors/index.js +22 -0
- package/claw/node_modules/has-property-descriptors/package.json +77 -0
- package/claw/node_modules/has-property-descriptors/test/index.js +57 -0
- package/claw/node_modules/has-symbols/.eslintrc +11 -0
- package/claw/node_modules/has-symbols/.github/FUNDING.yml +12 -0
- package/claw/node_modules/has-symbols/.nycrc +9 -0
- package/claw/node_modules/has-symbols/CHANGELOG.md +91 -0
- package/claw/node_modules/has-symbols/LICENSE +21 -0
- package/claw/node_modules/has-symbols/README.md +46 -0
- package/claw/node_modules/has-symbols/index.d.ts +3 -0
- package/claw/node_modules/has-symbols/index.js +14 -0
- package/claw/node_modules/has-symbols/package.json +111 -0
- package/claw/node_modules/has-symbols/shams.d.ts +3 -0
- package/claw/node_modules/has-symbols/shams.js +45 -0
- package/claw/node_modules/has-symbols/test/index.js +22 -0
- package/claw/node_modules/has-symbols/test/shams/core-js.js +29 -0
- package/claw/node_modules/has-symbols/test/shams/get-own-property-symbols.js +29 -0
- package/claw/node_modules/has-symbols/test/tests.js +58 -0
- package/claw/node_modules/has-symbols/tsconfig.json +10 -0
- package/claw/node_modules/has-tostringtag/.eslintrc +5 -0
- package/claw/node_modules/has-tostringtag/.github/FUNDING.yml +12 -0
- package/claw/node_modules/has-tostringtag/.nycrc +13 -0
- package/claw/node_modules/has-tostringtag/CHANGELOG.md +42 -0
- package/claw/node_modules/has-tostringtag/LICENSE +21 -0
- package/claw/node_modules/has-tostringtag/README.md +46 -0
- package/claw/node_modules/has-tostringtag/index.d.ts +3 -0
- package/claw/node_modules/has-tostringtag/index.js +8 -0
- package/claw/node_modules/has-tostringtag/package.json +108 -0
- package/claw/node_modules/has-tostringtag/shams.d.ts +3 -0
- package/claw/node_modules/has-tostringtag/shams.js +8 -0
- package/claw/node_modules/has-tostringtag/test/index.js +21 -0
- package/claw/node_modules/has-tostringtag/test/shams/core-js.js +31 -0
- package/claw/node_modules/has-tostringtag/test/shams/get-own-property-symbols.js +30 -0
- package/claw/node_modules/has-tostringtag/test/tests.js +15 -0
- package/claw/node_modules/has-tostringtag/tsconfig.json +49 -0
- package/claw/node_modules/hash-base/.github/FUNDING.yml +12 -0
- package/claw/node_modules/hash-base/CHANGELOG.md +166 -0
- package/claw/node_modules/hash-base/LICENSE +21 -0
- package/claw/node_modules/hash-base/README.md +48 -0
- package/claw/node_modules/hash-base/index.js +109 -0
- package/claw/node_modules/hash-base/package.json +64 -0
- package/claw/node_modules/hash-base/to-buffer.js +20 -0
- package/claw/node_modules/hasown/.eslintrc +5 -0
- package/claw/node_modules/hasown/.github/FUNDING.yml +12 -0
- package/claw/node_modules/hasown/.nycrc +13 -0
- package/claw/node_modules/hasown/CHANGELOG.md +40 -0
- package/claw/node_modules/hasown/LICENSE +21 -0
- package/claw/node_modules/hasown/README.md +40 -0
- package/claw/node_modules/hasown/index.d.ts +3 -0
- package/claw/node_modules/hasown/index.js +8 -0
- package/claw/node_modules/hasown/package.json +92 -0
- package/claw/node_modules/hasown/tsconfig.json +6 -0
- package/claw/node_modules/inherits/LICENSE +16 -0
- package/claw/node_modules/inherits/README.md +42 -0
- package/claw/node_modules/inherits/inherits.js +9 -0
- package/claw/node_modules/inherits/inherits_browser.js +27 -0
- package/claw/node_modules/inherits/package.json +29 -0
- package/claw/node_modules/is-arguments/.editorconfig +20 -0
- package/claw/node_modules/is-arguments/.eslintrc +9 -0
- package/claw/node_modules/is-arguments/.github/FUNDING.yml +12 -0
- package/claw/node_modules/is-arguments/.nycrc +9 -0
- package/claw/node_modules/is-arguments/CHANGELOG.md +201 -0
- package/claw/node_modules/is-arguments/LICENSE +20 -0
- package/claw/node_modules/is-arguments/README.md +47 -0
- package/claw/node_modules/is-arguments/index.d.ts +6 -0
- package/claw/node_modules/is-arguments/index.js +44 -0
- package/claw/node_modules/is-arguments/package.json +105 -0
- package/claw/node_modules/is-arguments/test/index.js +47 -0
- package/claw/node_modules/is-arguments/tsconfig.json +9 -0
- package/claw/node_modules/is-callable/.editorconfig +31 -0
- package/claw/node_modules/is-callable/.eslintrc +10 -0
- package/claw/node_modules/is-callable/.github/FUNDING.yml +12 -0
- package/claw/node_modules/is-callable/.nycrc +9 -0
- package/claw/node_modules/is-callable/CHANGELOG.md +158 -0
- package/claw/node_modules/is-callable/LICENSE +22 -0
- package/claw/node_modules/is-callable/README.md +83 -0
- package/claw/node_modules/is-callable/index.js +101 -0
- package/claw/node_modules/is-callable/package.json +106 -0
- package/claw/node_modules/is-callable/test/index.js +244 -0
- package/claw/node_modules/is-date-object/.editorconfig +20 -0
- package/claw/node_modules/is-date-object/.eslintrc +9 -0
- package/claw/node_modules/is-date-object/.github/FUNDING.yml +12 -0
- package/claw/node_modules/is-date-object/.nycrc +10 -0
- package/claw/node_modules/is-date-object/CHANGELOG.md +134 -0
- package/claw/node_modules/is-date-object/LICENSE +22 -0
- package/claw/node_modules/is-date-object/README.md +52 -0
- package/claw/node_modules/is-date-object/index.d.ts +3 -0
- package/claw/node_modules/is-date-object/index.js +27 -0
- package/claw/node_modules/is-date-object/package.json +99 -0
- package/claw/node_modules/is-date-object/test/index.js +38 -0
- package/claw/node_modules/is-date-object/tsconfig.json +6 -0
- package/claw/node_modules/is-regex/.editorconfig +23 -0
- package/claw/node_modules/is-regex/.eslintrc +10 -0
- package/claw/node_modules/is-regex/.nycrc +10 -0
- package/claw/node_modules/is-regex/CHANGELOG.md +233 -0
- package/claw/node_modules/is-regex/LICENSE +20 -0
- package/claw/node_modules/is-regex/README.md +52 -0
- package/claw/node_modules/is-regex/index.d.ts +3 -0
- package/claw/node_modules/is-regex/index.js +69 -0
- package/claw/node_modules/is-regex/package.json +104 -0
- package/claw/node_modules/is-regex/test/index.js +121 -0
- package/claw/node_modules/is-regex/tsconfig.json +9 -0
- package/claw/node_modules/is-typed-array/.editorconfig +20 -0
- package/claw/node_modules/is-typed-array/.eslintrc +13 -0
- package/claw/node_modules/is-typed-array/.github/FUNDING.yml +12 -0
- package/claw/node_modules/is-typed-array/.nycrc +9 -0
- package/claw/node_modules/is-typed-array/CHANGELOG.md +166 -0
- package/claw/node_modules/is-typed-array/LICENSE +22 -0
- package/claw/node_modules/is-typed-array/README.md +70 -0
- package/claw/node_modules/is-typed-array/index.d.ts +9 -0
- package/claw/node_modules/is-typed-array/index.js +8 -0
- package/claw/node_modules/is-typed-array/package.json +129 -0
- package/claw/node_modules/is-typed-array/test/index.js +111 -0
- package/claw/node_modules/is-typed-array/tsconfig.json +6 -0
- package/claw/node_modules/isarray/.travis.yml +4 -0
- package/claw/node_modules/isarray/Makefile +6 -0
- package/claw/node_modules/isarray/README.md +60 -0
- package/claw/node_modules/isarray/component.json +19 -0
- package/claw/node_modules/isarray/index.js +5 -0
- package/claw/node_modules/isarray/package.json +45 -0
- package/claw/node_modules/isarray/test.js +20 -0
- package/claw/node_modules/isomorphic-ws/LICENSE +21 -0
- package/claw/node_modules/isomorphic-ws/README.md +58 -0
- package/claw/node_modules/isomorphic-ws/browser.js +17 -0
- package/claw/node_modules/isomorphic-ws/index.d.ts +8 -0
- package/claw/node_modules/isomorphic-ws/node.js +3 -0
- package/claw/node_modules/isomorphic-ws/package.json +34 -0
- package/claw/node_modules/long/.travis.yml +5 -0
- package/claw/node_modules/long/LICENSE +202 -0
- package/claw/node_modules/long/README.md +513 -0
- package/claw/node_modules/long/bower.json +9 -0
- package/claw/node_modules/long/dist/README.md +16 -0
- package/claw/node_modules/long/dist/long.js +1209 -0
- package/claw/node_modules/long/dist/long.min.js +20 -0
- package/claw/node_modules/long/dist/long.min.js.gz +0 -0
- package/claw/node_modules/long/dist/long.min.map +8 -0
- package/claw/node_modules/long/doco/INDEX.md +6 -0
- package/claw/node_modules/long/doco/Long.md +473 -0
- package/claw/node_modules/long/donate.png +0 -0
- package/claw/node_modules/long/externs/long.js +416 -0
- package/claw/node_modules/long/index.js +1 -0
- package/claw/node_modules/long/jsdoc.json +13 -0
- package/claw/node_modules/long/long.png +0 -0
- package/claw/node_modules/long/package.json +33 -0
- package/claw/node_modules/long/scripts/build.js +28 -0
- package/claw/node_modules/long/src/bower.json +9 -0
- package/claw/node_modules/long/src/long.js +1172 -0
- package/claw/node_modules/long/src/wrap.js +38 -0
- package/claw/node_modules/long/tests/goog.math.long.js +807 -0
- package/claw/node_modules/long/tests/suite.js +195 -0
- package/claw/node_modules/lzma/.travis.yml +9 -0
- package/claw/node_modules/lzma/LICENSE +20 -0
- package/claw/node_modules/lzma/THANKS +7 -0
- package/claw/node_modules/lzma/bin/lzma.js +362 -0
- package/claw/node_modules/lzma/index.js +19 -0
- package/claw/node_modules/lzma/package.json +30 -0
- package/claw/node_modules/lzma/readme.md +149 -0
- package/claw/node_modules/lzma/src/lzma-c-min.js +1 -0
- package/claw/node_modules/lzma/src/lzma-c.js +2021 -0
- package/claw/node_modules/lzma/src/lzma-d-min.js +1 -0
- package/claw/node_modules/lzma/src/lzma-d.js +878 -0
- package/claw/node_modules/lzma/src/lzma-min.js +2 -0
- package/claw/node_modules/lzma/src/lzma.js +153 -0
- package/claw/node_modules/lzma/src/lzma_worker-min.js +2 -0
- package/claw/node_modules/lzma/src/lzma_worker.js +2668 -0
- package/claw/node_modules/math-intrinsics/.eslintrc +16 -0
- package/claw/node_modules/math-intrinsics/.github/FUNDING.yml +12 -0
- package/claw/node_modules/math-intrinsics/CHANGELOG.md +24 -0
- package/claw/node_modules/math-intrinsics/LICENSE +21 -0
- package/claw/node_modules/math-intrinsics/README.md +50 -0
- package/claw/node_modules/math-intrinsics/abs.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/abs.js +4 -0
- package/claw/node_modules/math-intrinsics/constants/maxArrayLength.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/constants/maxArrayLength.js +4 -0
- package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/constants/maxSafeInteger.js +5 -0
- package/claw/node_modules/math-intrinsics/constants/maxValue.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/constants/maxValue.js +5 -0
- package/claw/node_modules/math-intrinsics/floor.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/floor.js +4 -0
- package/claw/node_modules/math-intrinsics/isFinite.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/isFinite.js +12 -0
- package/claw/node_modules/math-intrinsics/isInteger.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/isInteger.js +16 -0
- package/claw/node_modules/math-intrinsics/isNaN.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/isNaN.js +6 -0
- package/claw/node_modules/math-intrinsics/isNegativeZero.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/isNegativeZero.js +6 -0
- package/claw/node_modules/math-intrinsics/max.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/max.js +4 -0
- package/claw/node_modules/math-intrinsics/min.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/min.js +4 -0
- package/claw/node_modules/math-intrinsics/mod.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/mod.js +9 -0
- package/claw/node_modules/math-intrinsics/package.json +86 -0
- package/claw/node_modules/math-intrinsics/pow.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/pow.js +4 -0
- package/claw/node_modules/math-intrinsics/round.d.ts +1 -0
- package/claw/node_modules/math-intrinsics/round.js +4 -0
- package/claw/node_modules/math-intrinsics/sign.d.ts +3 -0
- package/claw/node_modules/math-intrinsics/sign.js +11 -0
- package/claw/node_modules/math-intrinsics/test/index.js +192 -0
- package/claw/node_modules/math-intrinsics/tsconfig.json +3 -0
- package/claw/node_modules/md5.js/LICENSE +21 -0
- package/claw/node_modules/md5.js/README.md +29 -0
- package/claw/node_modules/md5.js/index.js +146 -0
- package/claw/node_modules/md5.js/package.json +38 -0
- package/claw/node_modules/object-is/.eslintrc +5 -0
- package/claw/node_modules/object-is/.nycrc +9 -0
- package/claw/node_modules/object-is/CHANGELOG.md +175 -0
- package/claw/node_modules/object-is/LICENSE +20 -0
- package/claw/node_modules/object-is/README.md +60 -0
- package/claw/node_modules/object-is/auto.js +3 -0
- package/claw/node_modules/object-is/implementation.js +19 -0
- package/claw/node_modules/object-is/index.js +18 -0
- package/claw/node_modules/object-is/package.json +96 -0
- package/claw/node_modules/object-is/polyfill.js +7 -0
- package/claw/node_modules/object-is/shim.js +14 -0
- package/claw/node_modules/object-is/test/implementation.js +12 -0
- package/claw/node_modules/object-is/test/index.js +12 -0
- package/claw/node_modules/object-is/test/shimmed.js +28 -0
- package/claw/node_modules/object-is/test/tests.js +57 -0
- package/claw/node_modules/object-keys/.editorconfig +13 -0
- package/claw/node_modules/object-keys/.eslintrc +17 -0
- package/claw/node_modules/object-keys/.travis.yml +277 -0
- package/claw/node_modules/object-keys/CHANGELOG.md +232 -0
- package/claw/node_modules/object-keys/LICENSE +21 -0
- package/claw/node_modules/object-keys/README.md +76 -0
- package/claw/node_modules/object-keys/implementation.js +122 -0
- package/claw/node_modules/object-keys/index.js +32 -0
- package/claw/node_modules/object-keys/isArguments.js +17 -0
- package/claw/node_modules/object-keys/package.json +88 -0
- package/claw/node_modules/object-keys/test/index.js +5 -0
- package/claw/node_modules/object.assign/.editorconfig +20 -0
- package/claw/node_modules/object.assign/.eslintrc +28 -0
- package/claw/node_modules/object.assign/.github/FUNDING.yml +12 -0
- package/claw/node_modules/object.assign/.nycrc +9 -0
- package/claw/node_modules/object.assign/CHANGELOG.md +246 -0
- package/claw/node_modules/object.assign/LICENSE +21 -0
- package/claw/node_modules/object.assign/README.md +136 -0
- package/claw/node_modules/object.assign/auto.js +3 -0
- package/claw/node_modules/object.assign/dist/browser.js +1304 -0
- package/claw/node_modules/object.assign/hasSymbols.js +43 -0
- package/claw/node_modules/object.assign/implementation.js +46 -0
- package/claw/node_modules/object.assign/index.js +22 -0
- package/claw/node_modules/object.assign/package.json +96 -0
- package/claw/node_modules/object.assign/polyfill.js +55 -0
- package/claw/node_modules/object.assign/shim.js +14 -0
- package/claw/node_modules/object.assign/test/implementation.js +19 -0
- package/claw/node_modules/object.assign/test/index.js +17 -0
- package/claw/node_modules/object.assign/test/native.js +49 -0
- package/claw/node_modules/object.assign/test/ses-compat.js +12 -0
- package/claw/node_modules/object.assign/test/shimmed.js +52 -0
- package/claw/node_modules/object.assign/test/tests.js +232 -0
- package/claw/node_modules/possible-typed-array-names/.eslintrc +5 -0
- package/claw/node_modules/possible-typed-array-names/.github/FUNDING.yml +12 -0
- package/claw/node_modules/possible-typed-array-names/CHANGELOG.md +29 -0
- package/claw/node_modules/possible-typed-array-names/LICENSE +21 -0
- package/claw/node_modules/possible-typed-array-names/README.md +50 -0
- package/claw/node_modules/possible-typed-array-names/index.d.ts +16 -0
- package/claw/node_modules/possible-typed-array-names/index.js +17 -0
- package/claw/node_modules/possible-typed-array-names/package.json +84 -0
- package/claw/node_modules/possible-typed-array-names/test/index.js +19 -0
- package/claw/node_modules/possible-typed-array-names/tsconfig.json +9 -0
- package/claw/node_modules/process-nextick-args/index.js +45 -0
- package/claw/node_modules/process-nextick-args/license.md +19 -0
- package/claw/node_modules/process-nextick-args/package.json +25 -0
- package/claw/node_modules/process-nextick-args/readme.md +18 -0
- package/claw/node_modules/readable-stream/.travis.yml +34 -0
- package/claw/node_modules/readable-stream/CONTRIBUTING.md +38 -0
- package/claw/node_modules/readable-stream/GOVERNANCE.md +136 -0
- package/claw/node_modules/readable-stream/LICENSE +47 -0
- package/claw/node_modules/readable-stream/README.md +58 -0
- package/claw/node_modules/readable-stream/doc/wg-meetings/2015-01-30.md +60 -0
- package/claw/node_modules/readable-stream/duplex-browser.js +1 -0
- package/claw/node_modules/readable-stream/duplex.js +1 -0
- package/claw/node_modules/readable-stream/lib/_stream_duplex.js +131 -0
- package/claw/node_modules/readable-stream/lib/_stream_passthrough.js +47 -0
- package/claw/node_modules/readable-stream/lib/_stream_readable.js +1019 -0
- package/claw/node_modules/readable-stream/lib/_stream_transform.js +214 -0
- package/claw/node_modules/readable-stream/lib/_stream_writable.js +685 -0
- package/claw/node_modules/readable-stream/lib/internal/streams/BufferList.js +78 -0
- package/claw/node_modules/readable-stream/lib/internal/streams/destroy.js +84 -0
- package/claw/node_modules/readable-stream/lib/internal/streams/stream-browser.js +1 -0
- package/claw/node_modules/readable-stream/lib/internal/streams/stream.js +1 -0
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/LICENSE +21 -0
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/README.md +584 -0
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.d.ts +187 -0
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/index.js +62 -0
- package/claw/node_modules/readable-stream/node_modules/safe-buffer/package.json +37 -0
- package/claw/node_modules/readable-stream/package.json +52 -0
- package/claw/node_modules/readable-stream/passthrough.js +1 -0
- package/claw/node_modules/readable-stream/readable-browser.js +7 -0
- package/claw/node_modules/readable-stream/readable.js +19 -0
- package/claw/node_modules/readable-stream/transform.js +1 -0
- package/claw/node_modules/readable-stream/writable-browser.js +1 -0
- package/claw/node_modules/readable-stream/writable.js +8 -0
- package/claw/node_modules/regexp.prototype.flags/.editorconfig +13 -0
- package/claw/node_modules/regexp.prototype.flags/.eslintrc +20 -0
- package/claw/node_modules/regexp.prototype.flags/.nycrc +9 -0
- package/claw/node_modules/regexp.prototype.flags/CHANGELOG.md +249 -0
- package/claw/node_modules/regexp.prototype.flags/LICENSE +22 -0
- package/claw/node_modules/regexp.prototype.flags/README.md +55 -0
- package/claw/node_modules/regexp.prototype.flags/auto.js +3 -0
- package/claw/node_modules/regexp.prototype.flags/implementation.js +39 -0
- package/claw/node_modules/regexp.prototype.flags/index.js +18 -0
- package/claw/node_modules/regexp.prototype.flags/package.json +105 -0
- package/claw/node_modules/regexp.prototype.flags/polyfill.js +39 -0
- package/claw/node_modules/regexp.prototype.flags/shim.js +26 -0
- package/claw/node_modules/regexp.prototype.flags/test/builtin.js +46 -0
- package/claw/node_modules/regexp.prototype.flags/test/implementation.js +20 -0
- package/claw/node_modules/regexp.prototype.flags/test/index.js +17 -0
- package/claw/node_modules/regexp.prototype.flags/test/shimmed.js +48 -0
- package/claw/node_modules/regexp.prototype.flags/test/tests.js +143 -0
- package/claw/node_modules/ripemd160/.github/FUNDING.yml +12 -0
- package/claw/node_modules/ripemd160/CHANGELOG.md +109 -0
- package/claw/node_modules/ripemd160/LICENSE +21 -0
- package/claw/node_modules/ripemd160/README.md +27 -0
- package/claw/node_modules/ripemd160/index.js +167 -0
- package/claw/node_modules/ripemd160/package.json +64 -0
- package/claw/node_modules/safe-buffer/LICENSE +21 -0
- package/claw/node_modules/safe-buffer/README.md +584 -0
- package/claw/node_modules/safe-buffer/index.d.ts +187 -0
- package/claw/node_modules/safe-buffer/index.js +65 -0
- package/claw/node_modules/safe-buffer/package.json +51 -0
- package/claw/node_modules/secure-random/CHANGELOG.md +51 -0
- package/claw/node_modules/secure-random/Makefile +8 -0
- package/claw/node_modules/secure-random/README.md +133 -0
- package/claw/node_modules/secure-random/lib/secure-random.js +83 -0
- package/claw/node_modules/secure-random/package.json +45 -0
- package/claw/node_modules/set-function-length/.eslintrc +27 -0
- package/claw/node_modules/set-function-length/.github/FUNDING.yml +12 -0
- package/claw/node_modules/set-function-length/.nycrc +13 -0
- package/claw/node_modules/set-function-length/CHANGELOG.md +70 -0
- package/claw/node_modules/set-function-length/LICENSE +21 -0
- package/claw/node_modules/set-function-length/README.md +56 -0
- package/claw/node_modules/set-function-length/env.d.ts +9 -0
- package/claw/node_modules/set-function-length/env.js +25 -0
- package/claw/node_modules/set-function-length/index.d.ts +7 -0
- package/claw/node_modules/set-function-length/index.js +42 -0
- package/claw/node_modules/set-function-length/package.json +102 -0
- package/claw/node_modules/set-function-length/tsconfig.json +9 -0
- package/claw/node_modules/set-function-name/.eslintrc +21 -0
- package/claw/node_modules/set-function-name/.github/FUNDING.yml +12 -0
- package/claw/node_modules/set-function-name/CHANGELOG.md +48 -0
- package/claw/node_modules/set-function-name/LICENSE +21 -0
- package/claw/node_modules/set-function-name/README.md +61 -0
- package/claw/node_modules/set-function-name/index.d.ts +5 -0
- package/claw/node_modules/set-function-name/index.js +23 -0
- package/claw/node_modules/set-function-name/package.json +99 -0
- package/claw/node_modules/set-function-name/tsconfig.json +59 -0
- package/claw/node_modules/sha.js/.eslintrc +76 -0
- package/claw/node_modules/sha.js/CHANGELOG.md +423 -0
- package/claw/node_modules/sha.js/LICENSE +49 -0
- package/claw/node_modules/sha.js/README.md +44 -0
- package/claw/node_modules/sha.js/bin.js +44 -0
- package/claw/node_modules/sha.js/hash.js +84 -0
- package/claw/node_modules/sha.js/index.js +19 -0
- package/claw/node_modules/sha.js/package.json +58 -0
- package/claw/node_modules/sha.js/sha.js +104 -0
- package/claw/node_modules/sha.js/sha1.js +109 -0
- package/claw/node_modules/sha.js/sha224.js +55 -0
- package/claw/node_modules/sha.js/sha256.js +189 -0
- package/claw/node_modules/sha.js/sha384.js +59 -0
- package/claw/node_modules/sha.js/sha512.js +382 -0
- package/claw/node_modules/sha.js/test/hash.js +80 -0
- package/claw/node_modules/sha.js/test/test.js +138 -0
- package/claw/node_modules/sha.js/test/vectors.js +72 -0
- package/claw/node_modules/string_decoder/.travis.yml +50 -0
- package/claw/node_modules/string_decoder/LICENSE +48 -0
- package/claw/node_modules/string_decoder/README.md +47 -0
- package/claw/node_modules/string_decoder/lib/string_decoder.js +296 -0
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/LICENSE +21 -0
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/README.md +584 -0
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.d.ts +187 -0
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/index.js +62 -0
- package/claw/node_modules/string_decoder/node_modules/safe-buffer/package.json +37 -0
- package/claw/node_modules/string_decoder/package.json +31 -0
- package/claw/node_modules/to-buffer/.github/FUNDING.yml +12 -0
- package/claw/node_modules/to-buffer/CHANGELOG.md +81 -0
- package/claw/node_modules/to-buffer/LICENSE +21 -0
- package/claw/node_modules/to-buffer/README.md +44 -0
- package/claw/node_modules/to-buffer/index.js +109 -0
- package/claw/node_modules/to-buffer/node_modules/isarray/LICENSE +21 -0
- package/claw/node_modules/to-buffer/node_modules/isarray/README.md +38 -0
- package/claw/node_modules/to-buffer/node_modules/isarray/index.js +5 -0
- package/claw/node_modules/to-buffer/node_modules/isarray/package.json +48 -0
- package/claw/node_modules/to-buffer/package.json +62 -0
- package/claw/node_modules/typed-array-buffer/.eslintrc +13 -0
- package/claw/node_modules/typed-array-buffer/.github/FUNDING.yml +12 -0
- package/claw/node_modules/typed-array-buffer/.nycrc +13 -0
- package/claw/node_modules/typed-array-buffer/CHANGELOG.md +50 -0
- package/claw/node_modules/typed-array-buffer/LICENSE +21 -0
- package/claw/node_modules/typed-array-buffer/README.md +42 -0
- package/claw/node_modules/typed-array-buffer/index.d.ts +9 -0
- package/claw/node_modules/typed-array-buffer/index.js +19 -0
- package/claw/node_modules/typed-array-buffer/package.json +82 -0
- package/claw/node_modules/typed-array-buffer/test/index.js +23 -0
- package/claw/node_modules/typed-array-buffer/tsconfig.json +9 -0
- package/claw/node_modules/util/LICENSE +18 -0
- package/claw/node_modules/util/README.md +15 -0
- package/claw/node_modules/util/node_modules/inherits/LICENSE +16 -0
- package/claw/node_modules/util/node_modules/inherits/README.md +42 -0
- package/claw/node_modules/util/node_modules/inherits/inherits.js +7 -0
- package/claw/node_modules/util/node_modules/inherits/inherits_browser.js +23 -0
- package/claw/node_modules/util/node_modules/inherits/package.json +29 -0
- package/claw/node_modules/util/package.json +35 -0
- package/claw/node_modules/util/support/isBuffer.js +3 -0
- package/claw/node_modules/util/support/isBufferBrowser.js +6 -0
- package/claw/node_modules/util/util.js +586 -0
- package/claw/node_modules/util-deprecate/History.md +16 -0
- package/claw/node_modules/util-deprecate/LICENSE +24 -0
- package/claw/node_modules/util-deprecate/README.md +53 -0
- package/claw/node_modules/util-deprecate/browser.js +67 -0
- package/claw/node_modules/util-deprecate/node.js +6 -0
- package/claw/node_modules/util-deprecate/package.json +27 -0
- package/claw/node_modules/which-typed-array/.editorconfig +20 -0
- package/claw/node_modules/which-typed-array/.eslintrc +10 -0
- package/claw/node_modules/which-typed-array/.github/FUNDING.yml +12 -0
- package/claw/node_modules/which-typed-array/.nycrc +13 -0
- package/claw/node_modules/which-typed-array/CHANGELOG.md +269 -0
- package/claw/node_modules/which-typed-array/LICENSE +22 -0
- package/claw/node_modules/which-typed-array/README.md +70 -0
- package/claw/node_modules/which-typed-array/index.d.ts +66 -0
- package/claw/node_modules/which-typed-array/index.js +122 -0
- package/claw/node_modules/which-typed-array/package.json +130 -0
- package/claw/node_modules/which-typed-array/test/index.js +105 -0
- package/claw/node_modules/which-typed-array/tsconfig.json +9 -0
- package/claw/node_modules/ws/LICENSE +21 -0
- package/claw/node_modules/ws/README.md +449 -0
- package/claw/node_modules/ws/browser.js +8 -0
- package/claw/node_modules/ws/index.js +9 -0
- package/claw/node_modules/ws/lib/buffer-util.js +144 -0
- package/claw/node_modules/ws/lib/constants.js +10 -0
- package/claw/node_modules/ws/lib/event-target.js +170 -0
- package/claw/node_modules/ws/lib/extension.js +222 -0
- package/claw/node_modules/ws/lib/permessage-deflate.js +502 -0
- package/claw/node_modules/ws/lib/receiver.js +492 -0
- package/claw/node_modules/ws/lib/sender.js +358 -0
- package/claw/node_modules/ws/lib/validation.js +30 -0
- package/claw/node_modules/ws/lib/websocket-server.js +415 -0
- package/claw/node_modules/ws/lib/websocket.js +895 -0
- package/claw/node_modules/ws/package.json +45 -0
- package/claw/openclaw.plugin.json +13 -0
- package/claw/package.json +58 -0
- package/claw/runtimes/openclaw-plugin/index.ts +38 -0
- package/claw/runtimes/openclaw-plugin/openclaw.plugin.json +14 -0
- package/claw/runtimes/openclaw-plugin/package.json +7 -0
- package/claw/runtimes/openclaw-plugin/plugin-entry.d.ts +10 -0
- package/claw/runtimes/openclaw-plugin/skills/bitshares-claw/SKILL.md +20 -0
- package/claw/scripts/claw_bridge.ts +139 -0
- package/claw/scripts/claw_mcp_server.ts +133 -0
- package/claw/scripts/claw_skill_md.ts +92 -0
- package/claw/scripts/honest_assets_report.ts +405 -0
- package/claw/scripts/memu_mcp_server.ts +438 -0
- package/claw/tests/package.json +3 -0
- package/claw/tests/test_claw_bridge.ts +542 -0
- package/claw/tests/test_claw_catalog_and_credentials.ts +152 -0
- package/claw/tests/test_claw_chain_layer.ts +719 -0
- package/claw/tests/test_claw_data_flow.ts +515 -0
- package/claw/tests/test_claw_domain_logic.ts +465 -0
- package/claw/tests/test_claw_manifest_and_matrix.ts +202 -0
- package/claw/tests/test_claw_mcp_transport.ts +238 -0
- package/claw/tests/test_claw_regressions.ts +580 -0
- package/claw/tests/test_claw_skill_generation.ts +103 -0
- package/claw/tests/test_claw_state_store.ts +44 -0
- package/claw/tests/test_dexbot_profiles.ts +572 -0
- package/claw/tests/test_memu_bridge.ts +189 -0
- package/claw/tests/test_nullclaw_tmp_integration.ts +58 -0
- package/claw/tests/test_position_health.ts +419 -0
- package/claw/tests/test_position_manager.ts +427 -0
- package/claw/tests/test_position_manager_watch_health.ts +104 -0
- package/claw/tests/test_short_mpa_strategy.ts +229 -0
- package/claw/tsconfig.json +35 -0
- package/dist/analysis/chart_utils.d.ts.map +1 -1
- package/dist/analysis/chart_utils.js +9 -18
- package/dist/analysis/chart_utils.js.map +1 -1
- package/dist/analysis/math_utils.d.ts.map +1 -1
- package/dist/analysis/math_utils.js +6 -16
- package/dist/analysis/math_utils.js.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.d.ts.map +1 -1
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js +31 -38
- package/dist/analysis/tradingview/tradingview_uplot_chart_generator.js.map +1 -1
- package/dist/analysis/trend_detection/hurst_analyzer.js +7 -10
- package/dist/analysis/trend_detection/hurst_analyzer.js.map +1 -1
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js +10 -14
- package/dist/analysis/trend_detection/kalman_trend_analyzer.js.map +1 -1
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js +10 -15
- package/dist/analysis/trend_detection/kalman_velocity_smoothing.js.map +1 -1
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js +7 -10
- package/dist/analysis/trend_detection/permutation_entropy_analyzer.js.map +1 -1
- package/dist/bot.d.ts.map +1 -1
- package/dist/bot.js +4 -12
- package/dist/bot.js.map +1 -1
- package/dist/credential-daemon.d.ts +1 -2
- package/dist/credential-daemon.d.ts.map +1 -1
- package/dist/credential-daemon.js +4 -124
- package/dist/credential-daemon.js.map +1 -1
- package/dist/dexbot.d.ts +0 -87
- package/dist/dexbot.d.ts.map +1 -1
- package/dist/dexbot.js +20 -23
- package/dist/dexbot.js.map +1 -1
- package/dist/market_adapter/ama_signal_runner.js +8 -9
- package/dist/market_adapter/ama_signal_runner.js.map +1 -1
- package/dist/market_adapter/candle_utils.js +1 -7
- package/dist/market_adapter/candle_utils.js.map +1 -1
- package/dist/market_adapter/core/asymmetric_bounds.js +1 -4
- package/dist/market_adapter/core/asymmetric_bounds.js.map +1 -1
- package/dist/market_adapter/core/config_normalizers.js +5 -9
- package/dist/market_adapter/core/config_normalizers.js.map +1 -1
- package/dist/market_adapter/core/kibana_candles.js +8 -15
- package/dist/market_adapter/core/kibana_candles.js.map +1 -1
- package/dist/market_adapter/core/kibana_client.js +7 -13
- package/dist/market_adapter/core/kibana_client.js.map +1 -1
- package/dist/market_adapter/core/kibana_market_candles.js +6 -12
- package/dist/market_adapter/core/kibana_market_candles.js.map +1 -1
- package/dist/market_adapter/core/market_adapter_service.js +92 -102
- package/dist/market_adapter/core/market_adapter_service.js.map +1 -1
- package/dist/market_adapter/core/strategies/ama.js +5 -10
- package/dist/market_adapter/core/strategies/ama.js.map +1 -1
- package/dist/market_adapter/core/strategies/ama_slope_model.js +21 -24
- package/dist/market_adapter/core/strategies/ama_slope_model.js.map +1 -1
- package/dist/market_adapter/core/strategies/atr/calculator.js +3 -5
- package/dist/market_adapter/core/strategies/atr/calculator.js.map +1 -1
- package/dist/market_adapter/core/strategies/collateral_manager.js +4 -6
- package/dist/market_adapter/core/strategies/collateral_manager.js.map +1 -1
- package/dist/market_adapter/core/strategies/regime_gate.js +15 -22
- package/dist/market_adapter/core/strategies/regime_gate.js.map +1 -1
- package/dist/market_adapter/index.d.ts +23 -23
- package/dist/market_adapter/index.d.ts.map +1 -1
- package/dist/market_adapter/index.js +24 -82
- package/dist/market_adapter/index.js.map +1 -1
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js +2 -1
- package/dist/market_adapter/inputs/fetch_cex_synthetic_data.js.map +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.d.ts.map +1 -1
- package/dist/market_adapter/inputs/fetch_lp_data.js +59 -98
- package/dist/market_adapter/inputs/fetch_lp_data.js.map +1 -1
- package/dist/market_adapter/inputs/kibana_source.js +11 -17
- package/dist/market_adapter/inputs/kibana_source.js.map +1 -1
- package/dist/market_adapter/interval_utils.js +1 -2
- package/dist/market_adapter/interval_utils.js.map +1 -1
- package/dist/market_adapter/log_format.js +1 -7
- package/dist/market_adapter/log_format.js.map +1 -1
- package/dist/market_adapter/lp_chart_core.js +20 -22
- package/dist/market_adapter/lp_chart_core.js.map +1 -1
- package/dist/market_adapter/lp_chart_runner.d.ts +1 -1
- package/dist/market_adapter/lp_chart_runner.d.ts.map +1 -1
- package/dist/market_adapter/lp_chart_runner.js +41 -57
- package/dist/market_adapter/lp_chart_runner.js.map +1 -1
- package/dist/market_adapter/lp_chart_strategy_loader.js +30 -34
- package/dist/market_adapter/lp_chart_strategy_loader.js.map +1 -1
- package/dist/market_adapter/market_adapter.d.ts +2 -2
- package/dist/market_adapter/market_adapter.d.ts.map +1 -1
- package/dist/market_adapter/market_adapter.js +157 -221
- package/dist/market_adapter/market_adapter.js.map +1 -1
- package/dist/market_adapter/merge_lp_data.js +17 -18
- package/dist/market_adapter/merge_lp_data.js.map +1 -1
- package/dist/market_adapter/test_helpers.js +3 -14
- package/dist/market_adapter/test_helpers.js.map +1 -1
- package/dist/market_adapter/utils/adapter_client.js +7 -16
- package/dist/market_adapter/utils/adapter_client.js.map +1 -1
- package/dist/market_adapter/utils/atomic_write.js +3 -5
- package/dist/market_adapter/utils/atomic_write.js.map +1 -1
- package/dist/market_adapter/utils/chain.d.ts.map +1 -1
- package/dist/market_adapter/utils/chain.js +9 -17
- package/dist/market_adapter/utils/chain.js.map +1 -1
- package/dist/market_adapter/utils/data_discovery.js +8 -10
- package/dist/market_adapter/utils/data_discovery.js.map +1 -1
- package/dist/market_adapter/utils/dynamic_grid_snapshot.d.ts.map +1 -1
- package/dist/market_adapter/utils/dynamic_grid_snapshot.js +11 -14
- package/dist/market_adapter/utils/dynamic_grid_snapshot.js.map +1 -1
- package/dist/market_adapter/utils/file_lock.js +14 -19
- package/dist/market_adapter/utils/file_lock.js.map +1 -1
- package/dist/market_adapter/utils/native_history.js +8 -14
- package/dist/market_adapter/utils/native_history.js.map +1 -1
- package/dist/market_adapter/utils/paths.js +3 -6
- package/dist/market_adapter/utils/paths.js.map +1 -1
- package/dist/modules/account_bots.d.ts +1 -1
- package/dist/modules/account_bots.d.ts.map +1 -1
- package/dist/modules/account_bots.js +90 -97
- package/dist/modules/account_bots.js.map +1 -1
- package/dist/modules/account_orders.d.ts +0 -9
- package/dist/modules/account_orders.d.ts.map +1 -1
- package/dist/modules/account_orders.js +26 -121
- package/dist/modules/account_orders.js.map +1 -1
- package/dist/modules/authority_resolver.js +12 -18
- package/dist/modules/authority_resolver.js.map +1 -1
- package/dist/modules/bitshares-native/chain_client.js +16 -21
- package/dist/modules/bitshares-native/chain_client.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.browser.js +12 -72
- package/dist/modules/bitshares-native/crypto/ecc.browser.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc.js +13 -40
- package/dist/modules/bitshares-native/crypto/ecc.js.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc_selector.d.ts.map +1 -1
- package/dist/modules/bitshares-native/crypto/ecc_selector.js +5 -6
- package/dist/modules/bitshares-native/crypto/ecc_selector.js.map +1 -1
- package/dist/modules/bitshares-native/index.d.ts +8 -8
- package/dist/modules/bitshares-native/index.d.ts.map +1 -1
- package/dist/modules/bitshares-native/index.js +11 -68
- package/dist/modules/bitshares-native/index.js.map +1 -1
- package/dist/modules/bitshares-native/lru_cache.js +3 -6
- package/dist/modules/bitshares-native/lru_cache.js.map +1 -1
- package/dist/modules/bitshares-native/resolvers.js +9 -11
- package/dist/modules/bitshares-native/resolvers.js.map +1 -1
- package/dist/modules/bitshares-native/serial/chain_constants.js +3 -28
- package/dist/modules/bitshares-native/serial/chain_constants.js.map +1 -1
- package/dist/modules/bitshares-native/serial/index.d.ts +4 -4
- package/dist/modules/bitshares-native/serial/index.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/index.js +5 -46
- package/dist/modules/bitshares-native/serial/index.js.map +1 -1
- package/dist/modules/bitshares-native/serial/operations.d.ts +98 -98
- package/dist/modules/bitshares-native/serial/operations.d.ts.map +1 -1
- package/dist/modules/bitshares-native/serial/operations.js +372 -473
- package/dist/modules/bitshares-native/serial/operations.js.map +1 -1
- package/dist/modules/bitshares-native/serial/serializer.js +3 -8
- package/dist/modules/bitshares-native/serial/serializer.js.map +1 -1
- package/dist/modules/bitshares-native/serial/types.js +9 -74
- package/dist/modules/bitshares-native/serial/types.js.map +1 -1
- package/dist/modules/bitshares-native/signing_client.d.ts.map +1 -1
- package/dist/modules/bitshares-native/signing_client.js +11 -48
- package/dist/modules/bitshares-native/signing_client.js.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.d.ts.map +1 -1
- package/dist/modules/bitshares-native/subscriptions.js +24 -27
- package/dist/modules/bitshares-native/subscriptions.js.map +1 -1
- package/dist/modules/bitshares-native/transport.d.ts.map +1 -1
- package/dist/modules/bitshares-native/transport.js +14 -26
- package/dist/modules/bitshares-native/transport.js.map +1 -1
- package/dist/modules/bitshares-native/tx/builder.js +29 -72
- package/dist/modules/bitshares-native/tx/builder.js.map +1 -1
- package/dist/modules/bitshares-native/tx/tx_cache.js +12 -21
- package/dist/modules/bitshares-native/tx/tx_cache.js.map +1 -1
- package/dist/modules/bitshares_client.d.ts +21 -0
- package/dist/modules/bitshares_client.d.ts.map +1 -1
- package/dist/modules/bitshares_client.js +32 -86
- package/dist/modules/bitshares_client.js.map +1 -1
- package/dist/modules/bot_settings.d.ts.map +1 -1
- package/dist/modules/bot_settings.js +30 -49
- package/dist/modules/bot_settings.js.map +1 -1
- package/dist/modules/bots_file_lock.d.ts.map +1 -1
- package/dist/modules/bots_file_lock.js +5 -13
- package/dist/modules/bots_file_lock.js.map +1 -1
- package/dist/modules/broadcast_failure.js +1 -3
- package/dist/modules/broadcast_failure.js.map +1 -1
- package/dist/modules/chain_keys.d.ts +4 -9
- package/dist/modules/chain_keys.d.ts.map +1 -1
- package/dist/modules/chain_keys.js +77 -182
- package/dist/modules/chain_keys.js.map +1 -1
- package/dist/modules/chain_orders.d.ts +2 -2
- package/dist/modules/chain_orders.d.ts.map +1 -1
- package/dist/modules/chain_orders.js +81 -144
- package/dist/modules/chain_orders.js.map +1 -1
- package/dist/modules/config.d.ts.map +1 -1
- package/dist/modules/config.js +23 -28
- package/dist/modules/config.js.map +1 -1
- package/dist/modules/constants.d.ts +2 -9
- package/dist/modules/constants.d.ts.map +1 -1
- package/dist/modules/constants.js +39 -74
- package/dist/modules/constants.js.map +1 -1
- package/dist/modules/cr_planner.js +15 -26
- package/dist/modules/cr_planner.js.map +1 -1
- package/dist/modules/credential_policy.d.ts +3 -6
- package/dist/modules/credential_policy.d.ts.map +1 -1
- package/dist/modules/credential_policy.js +62 -153
- package/dist/modules/credential_policy.js.map +1 -1
- package/dist/modules/credential_runtime.d.ts +1 -1
- package/dist/modules/credential_runtime.d.ts.map +1 -1
- package/dist/modules/credential_runtime.js +34 -41
- package/dist/modules/credential_runtime.js.map +1 -1
- package/dist/modules/credential_session_cache.d.ts +1 -1
- package/dist/modules/credential_session_cache.d.ts.map +1 -1
- package/dist/modules/credential_session_cache.js +5 -42
- package/dist/modules/credential_session_cache.js.map +1 -1
- package/dist/modules/credit_runtime.d.ts.map +1 -1
- package/dist/modules/credit_runtime.js +126 -162
- package/dist/modules/credit_runtime.js.map +1 -1
- package/dist/modules/crypto/browser_provider.d.ts +1 -1
- package/dist/modules/crypto/browser_provider.d.ts.map +1 -1
- package/dist/modules/crypto/browser_provider.js +7 -11
- package/dist/modules/crypto/browser_provider.js.map +1 -1
- package/dist/modules/crypto/index.d.ts +6 -6
- package/dist/modules/crypto/index.d.ts.map +1 -1
- package/dist/modules/crypto/index.js +12 -30
- package/dist/modules/crypto/index.js.map +1 -1
- package/dist/modules/crypto/node_provider.d.ts +1 -1
- package/dist/modules/crypto/node_provider.d.ts.map +1 -1
- package/dist/modules/crypto/node_provider.js +3 -5
- package/dist/modules/crypto/node_provider.js.map +1 -1
- package/dist/modules/crypto/provider.js +1 -2
- package/dist/modules/crypto/pure_ripemd160.js +1 -3
- package/dist/modules/crypto/pure_ripemd160.js.map +1 -1
- package/dist/modules/crypto/pure_scrypt.js +1 -4
- package/dist/modules/crypto/pure_scrypt.js.map +1 -1
- package/dist/modules/crypto/pure_secp256k1.d.ts +1 -1
- package/dist/modules/crypto/pure_secp256k1.d.ts.map +1 -1
- package/dist/modules/crypto/pure_secp256k1.js +1 -16
- package/dist/modules/crypto/pure_secp256k1.js.map +1 -1
- package/dist/modules/crypto/sync.d.ts.map +1 -1
- package/dist/modules/crypto/sync.js +16 -17
- package/dist/modules/crypto/sync.js.map +1 -1
- package/dist/modules/daemon_node_health.js +14 -16
- package/dist/modules/daemon_node_health.js.map +1 -1
- package/dist/modules/dexbot_class.d.ts +38 -15
- package/dist/modules/dexbot_class.d.ts.map +1 -1
- package/dist/modules/dexbot_class.js +134 -164
- package/dist/modules/dexbot_class.js.map +1 -1
- package/dist/modules/dexbot_cow_runtime.d.ts +46 -28
- package/dist/modules/dexbot_cow_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_cow_runtime.js +127 -52
- package/dist/modules/dexbot_cow_runtime.js.map +1 -1
- package/dist/modules/dexbot_credential_client.d.ts +6 -2
- package/dist/modules/dexbot_credential_client.d.ts.map +1 -1
- package/dist/modules/dexbot_credential_client.js +21 -31
- package/dist/modules/dexbot_credential_client.js.map +1 -1
- package/dist/modules/dexbot_fill_runtime.d.ts +23 -23
- package/dist/modules/dexbot_fill_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_fill_runtime.js +119 -77
- package/dist/modules/dexbot_fill_runtime.js.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.d.ts +52 -38
- package/dist/modules/dexbot_maintenance_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_maintenance_runtime.js +107 -86
- package/dist/modules/dexbot_maintenance_runtime.js.map +1 -1
- package/dist/modules/dexbot_startup_runtime.d.ts +3 -3
- package/dist/modules/dexbot_startup_runtime.d.ts.map +1 -1
- package/dist/modules/dexbot_startup_runtime.js +43 -81
- package/dist/modules/dexbot_startup_runtime.js.map +1 -1
- package/dist/modules/dexbot_state_recovery.d.ts +11 -11
- package/dist/modules/dexbot_state_recovery.js +32 -78
- package/dist/modules/dexbot_state_recovery.js.map +1 -1
- package/dist/modules/env.js +3 -7
- package/dist/modules/env.js.map +1 -1
- package/dist/modules/fund_registry.d.ts.map +1 -1
- package/dist/modules/fund_registry.js +12 -24
- package/dist/modules/fund_registry.js.map +1 -1
- package/dist/modules/general_settings.js +10 -16
- package/dist/modules/general_settings.js.map +1 -1
- package/dist/modules/graceful_shutdown.d.ts.map +1 -1
- package/dist/modules/graceful_shutdown.js +12 -19
- package/dist/modules/graceful_shutdown.js.map +1 -1
- package/dist/modules/key_store.d.ts.map +1 -1
- package/dist/modules/key_store.js +27 -65
- package/dist/modules/key_store.js.map +1 -1
- package/dist/modules/launcher/bot_supervisor.d.ts +1 -1
- package/dist/modules/launcher/bot_supervisor.d.ts.map +1 -1
- package/dist/modules/launcher/bot_supervisor.js +89 -118
- package/dist/modules/launcher/bot_supervisor.js.map +1 -1
- package/dist/modules/launcher/child_env.js +1 -5
- package/dist/modules/launcher/child_env.js.map +1 -1
- package/dist/modules/launcher/credential_bootstrap.js +22 -31
- package/dist/modules/launcher/credential_bootstrap.js.map +1 -1
- package/dist/modules/launcher/credential_daemon.js +37 -75
- package/dist/modules/launcher/credential_daemon.js.map +1 -1
- package/dist/modules/launcher/credential_secret.js +2 -37
- package/dist/modules/launcher/credential_secret.js.map +1 -1
- package/dist/modules/launcher/foreign_cred_daemon.d.ts +1 -1
- package/dist/modules/launcher/foreign_cred_daemon.js +26 -32
- package/dist/modules/launcher/foreign_cred_daemon.js.map +1 -1
- package/dist/modules/launcher/headless_password.js +10 -12
- package/dist/modules/launcher/headless_password.js.map +1 -1
- package/dist/modules/launcher/launch_modes.js +3 -9
- package/dist/modules/launcher/launch_modes.js.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.d.ts +1 -1
- package/dist/modules/launcher/market_adapter_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_runtime.js +25 -35
- package/dist/modules/launcher/market_adapter_runtime.js.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.d.ts.map +1 -1
- package/dist/modules/launcher/market_adapter_watchdog.js +42 -45
- package/dist/modules/launcher/market_adapter_watchdog.js.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.d.ts +1 -1
- package/dist/modules/launcher/monolithic_runtime.d.ts.map +1 -1
- package/dist/modules/launcher/monolithic_runtime.js +67 -138
- package/dist/modules/launcher/monolithic_runtime.js.map +1 -1
- package/dist/modules/launcher/runtime_entry.d.ts +1 -11
- package/dist/modules/launcher/runtime_entry.d.ts.map +1 -1
- package/dist/modules/launcher/runtime_entry.js +12 -15
- package/dist/modules/launcher/runtime_entry.js.map +1 -1
- package/dist/modules/launcher/status_reporting.d.ts +1 -1
- package/dist/modules/launcher/status_reporting.d.ts.map +1 -1
- package/dist/modules/launcher/status_reporting.js +15 -36
- package/dist/modules/launcher/status_reporting.js.map +1 -1
- package/dist/modules/launcher/supervisor_control.js +5 -10
- package/dist/modules/launcher/supervisor_control.js.map +1 -1
- package/dist/modules/logger.d.ts +1 -1
- package/dist/modules/logger.d.ts.map +1 -1
- package/dist/modules/logger.js +3 -38
- package/dist/modules/logger.js.map +1 -1
- package/dist/modules/market_adapter_whitelist.js +9 -18
- package/dist/modules/market_adapter_whitelist.js.map +1 -1
- package/dist/modules/node_failure_ledger.js +1 -3
- package/dist/modules/node_failure_ledger.js.map +1 -1
- package/dist/modules/node_health_cache.d.ts.map +1 -1
- package/dist/modules/node_health_cache.js +15 -25
- package/dist/modules/node_health_cache.js.map +1 -1
- package/dist/modules/node_manager.d.ts +1 -1
- package/dist/modules/node_manager.d.ts.map +1 -1
- package/dist/modules/node_manager.js +44 -43
- package/dist/modules/node_manager.js.map +1 -1
- package/dist/modules/order/accounting.d.ts.map +1 -1
- package/dist/modules/order/accounting.js +102 -118
- package/dist/modules/order/accounting.js.map +1 -1
- package/dist/modules/order/async_lock.d.ts +28 -16
- package/dist/modules/order/async_lock.d.ts.map +1 -1
- package/dist/modules/order/async_lock.js +73 -32
- package/dist/modules/order/async_lock.js.map +1 -1
- package/dist/modules/order/export.js +34 -75
- package/dist/modules/order/export.js.map +1 -1
- package/dist/modules/order/format.d.ts +1 -3
- package/dist/modules/order/format.d.ts.map +1 -1
- package/dist/modules/order/format.js +4 -24
- package/dist/modules/order/format.js.map +1 -1
- package/dist/modules/order/grid.d.ts +3 -3
- package/dist/modules/order/grid.d.ts.map +1 -1
- package/dist/modules/order/grid.js +206 -262
- package/dist/modules/order/grid.js.map +1 -1
- package/dist/modules/order/grid_reconcile.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile.js +77 -94
- package/dist/modules/order/grid_reconcile.js.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.d.ts.map +1 -1
- package/dist/modules/order/grid_reconcile_internal.js +117 -149
- package/dist/modules/order/grid_reconcile_internal.js.map +1 -1
- package/dist/modules/order/index.d.ts.map +1 -1
- package/dist/modules/order/index.js +11 -45
- package/dist/modules/order/index.js.map +1 -1
- package/dist/modules/order/logger.js +28 -69
- package/dist/modules/order/logger.js.map +1 -1
- package/dist/modules/order/logger_state.d.ts.map +1 -1
- package/dist/modules/order/logger_state.js +3 -4
- package/dist/modules/order/logger_state.js.map +1 -1
- package/dist/modules/order/manager.d.ts +10 -0
- package/dist/modules/order/manager.d.ts.map +1 -1
- package/dist/modules/order/manager.js +131 -151
- package/dist/modules/order/manager.js.map +1 -1
- package/dist/modules/order/processed_fill_store.js +2 -7
- package/dist/modules/order/processed_fill_store.js.map +1 -1
- package/dist/modules/order/strategy.js +23 -25
- package/dist/modules/order/strategy.js.map +1 -1
- package/dist/modules/order/sync_engine.d.ts +27 -0
- package/dist/modules/order/sync_engine.d.ts.map +1 -1
- package/dist/modules/order/sync_engine.js +232 -181
- package/dist/modules/order/sync_engine.js.map +1 -1
- package/dist/modules/order/utils/math.d.ts +1 -25
- package/dist/modules/order/utils/math.d.ts.map +1 -1
- package/dist/modules/order/utils/math.js +49 -172
- package/dist/modules/order/utils/math.js.map +1 -1
- package/dist/modules/order/utils/order.d.ts +46 -2
- package/dist/modules/order/utils/order.d.ts.map +1 -1
- package/dist/modules/order/utils/order.js +165 -143
- package/dist/modules/order/utils/order.js.map +1 -1
- package/dist/modules/order/utils/system.d.ts +3 -1
- package/dist/modules/order/utils/system.d.ts.map +1 -1
- package/dist/modules/order/utils/system.js +152 -211
- package/dist/modules/order/utils/system.js.map +1 -1
- package/dist/modules/order/utils/timeout.js +1 -4
- package/dist/modules/order/utils/timeout.js.map +1 -1
- package/dist/modules/order/utils/validate.js +91 -142
- package/dist/modules/order/utils/validate.js.map +1 -1
- package/dist/modules/order/utils/withPoolRef.js +21 -61
- package/dist/modules/order/utils/withPoolRef.js.map +1 -1
- package/dist/modules/order/working_grid.js +6 -9
- package/dist/modules/order/working_grid.js.map +1 -1
- package/dist/modules/path_api.d.ts.map +1 -1
- package/dist/modules/path_api.js +8 -11
- package/dist/modules/path_api.js.map +1 -1
- package/dist/modules/paths.d.ts.map +1 -1
- package/dist/modules/paths.js +61 -67
- package/dist/modules/paths.js.map +1 -1
- package/dist/modules/process_discovery.js +13 -21
- package/dist/modules/process_discovery.js.map +1 -1
- package/dist/modules/runtime.js +7 -11
- package/dist/modules/runtime.js.map +1 -1
- package/dist/modules/runtime_settings.d.ts.map +1 -1
- package/dist/modules/runtime_settings.js +14 -16
- package/dist/modules/runtime_settings.js.map +1 -1
- package/dist/modules/settings_merge.js +1 -3
- package/dist/modules/settings_merge.js.map +1 -1
- package/dist/modules/socket_json_client.js +3 -5
- package/dist/modules/socket_json_client.js.map +1 -1
- package/dist/modules/storage/browser_adapter.js +1 -4
- package/dist/modules/storage/browser_adapter.js.map +1 -1
- package/dist/modules/storage/index.d.ts +3 -2
- package/dist/modules/storage/index.d.ts.map +1 -1
- package/dist/modules/storage/index.js +5 -8
- package/dist/modules/storage/index.js.map +1 -1
- package/dist/modules/storage/node_adapter.d.ts +3 -4
- package/dist/modules/storage/node_adapter.d.ts.map +1 -1
- package/dist/modules/storage/node_adapter.js +12 -16
- package/dist/modules/storage/node_adapter.js.map +1 -1
- package/dist/modules/storage/types.js +1 -2
- package/dist/modules/types.d.ts +0 -6
- package/dist/modules/types.d.ts.map +1 -1
- package/dist/modules/types.js +1 -2
- package/dist/modules/types.js.map +1 -1
- package/dist/modules/utils/base58check.js +8 -15
- package/dist/modules/utils/base58check.js.map +1 -1
- package/dist/modules/utils/build_dir.js +3 -7
- package/dist/modules/utils/build_dir.js.map +1 -1
- package/dist/modules/utils/errors.js +1 -5
- package/dist/modules/utils/errors.js.map +1 -1
- package/dist/modules/utils/math_utils.d.ts +1 -1
- package/dist/modules/utils/math_utils.d.ts.map +1 -1
- package/dist/modules/utils/math_utils.js +2 -7
- package/dist/modules/utils/math_utils.js.map +1 -1
- package/dist/modules/validate_profiles.d.ts.map +1 -1
- package/dist/modules/validate_profiles.js +18 -25
- package/dist/modules/validate_profiles.js.map +1 -1
- package/dist/pm2.d.ts +4 -70
- package/dist/pm2.d.ts.map +1 -1
- package/dist/pm2.js +106 -132
- package/dist/pm2.js.map +1 -1
- package/dist/scripts/analyze-git.js +13 -17
- package/dist/scripts/analyze-git.js.map +1 -1
- package/dist/scripts/analyze-orders.d.ts.map +1 -1
- package/dist/scripts/analyze-orders.js +48 -63
- package/dist/scripts/analyze-orders.js.map +1 -1
- package/dist/scripts/diagnose-kibana-candles.d.ts.map +1 -1
- package/dist/scripts/diagnose-kibana-candles.js +2 -1
- package/dist/scripts/diagnose-kibana-candles.js.map +1 -1
- package/dist/scripts/diagnose-pool-history.d.ts.map +1 -1
- package/dist/scripts/diagnose-pool-history.js +2 -1
- package/dist/scripts/diagnose-pool-history.js.map +1 -1
- package/dist/scripts/divergence-calc.d.ts.map +1 -1
- package/dist/scripts/divergence-calc.js +2 -2
- package/dist/scripts/divergence-calc.js.map +1 -1
- package/dist/scripts/fix-err-message.js +17 -22
- package/dist/scripts/fix-err-message.js.map +1 -1
- package/dist/scripts/generate_lp_chart.d.ts.map +1 -1
- package/dist/scripts/generate_lp_chart.js +7 -15
- package/dist/scripts/generate_lp_chart.js.map +1 -1
- package/dist/scripts/generate_mainnet_corpus_report.d.ts.map +1 -1
- package/dist/scripts/generate_mainnet_corpus_report.js +3 -2
- package/dist/scripts/generate_mainnet_corpus_report.js.map +1 -1
- package/dist/scripts/generate_market_adapter_whitelist.d.ts.map +1 -1
- package/dist/scripts/generate_market_adapter_whitelist.js +18 -24
- package/dist/scripts/generate_market_adapter_whitelist.js.map +1 -1
- package/dist/scripts/native_release_gates.js +15 -19
- package/dist/scripts/native_release_gates.js.map +1 -1
- package/dist/scripts/print_grid.d.ts.map +1 -1
- package/dist/scripts/print_grid.js +2 -2
- package/dist/scripts/print_grid.js.map +1 -1
- package/dist/scripts/run-tests.js +12 -17
- package/dist/scripts/run-tests.js.map +1 -1
- package/dist/scripts/runner.d.ts.map +1 -1
- package/dist/scripts/runner.js +18 -20
- package/dist/scripts/runner.js.map +1 -1
- package/dist/scripts/sync-version.js +2 -2
- package/dist/scripts/sync-version.js.map +1 -1
- package/dist/scripts/test-credit-renewal.d.ts.map +1 -1
- package/dist/scripts/test-credit-renewal.js +4 -3
- package/dist/scripts/test-credit-renewal.js.map +1 -1
- package/dist/scripts/update.js +82 -94
- package/dist/scripts/update.js.map +1 -1
- package/dist/scripts/validate_bots.d.ts.map +1 -1
- package/dist/scripts/validate_bots.js +2 -2
- package/dist/scripts/validate_bots.js.map +1 -1
- package/dist/scripts/verify-browser-bundle.js +12 -17
- package/dist/scripts/verify-browser-bundle.js.map +1 -1
- package/dist/unlock.d.ts +0 -30
- package/dist/unlock.d.ts.map +1 -1
- package/dist/unlock.js +110 -157
- package/dist/unlock.js.map +1 -1
- package/package.json +18 -10
- package/scripts/README.md +1 -1
- package/scripts/create-bot-symlinks.sh +2 -2
- package/scripts/postinstall.js +1 -1
- package/dist/modules/utils/fs_utils.d.ts +0 -18
- package/dist/modules/utils/fs_utils.d.ts.map +0 -1
- package/dist/modules/utils/fs_utils.js +0 -32
- package/dist/modules/utils/fs_utils.js.map +0 -1
- package/dist/scripts/migrate_bot_keys.d.ts +0 -3
- package/dist/scripts/migrate_bot_keys.d.ts.map +0 -1
- package/dist/scripts/migrate_bot_keys.js +0 -225
- package/dist/scripts/migrate_bot_keys.js.map +0 -1
package/dist/modules/paths.js
CHANGED
|
@@ -1,34 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
};
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
const path_api_1 = require("./path_api");
|
|
13
|
-
const config_1 = require("./config");
|
|
14
|
-
const build_dir_1 = require("./utils/build_dir");
|
|
15
|
-
const MODULE_DIR = path_api_1.path.dirname(__dirname);
|
|
16
|
-
const PROJECT_ROOT = (0, build_dir_1.isDistRuntime)(MODULE_DIR)
|
|
17
|
-
? path_api_1.path.dirname(MODULE_DIR)
|
|
1
|
+
import fs from 'node:fs';
|
|
2
|
+
import { path } from './path_api.js';
|
|
3
|
+
import { Config } from './config.js';
|
|
4
|
+
import { isDistRuntime } from './utils/build_dir.js';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
import { dirname as _esmDirname } from 'node:path';
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = _esmDirname(__filename);
|
|
9
|
+
const MODULE_DIR = path.dirname(__dirname);
|
|
10
|
+
const PROJECT_ROOT = isDistRuntime(MODULE_DIR)
|
|
11
|
+
? path.dirname(MODULE_DIR)
|
|
18
12
|
: MODULE_DIR;
|
|
19
13
|
function resolveProfilesDir() {
|
|
20
|
-
if (
|
|
21
|
-
return
|
|
14
|
+
if (Config.DEXBOT_PROFILE_ROOT) {
|
|
15
|
+
return Config.DEXBOT_PROFILE_ROOT;
|
|
22
16
|
}
|
|
23
|
-
if (
|
|
24
|
-
return
|
|
17
|
+
if (Config.DEXBOT2_ROOT) {
|
|
18
|
+
return path.join(Config.DEXBOT2_ROOT, 'profiles');
|
|
25
19
|
}
|
|
26
|
-
const defaultDir =
|
|
27
|
-
const cwdProfiles =
|
|
20
|
+
const defaultDir = path.join(PROJECT_ROOT, 'profiles');
|
|
21
|
+
const cwdProfiles = path.join(process.cwd(), 'profiles');
|
|
28
22
|
if (defaultDir !== cwdProfiles) {
|
|
29
|
-
const defaultBots =
|
|
30
|
-
const cwdBots =
|
|
31
|
-
if (!
|
|
23
|
+
const defaultBots = path.join(defaultDir, 'bots.json');
|
|
24
|
+
const cwdBots = path.join(cwdProfiles, 'bots.json');
|
|
25
|
+
if (!fs.existsSync(defaultBots) && fs.existsSync(cwdBots)) {
|
|
32
26
|
console.warn(`[paths] Install profiles not found at ${defaultDir}, falling back to cwd: ${cwdProfiles}`);
|
|
33
27
|
return cwdProfiles;
|
|
34
28
|
}
|
|
@@ -40,63 +34,63 @@ const PATHS = {
|
|
|
40
34
|
PROJECT_ROOT,
|
|
41
35
|
PROFILES_DIR,
|
|
42
36
|
PROFILES: {
|
|
43
|
-
BOTS_JSON:
|
|
44
|
-
GENERAL_SETTINGS_JSON:
|
|
45
|
-
MARKET_PROFILES_JSON:
|
|
46
|
-
MARKET_ADAPTER_SETTINGS_JSON:
|
|
47
|
-
KEYS_JSON: () =>
|
|
48
|
-
DAEMON_POLICIES_JSON:
|
|
49
|
-
FUND_REGISTRY_JSON:
|
|
50
|
-
NODE_BLACKLIST_JSON:
|
|
51
|
-
NODE_HEALTH_CACHE_JSON:
|
|
52
|
-
MARKET_ADAPTER_WHITELIST_JSON: () =>
|
|
53
|
-
ECOSYSTEM_CONFIG_JS:
|
|
54
|
-
SUPERVISOR_SOCK:
|
|
55
|
-
MONOLITHIC_PID:
|
|
56
|
-
MONOLITHIC_BOT_PID:
|
|
57
|
-
MONOLITHIC_BOT_INFO:
|
|
58
|
-
MONOLITHIC_CRED_PID:
|
|
59
|
-
NATIVE_VALIDATION_DIR:
|
|
60
|
-
FEE_CACHE_JSON:
|
|
37
|
+
BOTS_JSON: path.join(PROFILES_DIR, 'bots.json'),
|
|
38
|
+
GENERAL_SETTINGS_JSON: path.join(PROFILES_DIR, 'general.settings.json'),
|
|
39
|
+
MARKET_PROFILES_JSON: path.join(PROFILES_DIR, 'market_profiles.json'),
|
|
40
|
+
MARKET_ADAPTER_SETTINGS_JSON: path.join(PROFILES_DIR, 'market_adapter_settings.json'),
|
|
41
|
+
KEYS_JSON: () => Config.DEXBOT_KEYS_FILE || path.join(PROFILES_DIR, 'keys.json'),
|
|
42
|
+
DAEMON_POLICIES_JSON: path.join(PROFILES_DIR, 'daemon-policies.json'),
|
|
43
|
+
FUND_REGISTRY_JSON: path.join(PROFILES_DIR, 'fund_registry.json'),
|
|
44
|
+
NODE_BLACKLIST_JSON: path.join(PROFILES_DIR, 'node_blacklist.json'),
|
|
45
|
+
NODE_HEALTH_CACHE_JSON: path.join(PROFILES_DIR, 'node_health_cache.json'),
|
|
46
|
+
MARKET_ADAPTER_WHITELIST_JSON: () => Config.DEXBOT_TEST_MARKET_ADAPTER_WHITELIST_FILE || path.join(PROFILES_DIR, 'market_adapter_whitelist.json'),
|
|
47
|
+
ECOSYSTEM_CONFIG_JS: path.join(PROFILES_DIR, 'ecosystem.config.cjs'),
|
|
48
|
+
SUPERVISOR_SOCK: path.join(PROFILES_DIR, 'supervisor.sock'),
|
|
49
|
+
MONOLITHIC_PID: path.join(PROFILES_DIR, 'monolithic.pid'),
|
|
50
|
+
MONOLITHIC_BOT_PID: path.join(PROFILES_DIR, 'monolithic-bot.pid'),
|
|
51
|
+
MONOLITHIC_BOT_INFO: path.join(PROFILES_DIR, 'monolithic-bot.json'),
|
|
52
|
+
MONOLITHIC_CRED_PID: path.join(PROFILES_DIR, 'monolithic-cred.pid'),
|
|
53
|
+
NATIVE_VALIDATION_DIR: path.join(PROFILES_DIR, 'native_validation'),
|
|
54
|
+
FEE_CACHE_JSON: path.join(PROFILES_DIR, 'fee_cache.json'),
|
|
61
55
|
},
|
|
62
|
-
LOGS_DIR:
|
|
63
|
-
ORDERS_DIR:
|
|
64
|
-
CREDIT_RUNTIME_DIR:
|
|
65
|
-
CREDENTIAL_RUN_DIR:
|
|
56
|
+
LOGS_DIR: path.join(PROFILES_DIR, 'logs'),
|
|
57
|
+
ORDERS_DIR: path.join(PROFILES_DIR, 'orders'),
|
|
58
|
+
CREDIT_RUNTIME_DIR: path.join(PROFILES_DIR, 'credit_runtime'),
|
|
59
|
+
CREDENTIAL_RUN_DIR: path.join(PROFILES_DIR, 'run'),
|
|
66
60
|
MARKET_ADAPTER: {
|
|
67
|
-
DIR:
|
|
68
|
-
DATA_DIR:
|
|
69
|
-
LP_DATA_DIR:
|
|
70
|
-
STATE_DIR:
|
|
71
|
-
STATE_FILE:
|
|
72
|
-
CENTERS_FILE:
|
|
73
|
-
LOCK_FILE:
|
|
61
|
+
DIR: path.join(PROJECT_ROOT, 'market_adapter'),
|
|
62
|
+
DATA_DIR: path.join(PROJECT_ROOT, 'market_adapter', 'data'),
|
|
63
|
+
LP_DATA_DIR: path.join(PROJECT_ROOT, 'market_adapter', 'data', 'lp'),
|
|
64
|
+
STATE_DIR: path.join(PROJECT_ROOT, 'market_adapter', 'state'),
|
|
65
|
+
STATE_FILE: path.join(PROJECT_ROOT, 'market_adapter', 'state', 'market_adapter_state.json'),
|
|
66
|
+
CENTERS_FILE: path.join(PROJECT_ROOT, 'market_adapter', 'state', 'market_adapter_centers.json'),
|
|
67
|
+
LOCK_FILE: path.join(PROJECT_ROOT, 'market_adapter', 'state', 'market_adapter.lock'),
|
|
74
68
|
},
|
|
75
69
|
CLAW: {
|
|
76
|
-
DIR:
|
|
77
|
-
DATA_DIR:
|
|
78
|
-
STATE_DIR:
|
|
79
|
-
POSITIONS_FILE:
|
|
80
|
-
WATCHER_HEALTH_FILE:
|
|
81
|
-
MEMU_DIR:
|
|
82
|
-
MEMU_RUNNER_SCRIPT:
|
|
70
|
+
DIR: path.join(PROJECT_ROOT, 'claw'),
|
|
71
|
+
DATA_DIR: path.join(PROJECT_ROOT, 'claw', 'data'),
|
|
72
|
+
STATE_DIR: path.join(PROJECT_ROOT, 'claw', 'data', 'state'),
|
|
73
|
+
POSITIONS_FILE: path.join(PROJECT_ROOT, 'claw', 'data', 'positions.json'),
|
|
74
|
+
WATCHER_HEALTH_FILE: path.join(PROJECT_ROOT, 'claw', 'data', 'watcher-health.json'),
|
|
75
|
+
MEMU_DIR: path.join(PROJECT_ROOT, 'claw', 'data', 'memu'),
|
|
76
|
+
MEMU_RUNNER_SCRIPT: path.join(PROJECT_ROOT, 'claw', 'scripts', 'memu_runner.py'),
|
|
83
77
|
},
|
|
84
78
|
ANALYSIS: {
|
|
85
|
-
CHARTS_DIR:
|
|
79
|
+
CHARTS_DIR: path.join(PROJECT_ROOT, 'analysis', 'charts'),
|
|
86
80
|
},
|
|
87
81
|
};
|
|
88
|
-
exports.PATHS = PATHS;
|
|
89
82
|
function getNodeBlacklistFile(stateDir) {
|
|
90
83
|
return stateDir
|
|
91
|
-
?
|
|
84
|
+
? path.join(stateDir, 'node_blacklist.json')
|
|
92
85
|
: PATHS.PROFILES.NODE_BLACKLIST_JSON;
|
|
93
86
|
}
|
|
94
87
|
function getNodeHealthCacheFile(stateDir) {
|
|
95
88
|
return stateDir
|
|
96
|
-
?
|
|
89
|
+
? path.join(stateDir, 'node_health_cache.json')
|
|
97
90
|
: PATHS.PROFILES.NODE_HEALTH_CACHE_JSON;
|
|
98
91
|
}
|
|
99
92
|
function getRecalculateTriggerFile(botKey) {
|
|
100
|
-
return
|
|
93
|
+
return path.join(PATHS.PROFILES_DIR, `recalculate.${botKey}.trigger`);
|
|
101
94
|
}
|
|
95
|
+
export { PATHS, resolveProfilesDir, getNodeBlacklistFile, getNodeHealthCacheFile, getRecalculateTriggerFile };
|
|
102
96
|
//# sourceMappingURL=paths.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../modules/paths.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"paths.js","sourceRoot":"","sources":["../../modules/paths.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,WAAW,CAAC;AACnD,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;AAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,OAA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cessDiscovery = getProcessDiscovery;
|
|
8
|
-
const storage_1 = require("./storage");
|
|
9
|
-
const runtime_1 = require("./runtime");
|
|
10
|
-
const system_1 = require("./order/utils/system");
|
|
11
|
-
const storage = (0, storage_1.getStorage)();
|
|
12
|
-
class LinuxProcessDiscovery {
|
|
2
|
+
import { getStorage } from './storage/index.js';
|
|
3
|
+
import { runtime } from './runtime.js';
|
|
4
|
+
import { sleep } from './order/utils/system.js';
|
|
5
|
+
const storage = getStorage();
|
|
6
|
+
export class LinuxProcessDiscovery {
|
|
13
7
|
isAlive(pid) {
|
|
14
8
|
if (!Number.isInteger(pid) || pid <= 0)
|
|
15
9
|
return false;
|
|
16
10
|
try {
|
|
17
|
-
return
|
|
11
|
+
return runtime.kill(pid, 0);
|
|
18
12
|
}
|
|
19
13
|
catch {
|
|
20
14
|
return false;
|
|
@@ -111,7 +105,7 @@ class LinuxProcessDiscovery {
|
|
|
111
105
|
if (!prev)
|
|
112
106
|
return '-';
|
|
113
107
|
for (let i = 0; i < samples - 1; i++) {
|
|
114
|
-
await
|
|
108
|
+
await sleep(intervalMs);
|
|
115
109
|
}
|
|
116
110
|
const cur = snap();
|
|
117
111
|
if (!cur)
|
|
@@ -215,8 +209,7 @@ class LinuxProcessDiscovery {
|
|
|
215
209
|
}
|
|
216
210
|
}
|
|
217
211
|
}
|
|
218
|
-
|
|
219
|
-
function formatUptime(ms) {
|
|
212
|
+
export function formatUptime(ms) {
|
|
220
213
|
const s = Math.floor(ms / 1000);
|
|
221
214
|
const m = Math.floor(s / 60);
|
|
222
215
|
const h = Math.floor(m / 60);
|
|
@@ -229,7 +222,7 @@ function formatUptime(ms) {
|
|
|
229
222
|
return `${m}m ${s % 60}s`;
|
|
230
223
|
return `${s}s`;
|
|
231
224
|
}
|
|
232
|
-
class NullProcessDiscovery {
|
|
225
|
+
export class NullProcessDiscovery {
|
|
233
226
|
isAlive(_pid) { return false; }
|
|
234
227
|
readArgs(_pid) { return []; }
|
|
235
228
|
readCmdline(_pid) { return ''; }
|
|
@@ -245,17 +238,16 @@ class NullProcessDiscovery {
|
|
|
245
238
|
findSocketOwnerPid(_socketPath, _isLikelyProcess) { return 0; }
|
|
246
239
|
listAllPids() { return []; }
|
|
247
240
|
}
|
|
248
|
-
exports.NullProcessDiscovery = NullProcessDiscovery;
|
|
249
241
|
let _instance = null;
|
|
250
|
-
function setProcessDiscovery(impl) {
|
|
242
|
+
export function setProcessDiscovery(impl) {
|
|
251
243
|
_instance = impl;
|
|
252
244
|
}
|
|
253
|
-
function resetProcessDiscovery() {
|
|
245
|
+
export function resetProcessDiscovery() {
|
|
254
246
|
_instance = null;
|
|
255
247
|
}
|
|
256
|
-
function getProcessDiscovery() {
|
|
248
|
+
export function getProcessDiscovery() {
|
|
257
249
|
if (!_instance) {
|
|
258
|
-
_instance =
|
|
250
|
+
_instance = runtime.platform === 'linux'
|
|
259
251
|
? new LinuxProcessDiscovery()
|
|
260
252
|
: new NullProcessDiscovery();
|
|
261
253
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process_discovery.js","sourceRoot":"","sources":["../../modules/process_discovery.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"process_discovery.js","sourceRoot":"","sources":["../../modules/process_discovery.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;AAyB7B,MAAM,OAAO,qBAAqB;IAC9B,OAAO,CAAC,GAAW;QACf,IAAI,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,IAAI,GAAG,IAAI,CAAC;YAAE,OAAO,KAAK,CAAC;QACrD,IAAI,CAAC;YACD,OAAO,OAAO,CAAC,IAAI,CAAC,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Y,OAAO,CAAC,CAAC,CAAC,CAAC;IAC1G,WAAW,KAAe,OAAO,EAAE,CAAC,CAAC,CAAC;CACzC;AAED,IAAI,SAAS,GAA4B,IAAI,CAAC;AAE9C,MAAM,UAAU,mBAAmB,CAAC,IAA6B;IAC7D,SAAS,GAAG,IAAI,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,qBAAqB;IACjC,SAAS,GAAG,IAAI,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,mBAAmB;IAC/B,IAAI,CAAC,SAAS,EAAE,CAAC;QACb,SAAS,GAAG,OAAO,CAAC,QAAQ,KAAK,OAAO;YACpC,CAAC,CAAC,IAAI,qBAAqB,EAAE;YAC7B,CAAC,CAAC,IAAI,oBAAoB,EAAE,CAAC;IACrC,CAAC;IACD,OAAO,SAAS,CAAC;AACrB,CAAC"}
|
package/dist/modules/runtime.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
|
-
|
|
3
|
-
exports.runtime = void 0;
|
|
4
|
-
exports.getRuntime = getRuntime;
|
|
5
|
-
exports.setRuntime = setRuntime;
|
|
6
|
-
const env_1 = require("./env");
|
|
2
|
+
import { isBrowser } from './env.js';
|
|
7
3
|
class NodeRuntime {
|
|
8
4
|
exit(code) { process.exit(code); }
|
|
9
5
|
exitAfterStderrDrain(code) {
|
|
@@ -60,14 +56,14 @@ class BrowserRuntime {
|
|
|
60
56
|
kill(_pid, _signal) { return false; }
|
|
61
57
|
onSignal(signal, handler) {
|
|
62
58
|
if (signal === 'SIGINT' || signal === 'SIGTERM') {
|
|
63
|
-
if (
|
|
59
|
+
if (isBrowser() && window.addEventListener) {
|
|
64
60
|
window.addEventListener('beforeunload', handler);
|
|
65
61
|
}
|
|
66
62
|
}
|
|
67
63
|
}
|
|
68
64
|
offSignal(signal, handler) {
|
|
69
65
|
if (signal === 'SIGINT' || signal === 'SIGTERM') {
|
|
70
|
-
if (
|
|
66
|
+
if (isBrowser() && window.removeEventListener) {
|
|
71
67
|
window.removeEventListener('beforeunload', handler);
|
|
72
68
|
}
|
|
73
69
|
}
|
|
@@ -84,15 +80,15 @@ class BrowserRuntime {
|
|
|
84
80
|
umask(_mask) { return 0; }
|
|
85
81
|
}
|
|
86
82
|
let _instance = null;
|
|
87
|
-
function getRuntime() {
|
|
83
|
+
export function getRuntime() {
|
|
88
84
|
if (!_instance) {
|
|
89
|
-
_instance =
|
|
85
|
+
_instance = isBrowser() ? new BrowserRuntime() : new NodeRuntime();
|
|
90
86
|
}
|
|
91
87
|
return _instance;
|
|
92
88
|
}
|
|
93
|
-
function setRuntime(impl) {
|
|
89
|
+
export function setRuntime(impl) {
|
|
94
90
|
_instance = impl;
|
|
95
91
|
}
|
|
96
92
|
const runtime = getRuntime();
|
|
97
|
-
|
|
93
|
+
export { runtime };
|
|
98
94
|
//# sourceMappingURL=runtime.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../modules/runtime.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"runtime.js","sourceRoot":"","sources":["../../modules/runtime.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;AAEb,OAAO,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAuBrC,MAAM,WAAW;IACf,IAAI,CAAC,IAAa,IAAU,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IACjD,oBAAoB,CAAC,IAAY;QAC/B,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC;QACrB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;IAC7D,CAAC;IACD,IAAI,QAAQ,KAAyB,OAAO,OAAO,CAAC,QAA8B,CAAC,CAAC,CAAC;IACrF,IAAI,QAAQ,CAAC,IAAwB,IAAK,OAAe,CA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AAI,CAAC,CAAC,CAAC;IACxC,IAAI,GAAG,KAAa,OAAO,CAAC,CAAC,CAAC,CAAC;IAC/B,IAAI,QAAQ,KAAa,OAAO,SAAS,CAAC,CAAC,CAAC;IAC5C,IAAI,MAAM,KAAU,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxE,IAAI,MAAM,KAAU,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,KAAK,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IACxE,IAAI,KAAK,KAAU,OAAO,IAAI,CAAC,CAAC,CAAC;IACjC,IAAI,IAAI,KAAe,OAAO,EAAE,CAAC,CAAC,CAAC;IACnC,GAAG,KAAa,OAAO,EAAE,CAAC,CAAC,CAAC;IAC5B,IAAI,GAAG,KAAyC,OAAO,EAAE,CAAC,CAAC,CAAC;IAC5D,KAAK,CAAC,KAAc,IAAY,OAAO,CAAC,CAAC,CAAC,CAAC;CAC5C;AAED,IAAI,SAAS,GAAmB,IAAI,CAAC;AAErC,MAAM,UAAU,UAAU;IACxB,IAAI,CAAC,SAAS,EAAE,CAAC;QACf,SAAS,GAAG,SAAS,EAAE,CAAC,CAAC,CAAC,IAAI,cAAc,EAAE,CAAC,CAAC,CAAC,IAAI,WAAW,EAAE,CAAC;IACrE,CAAC;IACD,OAAO,SAAS,CAAC;AACnB,CAAC;AAED,MAAM,UAAU,UAAU,CAAC,IAAoB;IAC7C,SAAS,GAAG,IAAI,CAAC;AACnB,CAAC;AAED,MAAM,OAAO,GAAG,UAAU,EAAE,CAAC;AAC7B,OAAO,EAAE,OAAO,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime_settings.d.ts","sourceRoot":"","sources":["../../modules/runtime_settings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtime_settings.d.ts","sourceRoot":"","sources":["../../modules/runtime_settings.ts"],"names":[],"mappings":"AA6BA,MAAM,WAAW,kBAAkB;IAC/B,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAChC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACrC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,cAAc,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IACpC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;IAC/B,OAAO,EAAE;QACL,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAC/B,CAAC;CACL;AAED,eAAO,MAAM,qBAAqB,EAAE,SAAS,MAAM,EAGlD,CAAC;AAEF,wBAAgB,yBAAyB,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,kBAAkB,CAwC5F"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
exports.resolveBotRuntimeSettings = resolveBotRuntimeSettings;
|
|
5
|
-
const constants_1 = require("./constants");
|
|
1
|
+
import { createRequire } from 'node:module';
|
|
2
|
+
const require = createRequire(import.meta.url);
|
|
3
|
+
import { GRID_LIMITS, FEE_PARAMETERS, INCREMENT_BOUNDS, TIMING, LOG_LEVEL, LOGGING_CONFIG, FILL_PROCESSING, PIPELINE_TIMING, API_LIMITS, } from './constants.js';
|
|
6
4
|
function _toScreamingCase(key) {
|
|
7
5
|
return key.replace(/([a-z])([A-Z])/g, '$1_$2').toUpperCase();
|
|
8
6
|
}
|
|
@@ -23,22 +21,22 @@ function _deepMerge(target, source) {
|
|
|
23
21
|
}
|
|
24
22
|
return target;
|
|
25
23
|
}
|
|
26
|
-
|
|
24
|
+
export const RUNTIME_SETTINGS_KEYS = [
|
|
27
25
|
'gridLimits', 'feeParams', 'incrementBounds', 'timing',
|
|
28
26
|
'fillProcessing', 'pipelineTiming', 'logging',
|
|
29
27
|
];
|
|
30
|
-
function resolveBotRuntimeSettings(botConfig) {
|
|
28
|
+
export function resolveBotRuntimeSettings(botConfig) {
|
|
31
29
|
const result = {
|
|
32
|
-
gridLimits: { ...
|
|
33
|
-
feeParams: { ...
|
|
34
|
-
incrementBounds: { ...
|
|
35
|
-
timing: { ...
|
|
36
|
-
fillProcessing: { ...
|
|
37
|
-
pipelineTiming: { ...
|
|
38
|
-
apiLimits: { ...
|
|
30
|
+
gridLimits: { ...GRID_LIMITS, GRID_COMPARISON: { ...GRID_LIMITS.GRID_COMPARISON } },
|
|
31
|
+
feeParams: { ...FEE_PARAMETERS },
|
|
32
|
+
incrementBounds: { ...INCREMENT_BOUNDS },
|
|
33
|
+
timing: { ...TIMING },
|
|
34
|
+
fillProcessing: { ...FILL_PROCESSING },
|
|
35
|
+
pipelineTiming: { ...PIPELINE_TIMING },
|
|
36
|
+
apiLimits: { ...API_LIMITS },
|
|
39
37
|
logging: {
|
|
40
|
-
level:
|
|
41
|
-
config: JSON.parse(JSON.stringify(
|
|
38
|
+
level: LOG_LEVEL,
|
|
39
|
+
config: JSON.parse(JSON.stringify(LOGGING_CONFIG)),
|
|
42
40
|
},
|
|
43
41
|
};
|
|
44
42
|
const marketOverrides = _resolveMarketOverrides(botConfig);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runtime_settings.js","sourceRoot":"","sources":["../../modules/runtime_settings.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"runtime_settings.js","sourceRoot":"","sources":["../../modules/runtime_settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MA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,CAAC,eAAe,IAAI,EAAE,EAAE,EAAE,CAAC,kBAAkB,CAAC,CAAC;oBAC1H,IAAI,EAAE,CAAC,iBAAiB;wBAAE,SAAS,CAAC,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,cAAc,IAAI,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;oBACtH,IAAI,EAAE,CAAC,iBAAiB;wBAAE,SAAS,CAAC,cAAc,GAAG,UAAU,CAAC,SAAS,CAAC,cAAc,IAAI,EAAE,EAAE,EAAE,CAAC,iBAAiB,CAAC,CAAC;oBACtH,IAAI,EAAE,CAAC,YAAY;wBAAE,SAAS,CAAC,SAAS,GAAG,UAAU,CAAC,SAAS,CAAC,SAAS,IAAI,EAAE,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC;oBAClG,IAAI,EAAE,CAAC,wBAAwB,KAAK,SAAS;wBAAE,SAAS,CAAC,qBAAqB,GAAG,EAAE,CAAC,wBAAwB,CAAC;gBACjH,CAAC;YACL,CAAC;QACL,CAAC;QAED,IAAI,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,MAAM,KAAK,CAAC;YAAE,OAAO,IAAI,CAAC;QACrD,OAAO,SAAS,CAAC;IACrB,CAAC;IAAC,OAAO,CAAM,EAAE,CAAC;QACd,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* modules/settings_merge.ts - Shared Settings Merge
|
|
4
3
|
*
|
|
@@ -23,8 +22,6 @@
|
|
|
23
22
|
* - GRID_LIMITS.GRID_COMPARISON → sub-object deep merge
|
|
24
23
|
* - raw.NODES → maps into NODE_MANAGEMENT constants
|
|
25
24
|
*/
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.mergeSettings = mergeSettings;
|
|
28
25
|
const MERGE_STRATEGIES = {
|
|
29
26
|
LOG_LEVEL: 'replace',
|
|
30
27
|
TIMING: 'shallow',
|
|
@@ -244,4 +241,5 @@ function mergeSettings(raw, defaults) {
|
|
|
244
241
|
}
|
|
245
242
|
return result;
|
|
246
243
|
}
|
|
244
|
+
export { mergeSettings };
|
|
247
245
|
//# sourceMappingURL=settings_merge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"settings_merge.js","sourceRoot":"","sources":["../../modules/settings_merge.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"settings_merge.js","sourceRoot":"","sources":["../../modules/settings_merge.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAIH,MAAM,gBAAgB,GAAkC;IACpD,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE,SAAS;IACjB,WAAW,EAAE,SAAS;IACtB,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,cAAc,EAAE,SAAS;IACzB,OAAO,EAAE,SAAS;IAClB,kBAAkB,EAAE,SAAS;IAC7B,WAAW,EAAE,SAAS;IACtB,eAAe,EAAE,SAAS;IAC1B,gBAAgB,EAAE,SAAS;IAC3B,cAAc,EAAE,SAAS;IACzB,UAAU,EAAE,SAAS;IACrB,cAAc,EAAE,MAAM;IACtB,aAAa,EAAE,MAAM;IACrB,QAAQ,EAAE,MAAM;IAChB,eAAe,EAAE,MAAM;IACvB,cAAc,EAAE,MAAM;CACzB,CAAC;AAEF;;;GAGG;AACH,SAAS,iBAAiB,CAAC,GAAwB;IAC/C,OAAO,MAAM,CAAC,WAAW,CACrB,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAC9D,CAAC;AACN,CAAC;AAED;;;GAGG;AACH,SAAS,SAAS,CAAC,MAAW,EAAE,MAAW;IACvC,MAAM,MAAM,GAAG,EAAE,G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I,OAAO,GAAG,CAAC,MAAM,CAAC,MAAM,KAAK,QAAQ,EAAE,CAAC;YAC7D,MAAM,YAAY,GAAG,iBAAiB,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YAC1D,MAAM,CAAC,MAAM,GAAG,EAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,YAAY,EAAE,CAAC;QAC1D,CAAC;IACL,CAAC;IAED,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,OAAO,EAAE,aAAa,EAAE,CAAA"}
|
|
@@ -17,11 +17,9 @@
|
|
|
17
17
|
* complete line), 'invalid' (a response line was not JSON).
|
|
18
18
|
*/
|
|
19
19
|
'use strict';
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
const _require = (0, env_1.getNodeRequire)();
|
|
24
|
-
function sendSocketJsonRequest(options) {
|
|
20
|
+
import { createRequire } from 'node:module';
|
|
21
|
+
const _require = createRequire(import.meta.url);
|
|
22
|
+
export function sendSocketJsonRequest(options) {
|
|
25
23
|
const net = _require ? _require('net') : null;
|
|
26
24
|
if (!net) {
|
|
27
25
|
return Promise.reject(new Error('Unix socket IPC unavailable in this environment'));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"socket_json_client.js","sourceRoot":"","sources":["../../modules/socket_json_client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"socket_json_client.js","sourceRoot":"","sources":["../../modules/socket_json_client.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,YAAY,CAAC;AAEb,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAC5C,MAAM,QAAQ,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAehD,MAAM,UAAU,qBAAqB,CAAC,OAAiC;IACnE,MAAM,GAAG,GAAG,QAAQ,CAAC,CAA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Q,CAAC,CAAC,CAAC;YACjC,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC,CAAC,CAAC;AACP,CAAC"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* BrowserStorageAdapter — in-memory Map backed by IndexedDB.
|
|
4
3
|
*
|
|
@@ -19,7 +18,6 @@
|
|
|
19
18
|
* If IndexedDB is unavailable (private browsing, SSR), falls back to a
|
|
20
19
|
* MemoryMap adapter that logs a warning.
|
|
21
20
|
*/
|
|
22
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
23
21
|
function createBrowserStorageAdapter() {
|
|
24
22
|
const store = new Map();
|
|
25
23
|
/** Try to open IndexedDB and load all records into memory. */
|
|
@@ -228,6 +226,5 @@ function createBrowserStorageAdapter() {
|
|
|
228
226
|
};
|
|
229
227
|
return adapter;
|
|
230
228
|
}
|
|
231
|
-
|
|
232
|
-
module.exports = createBrowserStorageAdapter;
|
|
229
|
+
export default createBrowserStorageAdapter;
|
|
233
230
|
//# sourceMappingURL=browser_adapter.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"browser_adapter.js","sourceRoot":"","sources":["../../../modules/storage/browser_adapter.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"browser_adapter.js","sourceRoot":"","sources":["../../../modules/storage/browser_adapter.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAEH,SAAS,2BAA2B;IAClC,MAAM,KAAK,GAAG,IAAI,GAAG,EAAE,CAAC;IAExB,8DAA8D;IAC9D,KAAK,UAAU,iBAAiB;QAC9B,IAAI,EAAE,CAAC;QACP,IAAI,CAAC;YACH,EAAE,GAAG,MAAM,MAAM,EAAE,CAAC;YACpB,MAAM,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;YAC/C,MAAM,MAAM,GAAG,EAAE,CAAC,WAAW,C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