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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bitshares_client.js","sourceRoot":"","sources":["../../modules/bitshares_client.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+lBmC,kDAAmB;AAAE,4CAAgB;AAAE,kDAAmB;AAAE,4CAAgB;AAAE,8CAAiB;AAAE,4DAAwB;AAAE,kCAAW;AAAE,8CAAiB;AAAE,kCAAW;AAAoB,yCAAe;AAAE,wCAAc;AAAE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":3,"file":"bot_settings.d.ts","sourceRoot":"","sources":["../../modules/bot_settings.ts"],"names":[],"mappings":"AAWA,iBAAS,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAc,EAAE,WAAkB,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAA;CAAE,CAoBvK;AAED,iBAAS,gBAAgB,CAAC,MAAM,EAAE,GAAG,EAAE,QAAQ,EAAE,MAAM,GAAG,IAAI,CAO7D;AAED,iBAAS,oBAAoB,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,EAAE,CAKlD;AAED,iBAAS,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,KAAK,GAAE,MAAU,GAAG,GAAG,CAG7D;AAED,iBAAS,mBAAmB,CAAC,UAAU,EAAE,GAAG,EAAE,GAAG,GAAG,EAAE,CAErD;AAED,iBAAS,cAAc,CAAC,QAAQ,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,GAAG,GAAG,CAI3D;AAED,iBAAS,sBAAsB,CAAC,QAAQ,EAAE,GAAG,GAAG,GAAG,EAAE,CAEpD;AAID,iBAAS,gBAAgB,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"bot_settings.d.ts","sourceRoot":"","sources":["../../modules/bot_settings.ts"],"names":[],"mappings":"AAWA,iBAAS,gBAAgB,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,MAAc,EAAE,WAAkB,EAAE,GAAE;IAAE,MAAM,CAAC,EAAE,OAAO,CAAC;IAAC,WAAW,CAAC,EAAE,OAAO,CAAA;CAAO,GAAG;IAAE,MAAM,EAAE,GAAG,CAAC;IAAC,QAAQ,EAAE,MAAM,C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
|
|
11
|
-
exports.selectBotEntry = selectBotEntry;
|
|
12
|
-
exports.validateBotEntry = validateBotEntry;
|
|
13
|
-
const storage_1 = require("./storage");
|
|
14
|
-
const bots_file_lock_1 = require("./bots_file_lock");
|
|
15
|
-
const system_1 = require("./order/utils/system");
|
|
16
|
-
const account_orders_1 = require("./account_orders");
|
|
17
|
-
const math_1 = require("./order/utils/math");
|
|
18
|
-
const cr_planner_1 = require("./cr_planner");
|
|
19
|
-
const fs_utils_1 = require("./utils/fs_utils");
|
|
20
|
-
const errors_1 = require("./utils/errors");
|
|
21
|
-
const storage = (0, storage_1.getStorage)();
|
|
1
|
+
import { getStorage } from './storage/index.js';
|
|
2
|
+
import { readBotsFileSync } from './bots_file_lock.js';
|
|
3
|
+
import { parseJsonWithComments } from './order/utils/system.js';
|
|
4
|
+
import { createBotKey } from './account_orders.js';
|
|
5
|
+
import { isPositiveNumber, isPositiveNumberOrPercent, toDecimal } from './order/utils/math.js';
|
|
6
|
+
import { resolveMinCollateralIncreaseThreshold } from './cr_planner.js';
|
|
7
|
+
import { getErrorMessage } from './utils/errors.js';
|
|
8
|
+
const storage = getStorage();
|
|
9
|
+
const { writeJSON } = storage;
|
|
22
10
|
function loadSettingsFile(filePath, { silent = false, exitOnError = true } = {}) {
|
|
23
11
|
if (!storage.exists(filePath)) {
|
|
24
12
|
if (!silent) {
|
|
@@ -27,12 +15,12 @@ function loadSettingsFile(filePath, { silent = false, exitOnError = true } = {})
|
|
|
27
15
|
return { config: {}, filePath };
|
|
28
16
|
}
|
|
29
17
|
try {
|
|
30
|
-
const { config } =
|
|
18
|
+
const { config } = readBotsFileSync(filePath, parseJsonWithComments);
|
|
31
19
|
return { config, filePath };
|
|
32
20
|
}
|
|
33
21
|
catch (err) {
|
|
34
22
|
console.error('Failed to parse bot settings from', filePath);
|
|
35
|
-
console.error('Error:',
|
|
23
|
+
console.error('Error:', getErrorMessage(err));
|
|
36
24
|
console.error('Please check the JSON syntax in profiles/bots.json and try again.');
|
|
37
25
|
if (exitOnError) {
|
|
38
26
|
throw err;
|
|
@@ -42,10 +30,10 @@ function loadSettingsFile(filePath, { silent = false, exitOnError = true } = {})
|
|
|
42
30
|
}
|
|
43
31
|
function saveSettingsFile(config, filePath) {
|
|
44
32
|
try {
|
|
45
|
-
|
|
33
|
+
writeJSON(filePath, config);
|
|
46
34
|
}
|
|
47
35
|
catch (err) {
|
|
48
|
-
console.error('Failed to save bot settings to', filePath, '-',
|
|
36
|
+
console.error('Failed to save bot settings to', filePath, '-', getErrorMessage(err));
|
|
49
37
|
throw err;
|
|
50
38
|
}
|
|
51
39
|
}
|
|
@@ -60,7 +48,7 @@ function resolveRawBotEntries(settings) {
|
|
|
60
48
|
}
|
|
61
49
|
function normalizeBotEntry(entry, index = 0) {
|
|
62
50
|
const normalized = { active: entry.active === undefined ? true : !!entry.active, ...entry };
|
|
63
|
-
return { ...normalized, botIndex: index, botKey:
|
|
51
|
+
return { ...normalized, botIndex: index, botKey: createBotKey(normalized, index) };
|
|
64
52
|
}
|
|
65
53
|
function normalizeBotEntries(rawEntries) {
|
|
66
54
|
return rawEntries.map((entry, index) => normalizeBotEntry(entry, index));
|
|
@@ -126,45 +114,37 @@ function validateBotEntry(b, i, src) {
|
|
|
126
114
|
if (!['mpa', 'creditOffer'].includes(item.type)) {
|
|
127
115
|
problems.push(`debtPolicy.lending[${idx}].type must be 'mpa' or 'creditOffer'`);
|
|
128
116
|
}
|
|
129
|
-
// outputWeight: canonical field
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
if (hasRatio && hasOutputWeight && item.ratio !== item.outputWeight) {
|
|
133
|
-
problems.push(`debtPolicy.lending[${idx}]: both 'ratio' (deprecated) and 'outputWeight' are set with conflicting values`);
|
|
117
|
+
// outputWeight: canonical field (deprecated 'ratio' alias removed)
|
|
118
|
+
if ('ratio' in item) {
|
|
119
|
+
problems.push(`debtPolicy.lending[${idx}].ratio is no longer supported; use outputWeight instead`);
|
|
134
120
|
}
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
else if (hasRatio && hasOutputWeight) {
|
|
139
|
-
console.warn(`[deprecated] debtPolicy.lending[${idx}].ratio is a deprecated alias of outputWeight; safe to remove`);
|
|
140
|
-
}
|
|
141
|
-
const weightVal = item.outputWeight ?? item.ratio;
|
|
142
|
-
if (weightVal !== undefined) {
|
|
121
|
+
if ('outputWeight' in item) {
|
|
122
|
+
const weightVal = item.outputWeight;
|
|
143
123
|
if (!Number.isFinite(weightVal) || weightVal < 0) {
|
|
144
|
-
problems.push(`debtPolicy.lending[${idx}]
|
|
124
|
+
problems.push(`debtPolicy.lending[${idx}].outputWeight must be a non-negative number`);
|
|
145
125
|
}
|
|
146
126
|
}
|
|
147
127
|
// maxBorrowAmount: optional, must be a fixed positive number (no percentage)
|
|
148
128
|
if ('maxBorrowAmount' in item) {
|
|
149
|
-
if (!
|
|
129
|
+
if (!isPositiveNumber(item.maxBorrowAmount)) {
|
|
150
130
|
problems.push(`debtPolicy.lending[${idx}].maxBorrowAmount must be a positive number (fixed amount, not percentage)`);
|
|
151
131
|
}
|
|
152
132
|
}
|
|
153
133
|
// maxBorrowAmountPerOperation: optional, must be a fixed positive number
|
|
154
134
|
if ('maxBorrowAmountPerOperation' in item) {
|
|
155
|
-
if (!
|
|
135
|
+
if (!isPositiveNumber(item.maxBorrowAmountPerOperation)) {
|
|
156
136
|
problems.push(`debtPolicy.lending[${idx}].maxBorrowAmountPerOperation must be a positive number`);
|
|
157
137
|
}
|
|
158
138
|
}
|
|
159
139
|
// maxCollateralAmount: optional, positive number or percentage
|
|
160
|
-
if ('maxCollateralAmount' in item && !
|
|
140
|
+
if ('maxCollateralAmount' in item && !isPositiveNumberOrPercent(item.maxCollateralAmount)) {
|
|
161
141
|
problems.push(`debtPolicy.lending[${idx}].maxCollateralAmount must be a positive number or percentage`);
|
|
162
142
|
}
|
|
163
143
|
if ('minCollateralIncreaseThreshold' in item) {
|
|
164
144
|
const referenceAmount = typeof item.minCollateralIncreaseThreshold === 'string' && item.minCollateralIncreaseThreshold.trim().endsWith('%')
|
|
165
145
|
? 1
|
|
166
146
|
: null;
|
|
167
|
-
if (
|
|
147
|
+
if (resolveMinCollateralIncreaseThreshold(item.minCollateralIncreaseThreshold, referenceAmount) === null) {
|
|
168
148
|
problems.push(`debtPolicy.lending[${idx}].minCollateralIncreaseThreshold must be a non-negative number or percentage`);
|
|
169
149
|
}
|
|
170
150
|
}
|
|
@@ -239,7 +219,7 @@ function validateBotEntry(b, i, src) {
|
|
|
239
219
|
});
|
|
240
220
|
}
|
|
241
221
|
// Global maxCollateralAmount: optional, caps total collateral across all lending items
|
|
242
|
-
if ('maxCollateralAmount' in dp && !
|
|
222
|
+
if ('maxCollateralAmount' in dp && !isPositiveNumberOrPercent(dp.maxCollateralAmount)) {
|
|
243
223
|
problems.push("debtPolicy.maxCollateralAmount must be a positive number or percentage");
|
|
244
224
|
}
|
|
245
225
|
}
|
|
@@ -267,7 +247,7 @@ function collectValidationIssues(entries, sourceName) {
|
|
|
267
247
|
entries.forEach((entry, index) => {
|
|
268
248
|
if (!entry.name)
|
|
269
249
|
return;
|
|
270
|
-
const key =
|
|
250
|
+
const key = createBotKey(entry, index);
|
|
271
251
|
const existing = seenKeys.get(key);
|
|
272
252
|
if (existing !== undefined) {
|
|
273
253
|
errors.push(`Bot[${existing}] '${entries[existing].name}' and Bot[${index}] '${entry.name}' ` +
|
|
@@ -286,8 +266,8 @@ function collectValidationIssues(entries, sourceName) {
|
|
|
286
266
|
accountFunds[entry.preferredAccount] = { buy: 0, sell: 0, botNames: [] };
|
|
287
267
|
}
|
|
288
268
|
const acc = accountFunds[entry.preferredAccount];
|
|
289
|
-
acc.buy +=
|
|
290
|
-
acc.sell +=
|
|
269
|
+
acc.buy += toDecimal(entry.botFunds.buy);
|
|
270
|
+
acc.sell += toDecimal(entry.botFunds.sell);
|
|
291
271
|
acc.botNames.push(entry.name || entry.botKey || `bot-${entries.indexOf(entry)}`);
|
|
292
272
|
}
|
|
293
273
|
for (const [account, funds] of Object.entries(accountFunds)) {
|
|
@@ -312,7 +292,7 @@ function assertNoDuplicateBotKeys(entries, sourceName) {
|
|
|
312
292
|
for (const [index, entry] of entries.entries()) {
|
|
313
293
|
if (!entry.name)
|
|
314
294
|
continue;
|
|
315
|
-
const key =
|
|
295
|
+
const key = createBotKey(entry, index);
|
|
316
296
|
const existing = seenKeys.get(key);
|
|
317
297
|
if (existing !== undefined) {
|
|
318
298
|
duplicates.push(`Bot[${existing}] '${entries[existing].name}' and Bot[${index}] '${entry.name}' ` +
|
|
@@ -326,4 +306,5 @@ function assertNoDuplicateBotKeys(entries, sourceName) {
|
|
|
326
306
|
throw new Error(`Duplicate bot name(s) in ${sourceName}:\n${duplicates.map((e) => ` - ${e}`).join('\n')}`);
|
|
327
307
|
}
|
|
328
308
|
}
|
|
309
|
+
export { assertNoDuplicateBotKeys, collectValidationIssues, loadSettingsFile, normalizeBotEntry, normalizeBotEntries, resolveRawBotEntries, saveSettingsFile, selectActiveBotEntries, selectBotEntry, validateBotEntry };
|
|
329
310
|
//# sourceMappingURL=bot_settings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bot_settings.js","sourceRoot":"","sources":["../../modules/bot_settings.ts"],"names":[],"mappings":";;AA0US,4DAAwB;AAAE,0DAAuB;AAAE,4CAAgB;AAAE,8CAAiB;AAAE,kDAAmB;AAAE,oDAAoB;AAAE,4CAAgB;AAAE,wDAAsB;AAAE,wCAAc;AAAE,4CAAgB;AAzUtN,uCAAuC;AACvC,qDAAoD;AACpD,iDAA6D;AAC7D,qDAAgD;AAChD,6CAA4F;AAC5F,6CAAqE;AACrE,+CAA6C;AAC7C,2CAAiD;AACjD,MAAM,OAAO,GAAG,IAAA,oBAAU,GAAE,CAAC;AAE7B,SAAS,gBAAgB,CAAC,QAAgB,EAAE,EAAE,MAAM,GAAG,KAAK,EAAE,WAAW,GAAG,IAAI,KAAkD,EAAE;IAChI,IAAI,CAAC,OAA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EAAE,oBAAoB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,cAAc,EAAE,gBAAgB,EAAE,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bots_file_lock.d.ts","sourceRoot":"","sources":["../../modules/bots_file_lock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;
|
|
1
|
+
{"version":3,"file":"bots_file_lock.d.ts","sourceRoot":"","sources":["../../modules/bots_file_lock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AASH;;;;;;GAMG;AACH,iBAAS,mBAAmB,CAAC,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,QAEtD;AAOD;;;;;;GAMG;AACH,iBAAe,oBAAoB,CAAC,YAAY,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG;;;GAcxE;AAED;;;;;;GAMG;AACH,iBAAe,qBAAqB,CAAC,YAAY,EAAE,GAAG,EAAE,MAAM,EAAE,GAAG,iBAQlE;AAED;;;;;;;;GAQG;AACH,iBAAS,gBAAgB,CAAC,YAAY,EAAE,GAAG,EAAE,aAAa,EAAE,GAAG;;;EAY9D;AAED,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
1
|
/**
|
|
3
2
|
* modules/bots_file_lock.ts - File Synchronization Lock
|
|
4
3
|
*
|
|
@@ -39,17 +38,9 @@
|
|
|
39
38
|
*
|
|
40
39
|
* ===============================================================================
|
|
41
40
|
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
46
|
-
exports.readBotsFileWithLock = readBotsFileWithLock;
|
|
47
|
-
exports.writeBotsFileWithLock = writeBotsFileWithLock;
|
|
48
|
-
exports.readBotsFileSync = readBotsFileSync;
|
|
49
|
-
exports.writeJsonFileAtomic = writeJsonFileAtomic;
|
|
50
|
-
const storage_1 = require("./storage");
|
|
51
|
-
const async_lock_1 = __importDefault(require("./order/async_lock"));
|
|
52
|
-
const storage = (0, storage_1.getStorage)();
|
|
41
|
+
import { getStorage } from './storage/index.js';
|
|
42
|
+
import AsyncLock from './order/async_lock.js';
|
|
43
|
+
const storage = getStorage();
|
|
53
44
|
/**
|
|
54
45
|
* Write a JSON document atomically — delegates to the unified StorageAdapter
|
|
55
46
|
* which uses tmp-file + rename (atomic on POSIX and Windows).
|
|
@@ -63,7 +54,7 @@ function writeJsonFileAtomic(targetPath, data) {
|
|
|
63
54
|
// Global re-entrant lock for bots.json file access.
|
|
64
55
|
// Uses AsyncLock which supports nested acquire calls via
|
|
65
56
|
// AsyncLocalStorage-based re-entrancy detection.
|
|
66
|
-
const botsFileLock = new
|
|
57
|
+
const botsFileLock = new AsyncLock();
|
|
67
58
|
/**
|
|
68
59
|
* Safely read bots.json with lock protection (re-entrant safe).
|
|
69
60
|
* @param {string} botsJsonPath - Path to bots.json file
|
|
@@ -120,4 +111,5 @@ function readBotsFileSync(botsJsonPath, parseFunction) {
|
|
|
120
111
|
const config = parseFunction(content);
|
|
121
112
|
return { content, config };
|
|
122
113
|
}
|
|
114
|
+
export { readBotsFileWithLock, writeBotsFileWithLock, readBotsFileSync, writeJsonFileAtomic };
|
|
123
115
|
//# sourceMappingURL=bots_file_lock.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bots_file_lock.js","sourceRoot":"","sources":["../../modules/bots_file_lock.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bots_file_lock.js","sourceRoot":"","sources":["../../modules/bots_file_lock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AAKH,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CA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AAED;;;;;;;;GAQG;AACH,SAAS,gBAAgB,CAAC,YAAiB,EAAE,aAAkB;IAC3D,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CAAC,0BAA0B,YAAY,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED,MAAM,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,YAAY,CAAC,CAAC;IAC/C,IAAI,CAAC,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;QAC9B,OAAO,EAAE,OAAO,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC;IACjD,CAAC;IAED,MAAM,MAAM,GAAG,aAAa,CAAC,OAAO,CAAC,CAAC;IACtC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,CAAC;AAC/B,CAAC;AAED,OAAO,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -12,8 +12,6 @@
|
|
|
12
12
|
* call() and the signing client (modules/bitshares-native/signing_client.ts).
|
|
13
13
|
*/
|
|
14
14
|
'use strict';
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.classifyBroadcastFailure = classifyBroadcastFailure;
|
|
17
15
|
/**
|
|
18
16
|
* Classify a broadcast-phase failure.
|
|
19
17
|
*
|
|
@@ -31,7 +29,7 @@ exports.classifyBroadcastFailure = classifyBroadcastFailure;
|
|
|
31
29
|
* @param {any} err - The thrown error (code + message).
|
|
32
30
|
* @returns {BroadcastFailureClass}
|
|
33
31
|
*/
|
|
34
|
-
function classifyBroadcastFailure(err) {
|
|
32
|
+
export function classifyBroadcastFailure(err) {
|
|
35
33
|
if (!err)
|
|
36
34
|
return 'definite';
|
|
37
35
|
const code = String(err.code || '');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"broadcast_failure.js","sourceRoot":"","sources":["../../modules/broadcast_failure.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,YAAY,CAAC
|
|
1
|
+
{"version":3,"file":"broadcast_failure.js","sourceRoot":"","sources":["../../modules/broadcast_failure.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,YAAY,CAAC;AAIb;;;;;;;;;;;;;;;;GAgBG;AACH,MAAM,UAAU,wBAAwB,CAAC,GAAQ;IAC7C,IAAI,CAAC,GAAG;QAAE,OAAO,UAAU,CAAC;IAC5B,MAAM,IAAI,GAAG,MAAM,CAAC,GAAG,CAAC,IAAI,IAAI,EAAE,CAAC,CAAC;IACpC,IAAI,IAAI,KAAK,kBAAkB,EAAE,CAAC;QAC9B,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;QACtC,oEAAoE;QACpE,4DAA4D;QAC5D,IAAI,GAAG,KAAK,oBAAoB,IAAI,GAAG,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAI,GAAG,KAAK,qBAAqB,EAAE,CAAC;YACpG,OAAO,WAAW,CAAC;QACvB,CAAC;QACD,oEAAoE;QACpE,2DAA2D;QAC3D,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,IAAI,IAAI,KAAK,kBAAkB;QAAE,OAAO,WAAW,CAAC,CAAC,qBAAqB;IAC1E,IAAI,IAAI,KAAK,aAAa;QAAE,OAAO,WAAW,CAAC;IAC/C,sEAAsE;IACtE,6DAA6D;IAC7D,IAAI,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC;QAAE,OAAO,UAAU,CAAC;IAC1C,IAAI,IAAI,KAAK,iBAAiB,IAAI,IAAI,KAAK,oBAAoB;QAAE,OAAO,UAAU,CAAC;IACnF,gFAAgF;IAChF,wEAAwE;IACxE,iEAAiE;IACjE,yEAAyE;IACzE,uEAAuE;IACvE,yEAAyE;IACzE,yEAAyE;IACzE,uEAAuE;IACvE,yEAAyE;IACzE,qCAAqC;IACrC,mEAAmE;IACnE,wEAAwE;IACxE,sCAAsC;IACtC,IAAI,IAAI,KAAK,cAAc;QAAE,OAAO,UAAU,CAAC;IAC/C,MAAM,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC;IACtC,IACI,GAAG,KAAK,yCAAyC;WAC9C,GAAG,KAAK,6CAA6C;WACrD,wBAAwB,CAAC,IAAI,CAAC,GAAG,CAAC;WAClC,GAAG,KAAK,sDAAsD;WAC9D,GAAG,KAAK,yBAAyB;WACjC,GAAG,KAAK,wBAAwB;WAChC,GAAG,KAAK,yBAAyB;WACjC,wCAAwC,CAAC,IAAI,CAAC,GAAG,CAAC,EACvD,CAAC;QACC,OAAO,UAAU,CAAC;IACtB,CAAC;IACD,IACI,gCAAgC,CAAC,IAAI,CAAC,GAAG,CAAC;WACvC,kCAAkC,CAAC,IAAI,CAAC,GAAG,CAAC;WAC5C,2CAA2C,CAAC,IAAI,CAAC,GAAG,CAAC;WACrD,GAAG,KAAK,kCAAkC,EAC/C,CAAC;QACC,OAAO,WAAW,CAAC;IACvB,CAAC;IACD,sEAAsE;IACtE,OAAO,WAAW,CAAC;AACvB,CAAC"}
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
* - Raw 64-character hexadecimal private keys
|
|
20
20
|
*
|
|
21
21
|
* Security: Master password never stored; only a derived vault key is kept in memory.
|
|
22
|
-
* Legacy SHA-256 password hashes are supported only to migrate existing vaults.
|
|
23
22
|
* All newly written private keys use the v2 vault format.
|
|
24
23
|
*
|
|
25
24
|
* ===============================================================================
|
|
@@ -133,13 +132,12 @@ declare function validatePrivateKey(key: any): {
|
|
|
133
132
|
/**
|
|
134
133
|
* Load stored accounts from profiles/keys.json.
|
|
135
134
|
* Returns empty structure if file doesn't exist or is corrupted.
|
|
136
|
-
* @returns {Object} { vaultVersion: number, vaultSalt: string, vaultVerifier: string,
|
|
135
|
+
* @returns {Object} { vaultVersion: number, vaultSalt: string, vaultVerifier: string, accounts: Object }
|
|
137
136
|
*/
|
|
138
137
|
declare function loadAccounts(): {
|
|
139
138
|
vaultVersion: number;
|
|
140
139
|
vaultSalt: string;
|
|
141
140
|
vaultVerifier: string;
|
|
142
|
-
masterPasswordHash: string;
|
|
143
141
|
accounts: any;
|
|
144
142
|
};
|
|
145
143
|
/**
|
|
@@ -147,10 +145,7 @@ declare function loadAccounts(): {
|
|
|
147
145
|
* the current user. Returns silently if the file doesn't exist yet (it will be
|
|
148
146
|
* created correctly by saveAccounts).
|
|
149
147
|
*
|
|
150
|
-
*
|
|
151
|
-
* fix), auto-remediate to 0o600 and log a warning. This prevents the first run
|
|
152
|
-
* after upgrade from crashing with "Unexpected permissions".
|
|
153
|
-
*
|
|
148
|
+
* Fails closed on any violation (world-readable mode, symlink, wrong owner).
|
|
154
149
|
* Should be called early in every entry point that may read or write keys.json.
|
|
155
150
|
*/
|
|
156
151
|
declare function checkKeysFileSecurity(): void;
|
|
@@ -158,8 +153,8 @@ declare function checkKeysFileSecurity(): void;
|
|
|
158
153
|
* Unlock the key vault with a master password.
|
|
159
154
|
* Uses modern scrypt v2 vault format with HMAC verification.
|
|
160
155
|
* @param {string} password - Master password
|
|
161
|
-
* @param {import('./types').KeysFile} [accountsData=loadAccounts()] - Accounts data object
|
|
162
|
-
* @returns {import('./types').VaultSecret} Derived vault secret
|
|
156
|
+
* @param {import('./types.js').KeysFile} [accountsData=loadAccounts()] - Accounts data object
|
|
157
|
+
* @returns {import('./types.js').VaultSecret} Derived vault secret
|
|
163
158
|
* @throws {MasterPasswordError} If password is incorrect
|
|
164
159
|
* @throws {Error} If vault format is unsupported
|
|
165
160
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chain_keys.d.ts","sourceRoot":"","sources":["../../modules/chain_keys.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"chain_keys.d.ts","sourceRoot":"","sources":["../../modules/chain_keys.ts"],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