@meteora-ag/cp-amm-sdk 1.0.11-rc.9 → 1.0.12-rc.0
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/dist/index.d.mts +97 -228
- package/dist/index.d.ts +97 -228
- package/dist/index.js +1941 -610
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1942 -611
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -4
- package/node_modules/@babel/runtime/LICENSE +0 -22
- package/node_modules/@babel/runtime/README.md +0 -19
- package/node_modules/@babel/runtime/helpers/AwaitValue.js +0 -4
- package/node_modules/@babel/runtime/helpers/OverloadYield.js +0 -4
- package/node_modules/@babel/runtime/helpers/applyDecoratedDescriptor.js +0 -9
- package/node_modules/@babel/runtime/helpers/applyDecs.js +0 -236
- package/node_modules/@babel/runtime/helpers/applyDecs2203.js +0 -184
- package/node_modules/@babel/runtime/helpers/applyDecs2203R.js +0 -191
- package/node_modules/@babel/runtime/helpers/applyDecs2301.js +0 -222
- package/node_modules/@babel/runtime/helpers/applyDecs2305.js +0 -133
- package/node_modules/@babel/runtime/helpers/applyDecs2311.js +0 -124
- package/node_modules/@babel/runtime/helpers/arrayLikeToArray.js +0 -6
- package/node_modules/@babel/runtime/helpers/arrayWithHoles.js +0 -4
- package/node_modules/@babel/runtime/helpers/arrayWithoutHoles.js +0 -5
- package/node_modules/@babel/runtime/helpers/assertClassBrand.js +0 -5
- package/node_modules/@babel/runtime/helpers/assertThisInitialized.js +0 -5
- package/node_modules/@babel/runtime/helpers/asyncGeneratorDelegate.js +0 -24
- package/node_modules/@babel/runtime/helpers/asyncIterator.js +0 -45
- package/node_modules/@babel/runtime/helpers/asyncToGenerator.js +0 -26
- package/node_modules/@babel/runtime/helpers/awaitAsyncGenerator.js +0 -5
- package/node_modules/@babel/runtime/helpers/callSuper.js +0 -7
- package/node_modules/@babel/runtime/helpers/checkInRHS.js +0 -6
- package/node_modules/@babel/runtime/helpers/checkPrivateRedeclaration.js +0 -4
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorDestructureSet.js +0 -10
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorGet.js +0 -4
- package/node_modules/@babel/runtime/helpers/classApplyDescriptorSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classCallCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticAccess.js +0 -5
- package/node_modules/@babel/runtime/helpers/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/node_modules/@babel/runtime/helpers/classExtractFieldDescriptor.js +0 -5
- package/node_modules/@babel/runtime/helpers/classNameTDZError.js +0 -4
- package/node_modules/@babel/runtime/helpers/classPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldGet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseBase.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldLooseKey.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classPrivateFieldSet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateGetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/classPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/classPrivateSetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateFieldSpecSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/classStaticPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/construct.js +0 -10
- package/node_modules/@babel/runtime/helpers/createClass.js +0 -13
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelper.js +0 -50
- package/node_modules/@babel/runtime/helpers/createForOfIteratorHelperLoose.js +0 -19
- package/node_modules/@babel/runtime/helpers/createSuper.js +0 -16
- package/node_modules/@babel/runtime/helpers/decorate.js +0 -250
- package/node_modules/@babel/runtime/helpers/defaults.js +0 -9
- package/node_modules/@babel/runtime/helpers/defineAccessor.js +0 -8
- package/node_modules/@babel/runtime/helpers/defineEnumerableProperties.js +0 -12
- package/node_modules/@babel/runtime/helpers/defineProperty.js +0 -10
- package/node_modules/@babel/runtime/helpers/dispose.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/AwaitValue.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/OverloadYield.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/applyDecoratedDescriptor.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/applyDecs.js +0 -236
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203.js +0 -184
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2203R.js +0 -191
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2301.js +0 -222
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2305.js +0 -133
- package/node_modules/@babel/runtime/helpers/esm/applyDecs2311.js +0 -124
- package/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/assertClassBrand.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/asyncGeneratorDelegate.js +0 -24
- package/node_modules/@babel/runtime/helpers/esm/asyncIterator.js +0 -45
- package/node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js +0 -26
- package/node_modules/@babel/runtime/helpers/esm/awaitAsyncGenerator.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/callSuper.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/checkInRHS.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/checkPrivateRedeclaration.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorDestructureSet.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorGet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classApplyDescriptorSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classCallCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticAccess.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classCheckPrivateStaticFieldDescriptor.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classExtractFieldDescriptor.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classNameTDZError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldGet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseBase.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldLooseKey.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classPrivateFieldSet2.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateGetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodInitSpec.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/classPrivateSetter.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldDestructureSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecGet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateFieldSpecSet.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodGet.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/classStaticPrivateMethodSet.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/construct.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/createClass.js +0 -13
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelper.js +0 -50
- package/node_modules/@babel/runtime/helpers/esm/createForOfIteratorHelperLoose.js +0 -19
- package/node_modules/@babel/runtime/helpers/esm/createSuper.js +0 -16
- package/node_modules/@babel/runtime/helpers/esm/decorate.js +0 -250
- package/node_modules/@babel/runtime/helpers/esm/defaults.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/defineAccessor.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/defineEnumerableProperties.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/defineProperty.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/dispose.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/extends.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/get.js +0 -11
- package/node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/identity.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/importDeferProxy.js +0 -27
- package/node_modules/@babel/runtime/helpers/esm/inherits.js +0 -14
- package/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js +0 -5
- package/node_modules/@babel/runtime/helpers/esm/initializerDefineProperty.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/initializerWarningHelper.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/instanceof.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/interopRequireDefault.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/interopRequireWildcard.js +0 -22
- package/node_modules/@babel/runtime/helpers/esm/isNativeFunction.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/isNativeReflectConstruct.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/iterableToArray.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js +0 -28
- package/node_modules/@babel/runtime/helpers/esm/jsx.js +0 -22
- package/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/newArrowCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/nullishReceiverError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/objectDestructuringEmpty.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/objectSpread.js +0 -14
- package/node_modules/@babel/runtime/helpers/esm/objectSpread2.js +0 -23
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js +0 -13
- package/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/package.json +0 -3
- package/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/readOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/regenerator.js +0 -89
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsync.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncGen.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/regeneratorAsyncIterator.js +0 -33
- package/node_modules/@babel/runtime/helpers/esm/regeneratorDefine.js +0 -24
- package/node_modules/@babel/runtime/helpers/esm/regeneratorKeys.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/regeneratorRuntime.js +0 -77
- package/node_modules/@babel/runtime/helpers/esm/regeneratorValues.js +0 -19
- package/node_modules/@babel/runtime/helpers/esm/set.js +0 -22
- package/node_modules/@babel/runtime/helpers/esm/setFunctionName.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/skipFirstGeneratorNext.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/slicedToArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/superPropBase.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/superPropGet.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/superPropSet.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteralLoose.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/tdz.js +0 -4
- package/node_modules/@babel/runtime/helpers/esm/temporalRef.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/temporalUndefined.js +0 -2
- package/node_modules/@babel/runtime/helpers/esm/toArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/toConsumableArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/esm/toPrimitive.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/toPropertyKey.js +0 -7
- package/node_modules/@babel/runtime/helpers/esm/toSetter.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/tsRewriteRelativeImportExtensions.js +0 -6
- package/node_modules/@babel/runtime/helpers/esm/typeof.js +0 -10
- package/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js +0 -9
- package/node_modules/@babel/runtime/helpers/esm/using.js +0 -12
- package/node_modules/@babel/runtime/helpers/esm/usingCtx.js +0 -59
- package/node_modules/@babel/runtime/helpers/esm/wrapAsyncGenerator.js +0 -69
- package/node_modules/@babel/runtime/helpers/esm/wrapNativeSuper.js +0 -27
- package/node_modules/@babel/runtime/helpers/esm/wrapRegExp.js +0 -52
- package/node_modules/@babel/runtime/helpers/esm/writeOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/extends.js +0 -10
- package/node_modules/@babel/runtime/helpers/get.js +0 -11
- package/node_modules/@babel/runtime/helpers/getPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/identity.js +0 -4
- package/node_modules/@babel/runtime/helpers/importDeferProxy.js +0 -27
- package/node_modules/@babel/runtime/helpers/inherits.js +0 -14
- package/node_modules/@babel/runtime/helpers/inheritsLoose.js +0 -5
- package/node_modules/@babel/runtime/helpers/initializerDefineProperty.js +0 -9
- package/node_modules/@babel/runtime/helpers/initializerWarningHelper.js +0 -4
- package/node_modules/@babel/runtime/helpers/instanceof.js +0 -4
- package/node_modules/@babel/runtime/helpers/interopRequireDefault.js +0 -6
- package/node_modules/@babel/runtime/helpers/interopRequireWildcard.js +0 -22
- package/node_modules/@babel/runtime/helpers/isNativeFunction.js +0 -8
- package/node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js +0 -9
- package/node_modules/@babel/runtime/helpers/iterableToArray.js +0 -4
- package/node_modules/@babel/runtime/helpers/iterableToArrayLimit.js +0 -28
- package/node_modules/@babel/runtime/helpers/jsx.js +0 -22
- package/node_modules/@babel/runtime/helpers/maybeArrayLike.js +0 -9
- package/node_modules/@babel/runtime/helpers/newArrowCheck.js +0 -4
- package/node_modules/@babel/runtime/helpers/nonIterableRest.js +0 -4
- package/node_modules/@babel/runtime/helpers/nonIterableSpread.js +0 -4
- package/node_modules/@babel/runtime/helpers/nullishReceiverError.js +0 -4
- package/node_modules/@babel/runtime/helpers/objectDestructuringEmpty.js +0 -4
- package/node_modules/@babel/runtime/helpers/objectSpread.js +0 -14
- package/node_modules/@babel/runtime/helpers/objectSpread2.js +0 -23
- package/node_modules/@babel/runtime/helpers/objectWithoutProperties.js +0 -13
- package/node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js +0 -10
- package/node_modules/@babel/runtime/helpers/possibleConstructorReturn.js +0 -8
- package/node_modules/@babel/runtime/helpers/readOnlyError.js +0 -4
- package/node_modules/@babel/runtime/helpers/regenerator.js +0 -89
- package/node_modules/@babel/runtime/helpers/regeneratorAsync.js +0 -8
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncGen.js +0 -6
- package/node_modules/@babel/runtime/helpers/regeneratorAsyncIterator.js +0 -33
- package/node_modules/@babel/runtime/helpers/regeneratorDefine.js +0 -24
- package/node_modules/@babel/runtime/helpers/regeneratorKeys.js +0 -10
- package/node_modules/@babel/runtime/helpers/regeneratorRuntime.js +0 -77
- package/node_modules/@babel/runtime/helpers/regeneratorValues.js +0 -19
- package/node_modules/@babel/runtime/helpers/set.js +0 -22
- package/node_modules/@babel/runtime/helpers/setFunctionName.js +0 -12
- package/node_modules/@babel/runtime/helpers/setPrototypeOf.js +0 -6
- package/node_modules/@babel/runtime/helpers/skipFirstGeneratorNext.js +0 -7
- package/node_modules/@babel/runtime/helpers/slicedToArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/superPropBase.js +0 -6
- package/node_modules/@babel/runtime/helpers/superPropGet.js +0 -9
- package/node_modules/@babel/runtime/helpers/superPropSet.js +0 -6
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteral.js +0 -8
- package/node_modules/@babel/runtime/helpers/taggedTemplateLiteralLoose.js +0 -4
- package/node_modules/@babel/runtime/helpers/tdz.js +0 -4
- package/node_modules/@babel/runtime/helpers/temporalRef.js +0 -6
- package/node_modules/@babel/runtime/helpers/temporalUndefined.js +0 -2
- package/node_modules/@babel/runtime/helpers/toArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/toConsumableArray.js +0 -8
- package/node_modules/@babel/runtime/helpers/toPrimitive.js +0 -12
- package/node_modules/@babel/runtime/helpers/toPropertyKey.js +0 -7
- package/node_modules/@babel/runtime/helpers/toSetter.js +0 -10
- package/node_modules/@babel/runtime/helpers/tsRewriteRelativeImportExtensions.js +0 -6
- package/node_modules/@babel/runtime/helpers/typeof.js +0 -10
- package/node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js +0 -9
- package/node_modules/@babel/runtime/helpers/using.js +0 -12
- package/node_modules/@babel/runtime/helpers/usingCtx.js +0 -59
- package/node_modules/@babel/runtime/helpers/wrapAsyncGenerator.js +0 -69
- package/node_modules/@babel/runtime/helpers/wrapNativeSuper.js +0 -27
- package/node_modules/@babel/runtime/helpers/wrapRegExp.js +0 -52
- package/node_modules/@babel/runtime/helpers/writeOnlyError.js +0 -4
- package/node_modules/@babel/runtime/package.json +0 -1107
- package/node_modules/@babel/runtime/regenerator/index.js +0 -15
- package/node_modules/@coral-xyz/anchor/README.md +0 -10
- package/node_modules/@coral-xyz/anchor/dist/browser/index.js +0 -7201
- package/node_modules/@coral-xyz/anchor/dist/browser/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts +0 -27
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts +0 -32
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts +0 -33
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/borsh/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts +0 -43
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts +0 -12
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts +0 -9
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/events.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts +0 -17
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/browser/src/coder/system/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts +0 -131
- package/node_modules/@coral-xyz/anchor/dist/browser/src/error.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts +0 -215
- package/node_modules/@coral-xyz/anchor/dist/browser/src/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/browser/src/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts +0 -7
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts +0 -390
- package/node_modules/@coral-xyz/anchor/dist/browser/src/native/system.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/browser/src/nodewallet.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/accounts-resolver.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts +0 -20
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/context.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts +0 -272
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts +0 -146
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/account.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts +0 -35
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts +0 -206
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/methods.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts +0 -49
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/simulate.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/transaction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts +0 -153
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts +0 -15
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/namespace/views.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/browser/src/program/token-account-layout.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts +0 -104
- package/node_modules/@coral-xyz/anchor/dist/browser/src/provider.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/base64.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/bs58.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/hex.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts +0 -5
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/bytes/utf8.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts +0 -22
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/features.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/pubkey.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts +0 -34
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/registry.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts +0 -21
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/sha256.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/browser/src/utils/token.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/browser/src/workspace.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts +0 -27
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js +0 -103
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/accounts.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js +0 -78
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/event.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts +0 -32
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js +0 -419
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/idl.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts +0 -33
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js +0 -27
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js +0 -274
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js +0 -42
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/borsh/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts +0 -43
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js +0 -19
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts +0 -12
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js +0 -107
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/accounts.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts +0 -9
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js +0 -11
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/events.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts +0 -17
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js +0 -20
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js +0 -242
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js +0 -14
- package/node_modules/@coral-xyz/anchor/dist/cjs/coder/system/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts +0 -131
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.js +0 -583
- package/node_modules/@coral-xyz/anchor/dist/cjs/error.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts +0 -215
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js +0 -109
- package/node_modules/@coral-xyz/anchor/dist/cjs/idl.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.js +0 -50
- package/node_modules/@coral-xyz/anchor/dist/cjs/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts +0 -7
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js +0 -11
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts +0 -390
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js +0 -394
- package/node_modules/@coral-xyz/anchor/dist/cjs/native/system.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js +0 -48
- package/node_modules/@coral-xyz/anchor/dist/cjs/nodewallet.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js +0 -437
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts +0 -20
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js +0 -49
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/common.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js +0 -16
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/context.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js +0 -207
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/event.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts +0 -272
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js +0 -177
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts +0 -146
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js +0 -257
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/account.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts +0 -35
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js +0 -63
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js +0 -94
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts +0 -206
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js +0 -309
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts +0 -49
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js +0 -25
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js +0 -42
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/simulate.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js +0 -24
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/transaction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts +0 -153
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js +0 -3
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts +0 -15
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js +0 -30
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/views.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js +0 -136
- package/node_modules/@coral-xyz/anchor/dist/cjs/program/token-account-layout.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts +0 -104
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js +0 -309
- package/node_modules/@coral-xyz/anchor/dist/cjs/provider.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js +0 -12
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/base64.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js +0 -15
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/bs58.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js +0 -22
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/hex.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts +0 -5
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js +0 -31
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js +0 -18
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/bytes/utf8.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts +0 -22
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js +0 -32
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/common.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js +0 -16
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/features.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js +0 -34
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js +0 -16
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/pubkey.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts +0 -34
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js +0 -88
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/registry.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts +0 -21
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js +0 -167
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/rpc.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js +0 -8
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/sha256.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js +0 -11
- package/node_modules/@coral-xyz/anchor/dist/cjs/utils/token.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js +0 -98
- package/node_modules/@coral-xyz/anchor/dist/cjs/workspace.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts +0 -27
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js +0 -96
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/accounts.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js +0 -51
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/event.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts +0 -32
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js +0 -392
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/idl.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts +0 -33
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js +0 -20
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js +0 -244
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js +0 -38
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/borsh/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts +0 -43
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js +0 -3
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts +0 -12
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js +0 -80
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/accounts.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts +0 -9
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js +0 -7
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/events.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts +0 -17
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js +0 -16
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js +0 -212
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js +0 -10
- package/node_modules/@coral-xyz/anchor/dist/esm/coder/system/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts +0 -131
- package/node_modules/@coral-xyz/anchor/dist/esm/error.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/error.js +0 -552
- package/node_modules/@coral-xyz/anchor/dist/esm/error.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts +0 -215
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.js +0 -74
- package/node_modules/@coral-xyz/anchor/dist/esm/idl.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts +0 -16
- package/node_modules/@coral-xyz/anchor/dist/esm/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/index.js +0 -14
- package/node_modules/@coral-xyz/anchor/dist/esm/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts +0 -7
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js +0 -7
- package/node_modules/@coral-xyz/anchor/dist/esm/native/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts +0 -390
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js +0 -389
- package/node_modules/@coral-xyz/anchor/dist/esm/native/system.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js +0 -45
- package/node_modules/@coral-xyz/anchor/dist/esm/nodewallet.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js +0 -429
- package/node_modules/@coral-xyz/anchor/dist/esm/program/accounts-resolver.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts +0 -20
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js +0 -43
- package/node_modules/@coral-xyz/anchor/dist/esm/program/common.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts +0 -63
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js +0 -13
- package/node_modules/@coral-xyz/anchor/dist/esm/program/context.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js +0 -202
- package/node_modules/@coral-xyz/anchor/dist/esm/program/event.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts +0 -272
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js +0 -156
- package/node_modules/@coral-xyz/anchor/dist/esm/program/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts +0 -146
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js +0 -226
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/account.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts +0 -35
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js +0 -54
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js +0 -68
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/instruction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts +0 -206
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js +0 -302
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/methods.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts +0 -49
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js +0 -22
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/rpc.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts +0 -57
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js +0 -39
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/simulate.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts +0 -42
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js +0 -21
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/transaction.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts +0 -153
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js +0 -2
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/types.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts +0 -15
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js +0 -27
- package/node_modules/@coral-xyz/anchor/dist/esm/program/namespace/views.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js +0 -107
- package/node_modules/@coral-xyz/anchor/dist/esm/program/token-account-layout.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts +0 -104
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.js +0 -303
- package/node_modules/@coral-xyz/anchor/dist/esm/provider.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/base64.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/bs58.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts +0 -4
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js +0 -18
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/hex.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts +0 -5
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js +0 -5
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js +0 -14
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/bytes/utf8.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts +0 -22
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js +0 -27
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/common.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js +0 -12
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/features.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts +0 -3
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js +0 -13
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/pubkey.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts +0 -34
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js +0 -57
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/registry.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts +0 -21
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js +0 -161
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/rpc.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts +0 -2
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js +0 -5
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/sha256.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts +0 -8
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js +0 -7
- package/node_modules/@coral-xyz/anchor/dist/esm/utils/token.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts +0 -14
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js +0 -70
- package/node_modules/@coral-xyz/anchor/dist/esm/workspace.js.map +0 -1
- package/node_modules/@coral-xyz/anchor/dist/tsconfig.cjs.tsbuildinfo +0 -1
- package/node_modules/@coral-xyz/anchor/dist/tsconfig.tsbuildinfo +0 -1
- package/node_modules/@coral-xyz/anchor/package.json +0 -84
- package/node_modules/@coral-xyz/anchor/types/buffer-layout/index.d.ts +0 -88
- package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts +0 -157
- package/node_modules/@coral-xyz/anchor-errors/dist/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/anchor-errors/dist/index.js +0 -167
- package/node_modules/@coral-xyz/anchor-errors/dist/index.js.map +0 -1
- package/node_modules/@coral-xyz/anchor-errors/package.json +0 -32
- package/node_modules/@coral-xyz/borsh/dist/index.d.ts +0 -31
- package/node_modules/@coral-xyz/borsh/dist/index.d.ts.map +0 -1
- package/node_modules/@coral-xyz/borsh/dist/index.js +0 -222
- package/node_modules/@coral-xyz/borsh/dist/index.js.map +0 -1
- package/node_modules/@coral-xyz/borsh/package.json +0 -35
- package/node_modules/@noble/curves/LICENSE +0 -21
- package/node_modules/@noble/curves/README.md +0 -1029
- package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -18
- package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/_shortw_utils.js +0 -19
- package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
- package/node_modules/@noble/curves/abstract/bls.d.ts +0 -165
- package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/bls.js +0 -404
- package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
- package/node_modules/@noble/curves/abstract/curve.d.ts +0 -144
- package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/curve.js +0 -471
- package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
- package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -179
- package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/edwards.js +0 -488
- package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
- package/node_modules/@noble/curves/abstract/fft.d.ts +0 -122
- package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/fft.js +0 -438
- package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -98
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/hash-to-curve.js +0 -199
- package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
- package/node_modules/@noble/curves/abstract/modular.d.ts +0 -166
- package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/modular.js +0 -510
- package/node_modules/@noble/curves/abstract/modular.js.map +0 -1
- package/node_modules/@noble/curves/abstract/montgomery.d.ts +0 -21
- package/node_modules/@noble/curves/abstract/montgomery.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/montgomery.js +0 -141
- package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
- package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -68
- package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/poseidon.js +0 -305
- package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
- package/node_modules/@noble/curves/abstract/tower.d.ts +0 -93
- package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/tower.js +0 -506
- package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
- package/node_modules/@noble/curves/abstract/utils.d.ts +0 -5
- package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/utils.js +0 -23
- package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -316
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1290
- package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
- package/node_modules/@noble/curves/bls12-381.d.ts +0 -16
- package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
- package/node_modules/@noble/curves/bls12-381.js +0 -741
- package/node_modules/@noble/curves/bls12-381.js.map +0 -1
- package/node_modules/@noble/curves/bn254.d.ts +0 -18
- package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
- package/node_modules/@noble/curves/bn254.js +0 -250
- package/node_modules/@noble/curves/bn254.js.map +0 -1
- package/node_modules/@noble/curves/ed25519.d.ts +0 -120
- package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
- package/node_modules/@noble/curves/ed25519.js +0 -496
- package/node_modules/@noble/curves/ed25519.js.map +0 -1
- package/node_modules/@noble/curves/ed448.d.ts +0 -102
- package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
- package/node_modules/@noble/curves/ed448.js +0 -461
- package/node_modules/@noble/curves/ed448.js.map +0 -1
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -18
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -15
- package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -165
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/bls.js +0 -401
- package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -144
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/curve.js +0 -461
- package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -179
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -483
- package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -122
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/fft.js +0 -425
- package/node_modules/@noble/curves/esm/abstract/fft.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts +0 -98
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js +0 -192
- package/node_modules/@noble/curves/esm/abstract/hash-to-curve.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/modular.d.ts +0 -166
- package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/modular.js +0 -486
- package/node_modules/@noble/curves/esm/abstract/modular.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts +0 -21
- package/node_modules/@noble/curves/esm/abstract/montgomery.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/montgomery.js +0 -138
- package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -68
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -296
- package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -93
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/tower.js +0 -502
- package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -5
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/utils.js +0 -7
- package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -316
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1278
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
- package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -16
- package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/bls12-381.js +0 -738
- package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
- package/node_modules/@noble/curves/esm/bn254.d.ts +0 -18
- package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/bn254.js +0 -246
- package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
- package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -120
- package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/ed25519.js +0 -490
- package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
- package/node_modules/@noble/curves/esm/ed448.d.ts +0 -102
- package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/ed448.js +0 -456
- package/node_modules/@noble/curves/esm/ed448.js.map +0 -1
- package/node_modules/@noble/curves/esm/index.d.ts +0 -2
- package/node_modules/@noble/curves/esm/index.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/index.js +0 -19
- package/node_modules/@noble/curves/esm/index.js.map +0 -1
- package/node_modules/@noble/curves/esm/jubjub.d.ts +0 -12
- package/node_modules/@noble/curves/esm/jubjub.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/jubjub.js +0 -12
- package/node_modules/@noble/curves/esm/jubjub.js.map +0 -1
- package/node_modules/@noble/curves/esm/misc.d.ts +0 -21
- package/node_modules/@noble/curves/esm/misc.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/misc.js +0 -112
- package/node_modules/@noble/curves/esm/misc.js.map +0 -1
- package/node_modules/@noble/curves/esm/nist.d.ts +0 -21
- package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/nist.js +0 -110
- package/node_modules/@noble/curves/esm/nist.js.map +0 -1
- package/node_modules/@noble/curves/esm/p256.d.ts +0 -12
- package/node_modules/@noble/curves/esm/p256.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/p256.js +0 -12
- package/node_modules/@noble/curves/esm/p256.js.map +0 -1
- package/node_modules/@noble/curves/esm/p384.d.ts +0 -13
- package/node_modules/@noble/curves/esm/p384.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/p384.js +0 -13
- package/node_modules/@noble/curves/esm/p384.js.map +0 -1
- package/node_modules/@noble/curves/esm/p521.d.ts +0 -12
- package/node_modules/@noble/curves/esm/p521.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/p521.js +0 -12
- package/node_modules/@noble/curves/esm/p521.js.map +0 -1
- package/node_modules/@noble/curves/esm/package.json +0 -4
- package/node_modules/@noble/curves/esm/pasta.d.ts +0 -10
- package/node_modules/@noble/curves/esm/pasta.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/pasta.js +0 -10
- package/node_modules/@noble/curves/esm/pasta.js.map +0 -1
- package/node_modules/@noble/curves/esm/secp256k1.d.ts +0 -76
- package/node_modules/@noble/curves/esm/secp256k1.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/secp256k1.js +0 -290
- package/node_modules/@noble/curves/esm/secp256k1.js.map +0 -1
- package/node_modules/@noble/curves/esm/utils.d.ts +0 -96
- package/node_modules/@noble/curves/esm/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/utils.js +0 -279
- package/node_modules/@noble/curves/esm/utils.js.map +0 -1
- package/node_modules/@noble/curves/index.d.ts +0 -1
- package/node_modules/@noble/curves/index.d.ts.map +0 -1
- package/node_modules/@noble/curves/index.js +0 -19
- package/node_modules/@noble/curves/index.js.map +0 -1
- package/node_modules/@noble/curves/jubjub.d.ts +0 -12
- package/node_modules/@noble/curves/jubjub.d.ts.map +0 -1
- package/node_modules/@noble/curves/jubjub.js +0 -15
- package/node_modules/@noble/curves/jubjub.js.map +0 -1
- package/node_modules/@noble/curves/misc.d.ts +0 -21
- package/node_modules/@noble/curves/misc.d.ts.map +0 -1
- package/node_modules/@noble/curves/misc.js +0 -117
- package/node_modules/@noble/curves/misc.js.map +0 -1
- package/node_modules/@noble/curves/nist.d.ts +0 -21
- package/node_modules/@noble/curves/nist.d.ts.map +0 -1
- package/node_modules/@noble/curves/nist.js +0 -113
- package/node_modules/@noble/curves/nist.js.map +0 -1
- package/node_modules/@noble/curves/p256.d.ts +0 -12
- package/node_modules/@noble/curves/p256.d.ts.map +0 -1
- package/node_modules/@noble/curves/p256.js +0 -9
- package/node_modules/@noble/curves/p256.js.map +0 -1
- package/node_modules/@noble/curves/p384.d.ts +0 -13
- package/node_modules/@noble/curves/p384.d.ts.map +0 -1
- package/node_modules/@noble/curves/p384.js +0 -10
- package/node_modules/@noble/curves/p384.js.map +0 -1
- package/node_modules/@noble/curves/p521.d.ts +0 -12
- package/node_modules/@noble/curves/p521.d.ts.map +0 -1
- package/node_modules/@noble/curves/p521.js +0 -9
- package/node_modules/@noble/curves/p521.js.map +0 -1
- package/node_modules/@noble/curves/package.json +0 -293
- package/node_modules/@noble/curves/pasta.d.ts +0 -10
- package/node_modules/@noble/curves/pasta.d.ts.map +0 -1
- package/node_modules/@noble/curves/pasta.js +0 -13
- package/node_modules/@noble/curves/pasta.js.map +0 -1
- package/node_modules/@noble/curves/secp256k1.d.ts +0 -76
- package/node_modules/@noble/curves/secp256k1.d.ts.map +0 -1
- package/node_modules/@noble/curves/secp256k1.js +0 -293
- package/node_modules/@noble/curves/secp256k1.js.map +0 -1
- package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -20
- package/node_modules/@noble/curves/src/abstract/bls.ts +0 -685
- package/node_modules/@noble/curves/src/abstract/curve.ts +0 -573
- package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -710
- package/node_modules/@noble/curves/src/abstract/fft.ts +0 -519
- package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -289
- package/node_modules/@noble/curves/src/abstract/modular.ts +0 -554
- package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -167
- package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -335
- package/node_modules/@noble/curves/src/abstract/tower.ts +0 -619
- package/node_modules/@noble/curves/src/abstract/utils.ts +0 -7
- package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1684
- package/node_modules/@noble/curves/src/bls12-381.ts +0 -805
- package/node_modules/@noble/curves/src/bn254.ts +0 -274
- package/node_modules/@noble/curves/src/ed25519.ts +0 -568
- package/node_modules/@noble/curves/src/ed448.ts +0 -561
- package/node_modules/@noble/curves/src/index.ts +0 -17
- package/node_modules/@noble/curves/src/jubjub.ts +0 -12
- package/node_modules/@noble/curves/src/misc.ts +0 -128
- package/node_modules/@noble/curves/src/nist.ts +0 -166
- package/node_modules/@noble/curves/src/p256.ts +0 -11
- package/node_modules/@noble/curves/src/p384.ts +0 -13
- package/node_modules/@noble/curves/src/p521.ts +0 -11
- package/node_modules/@noble/curves/src/package.json +0 -3
- package/node_modules/@noble/curves/src/pasta.ts +0 -9
- package/node_modules/@noble/curves/src/secp256k1.ts +0 -345
- package/node_modules/@noble/curves/src/utils.ts +0 -328
- package/node_modules/@noble/curves/utils.d.ts +0 -96
- package/node_modules/@noble/curves/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/utils.js +0 -313
- package/node_modules/@noble/curves/utils.js.map +0 -1
- package/node_modules/@noble/hashes/LICENSE +0 -21
- package/node_modules/@noble/hashes/README.md +0 -521
- package/node_modules/@noble/hashes/_assert.d.ts +0 -17
- package/node_modules/@noble/hashes/_assert.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_assert.js +0 -18
- package/node_modules/@noble/hashes/_assert.js.map +0 -1
- package/node_modules/@noble/hashes/_blake.d.ts +0 -14
- package/node_modules/@noble/hashes/_blake.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_blake.js +0 -50
- package/node_modules/@noble/hashes/_blake.js.map +0 -1
- package/node_modules/@noble/hashes/_md.d.ts +0 -51
- package/node_modules/@noble/hashes/_md.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_md.js +0 -162
- package/node_modules/@noble/hashes/_md.js.map +0 -1
- package/node_modules/@noble/hashes/_u64.d.ts +0 -55
- package/node_modules/@noble/hashes/_u64.d.ts.map +0 -1
- package/node_modules/@noble/hashes/_u64.js +0 -90
- package/node_modules/@noble/hashes/_u64.js.map +0 -1
- package/node_modules/@noble/hashes/argon2.d.ts +0 -32
- package/node_modules/@noble/hashes/argon2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/argon2.js +0 -401
- package/node_modules/@noble/hashes/argon2.js.map +0 -1
- package/node_modules/@noble/hashes/blake1.d.ts +0 -106
- package/node_modules/@noble/hashes/blake1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake1.js +0 -459
- package/node_modules/@noble/hashes/blake1.js.map +0 -1
- package/node_modules/@noble/hashes/blake2.d.ts +0 -116
- package/node_modules/@noble/hashes/blake2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2.js +0 -420
- package/node_modules/@noble/hashes/blake2.js.map +0 -1
- package/node_modules/@noble/hashes/blake2b.d.ts +0 -11
- package/node_modules/@noble/hashes/blake2b.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2b.js +0 -14
- package/node_modules/@noble/hashes/blake2b.js.map +0 -1
- package/node_modules/@noble/hashes/blake2s.d.ts +0 -20
- package/node_modules/@noble/hashes/blake2s.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake2s.js +0 -24
- package/node_modules/@noble/hashes/blake2s.js.map +0 -1
- package/node_modules/@noble/hashes/blake3.d.ts +0 -54
- package/node_modules/@noble/hashes/blake3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/blake3.js +0 -255
- package/node_modules/@noble/hashes/blake3.js.map +0 -1
- package/node_modules/@noble/hashes/crypto.d.ts +0 -2
- package/node_modules/@noble/hashes/crypto.d.ts.map +0 -1
- package/node_modules/@noble/hashes/crypto.js +0 -5
- package/node_modules/@noble/hashes/crypto.js.map +0 -1
- package/node_modules/@noble/hashes/cryptoNode.d.ts +0 -2
- package/node_modules/@noble/hashes/cryptoNode.d.ts.map +0 -1
- package/node_modules/@noble/hashes/cryptoNode.js +0 -18
- package/node_modules/@noble/hashes/cryptoNode.js.map +0 -1
- package/node_modules/@noble/hashes/eskdf.d.ts +0 -47
- package/node_modules/@noble/hashes/eskdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/eskdf.js +0 -166
- package/node_modules/@noble/hashes/eskdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_assert.d.ts +0 -17
- package/node_modules/@noble/hashes/esm/_assert.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_assert.js +0 -15
- package/node_modules/@noble/hashes/esm/_assert.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_blake.d.ts +0 -14
- package/node_modules/@noble/hashes/esm/_blake.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_blake.js +0 -45
- package/node_modules/@noble/hashes/esm/_blake.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_md.d.ts +0 -51
- package/node_modules/@noble/hashes/esm/_md.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_md.js +0 -155
- package/node_modules/@noble/hashes/esm/_md.js.map +0 -1
- package/node_modules/@noble/hashes/esm/_u64.d.ts +0 -55
- package/node_modules/@noble/hashes/esm/_u64.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/_u64.js +0 -67
- package/node_modules/@noble/hashes/esm/_u64.js.map +0 -1
- package/node_modules/@noble/hashes/esm/argon2.d.ts +0 -32
- package/node_modules/@noble/hashes/esm/argon2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/argon2.js +0 -392
- package/node_modules/@noble/hashes/esm/argon2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake1.d.ts +0 -106
- package/node_modules/@noble/hashes/esm/blake1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake1.js +0 -452
- package/node_modules/@noble/hashes/esm/blake1.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2.d.ts +0 -116
- package/node_modules/@noble/hashes/esm/blake2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2.js +0 -413
- package/node_modules/@noble/hashes/esm/blake2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2b.d.ts +0 -11
- package/node_modules/@noble/hashes/esm/blake2b.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2b.js +0 -11
- package/node_modules/@noble/hashes/esm/blake2b.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2s.d.ts +0 -20
- package/node_modules/@noble/hashes/esm/blake2s.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake2s.js +0 -21
- package/node_modules/@noble/hashes/esm/blake2s.js.map +0 -1
- package/node_modules/@noble/hashes/esm/blake3.d.ts +0 -54
- package/node_modules/@noble/hashes/esm/blake3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/blake3.js +0 -251
- package/node_modules/@noble/hashes/esm/blake3.js.map +0 -1
- package/node_modules/@noble/hashes/esm/crypto.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/crypto.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/crypto.js +0 -2
- package/node_modules/@noble/hashes/esm/crypto.js.map +0 -1
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/cryptoNode.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/cryptoNode.js +0 -15
- package/node_modules/@noble/hashes/esm/cryptoNode.js.map +0 -1
- package/node_modules/@noble/hashes/esm/eskdf.d.ts +0 -47
- package/node_modules/@noble/hashes/esm/eskdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/eskdf.js +0 -160
- package/node_modules/@noble/hashes/esm/eskdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/hkdf.d.ts +0 -36
- package/node_modules/@noble/hashes/esm/hkdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/hkdf.js +0 -82
- package/node_modules/@noble/hashes/esm/hkdf.js.map +0 -1
- package/node_modules/@noble/hashes/esm/hmac.d.ts +0 -35
- package/node_modules/@noble/hashes/esm/hmac.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/hmac.js +0 -86
- package/node_modules/@noble/hashes/esm/hmac.js.map +0 -1
- package/node_modules/@noble/hashes/esm/index.d.ts +0 -2
- package/node_modules/@noble/hashes/esm/index.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/index.js +0 -33
- package/node_modules/@noble/hashes/esm/index.js.map +0 -1
- package/node_modules/@noble/hashes/esm/legacy.d.ts +0 -71
- package/node_modules/@noble/hashes/esm/legacy.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/legacy.js +0 -281
- package/node_modules/@noble/hashes/esm/legacy.js.map +0 -1
- package/node_modules/@noble/hashes/esm/package.json +0 -10
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts +0 -23
- package/node_modules/@noble/hashes/esm/pbkdf2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/pbkdf2.js +0 -97
- package/node_modules/@noble/hashes/esm/pbkdf2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts +0 -13
- package/node_modules/@noble/hashes/esm/ripemd160.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/ripemd160.js +0 -13
- package/node_modules/@noble/hashes/esm/ripemd160.js.map +0 -1
- package/node_modules/@noble/hashes/esm/scrypt.d.ts +0 -34
- package/node_modules/@noble/hashes/esm/scrypt.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/scrypt.js +0 -228
- package/node_modules/@noble/hashes/esm/scrypt.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha1.d.ts +0 -11
- package/node_modules/@noble/hashes/esm/sha1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha1.js +0 -11
- package/node_modules/@noble/hashes/esm/sha1.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha2.d.ts +0 -159
- package/node_modules/@noble/hashes/esm/sha2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha2.js +0 -375
- package/node_modules/@noble/hashes/esm/sha2.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha256.d.ts +0 -20
- package/node_modules/@noble/hashes/esm/sha256.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha256.js +0 -20
- package/node_modules/@noble/hashes/esm/sha256.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts +0 -142
- package/node_modules/@noble/hashes/esm/sha3-addons.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3-addons.js +0 -393
- package/node_modules/@noble/hashes/esm/sha3-addons.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3.d.ts +0 -53
- package/node_modules/@noble/hashes/esm/sha3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha3.js +0 -234
- package/node_modules/@noble/hashes/esm/sha3.js.map +0 -1
- package/node_modules/@noble/hashes/esm/sha512.d.ts +0 -26
- package/node_modules/@noble/hashes/esm/sha512.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/sha512.js +0 -26
- package/node_modules/@noble/hashes/esm/sha512.js.map +0 -1
- package/node_modules/@noble/hashes/esm/utils.d.ts +0 -161
- package/node_modules/@noble/hashes/esm/utils.d.ts.map +0 -1
- package/node_modules/@noble/hashes/esm/utils.js +0 -281
- package/node_modules/@noble/hashes/esm/utils.js.map +0 -1
- package/node_modules/@noble/hashes/hkdf.d.ts +0 -36
- package/node_modules/@noble/hashes/hkdf.d.ts.map +0 -1
- package/node_modules/@noble/hashes/hkdf.js +0 -88
- package/node_modules/@noble/hashes/hkdf.js.map +0 -1
- package/node_modules/@noble/hashes/hmac.d.ts +0 -35
- package/node_modules/@noble/hashes/hmac.d.ts.map +0 -1
- package/node_modules/@noble/hashes/hmac.js +0 -91
- package/node_modules/@noble/hashes/hmac.js.map +0 -1
- package/node_modules/@noble/hashes/index.d.ts +0 -1
- package/node_modules/@noble/hashes/index.d.ts.map +0 -1
- package/node_modules/@noble/hashes/index.js +0 -33
- package/node_modules/@noble/hashes/index.js.map +0 -1
- package/node_modules/@noble/hashes/legacy.d.ts +0 -71
- package/node_modules/@noble/hashes/legacy.d.ts.map +0 -1
- package/node_modules/@noble/hashes/legacy.js +0 -287
- package/node_modules/@noble/hashes/legacy.js.map +0 -1
- package/node_modules/@noble/hashes/package.json +0 -266
- package/node_modules/@noble/hashes/pbkdf2.d.ts +0 -23
- package/node_modules/@noble/hashes/pbkdf2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/pbkdf2.js +0 -101
- package/node_modules/@noble/hashes/pbkdf2.js.map +0 -1
- package/node_modules/@noble/hashes/ripemd160.d.ts +0 -13
- package/node_modules/@noble/hashes/ripemd160.d.ts.map +0 -1
- package/node_modules/@noble/hashes/ripemd160.js +0 -16
- package/node_modules/@noble/hashes/ripemd160.js.map +0 -1
- package/node_modules/@noble/hashes/scrypt.d.ts +0 -34
- package/node_modules/@noble/hashes/scrypt.d.ts.map +0 -1
- package/node_modules/@noble/hashes/scrypt.js +0 -232
- package/node_modules/@noble/hashes/scrypt.js.map +0 -1
- package/node_modules/@noble/hashes/sha1.d.ts +0 -11
- package/node_modules/@noble/hashes/sha1.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha1.js +0 -14
- package/node_modules/@noble/hashes/sha1.js.map +0 -1
- package/node_modules/@noble/hashes/sha2.d.ts +0 -159
- package/node_modules/@noble/hashes/sha2.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha2.js +0 -384
- package/node_modules/@noble/hashes/sha2.js.map +0 -1
- package/node_modules/@noble/hashes/sha256.d.ts +0 -20
- package/node_modules/@noble/hashes/sha256.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha256.js +0 -23
- package/node_modules/@noble/hashes/sha256.js.map +0 -1
- package/node_modules/@noble/hashes/sha3-addons.d.ts +0 -142
- package/node_modules/@noble/hashes/sha3-addons.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha3-addons.js +0 -402
- package/node_modules/@noble/hashes/sha3-addons.js.map +0 -1
- package/node_modules/@noble/hashes/sha3.d.ts +0 -53
- package/node_modules/@noble/hashes/sha3.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha3.js +0 -239
- package/node_modules/@noble/hashes/sha3.js.map +0 -1
- package/node_modules/@noble/hashes/sha512.d.ts +0 -26
- package/node_modules/@noble/hashes/sha512.d.ts.map +0 -1
- package/node_modules/@noble/hashes/sha512.js +0 -29
- package/node_modules/@noble/hashes/sha512.js.map +0 -1
- package/node_modules/@noble/hashes/src/_assert.ts +0 -22
- package/node_modules/@noble/hashes/src/_blake.ts +0 -50
- package/node_modules/@noble/hashes/src/_md.ts +0 -176
- package/node_modules/@noble/hashes/src/_u64.ts +0 -91
- package/node_modules/@noble/hashes/src/argon2.ts +0 -497
- package/node_modules/@noble/hashes/src/blake1.ts +0 -534
- package/node_modules/@noble/hashes/src/blake2.ts +0 -486
- package/node_modules/@noble/hashes/src/blake2b.ts +0 -10
- package/node_modules/@noble/hashes/src/blake2s.ts +0 -20
- package/node_modules/@noble/hashes/src/blake3.ts +0 -272
- package/node_modules/@noble/hashes/src/crypto.ts +0 -9
- package/node_modules/@noble/hashes/src/cryptoNode.ts +0 -15
- package/node_modules/@noble/hashes/src/eskdf.ts +0 -187
- package/node_modules/@noble/hashes/src/hkdf.ts +0 -88
- package/node_modules/@noble/hashes/src/hmac.ts +0 -94
- package/node_modules/@noble/hashes/src/index.ts +0 -31
- package/node_modules/@noble/hashes/src/legacy.ts +0 -293
- package/node_modules/@noble/hashes/src/pbkdf2.ts +0 -122
- package/node_modules/@noble/hashes/src/ripemd160.ts +0 -12
- package/node_modules/@noble/hashes/src/scrypt.ts +0 -257
- package/node_modules/@noble/hashes/src/sha1.ts +0 -10
- package/node_modules/@noble/hashes/src/sha2.ts +0 -402
- package/node_modules/@noble/hashes/src/sha256.ts +0 -24
- package/node_modules/@noble/hashes/src/sha3-addons.ts +0 -499
- package/node_modules/@noble/hashes/src/sha3.ts +0 -258
- package/node_modules/@noble/hashes/src/sha512.ts +0 -34
- package/node_modules/@noble/hashes/src/utils.ts +0 -395
- package/node_modules/@noble/hashes/utils.d.ts +0 -161
- package/node_modules/@noble/hashes/utils.d.ts.map +0 -1
- package/node_modules/@noble/hashes/utils.js +0 -313
- package/node_modules/@noble/hashes/utils.js.map +0 -1
- package/node_modules/@solana/buffer-layout/LICENSE +0 -21
- package/node_modules/@solana/buffer-layout/README.md +0 -403
- package/node_modules/@solana/buffer-layout/lib/Layout.d.ts +0 -1191
- package/node_modules/@solana/buffer-layout/lib/Layout.js +0 -2390
- package/node_modules/@solana/buffer-layout/lib/Layout.js.map +0 -1
- package/node_modules/@solana/buffer-layout/package.json +0 -55
- package/node_modules/@solana/web3.js/LICENSE +0 -20
- package/node_modules/@solana/web3.js/README.md +0 -145
- package/node_modules/@solana/web3.js/lib/index.browser.cjs.js +0 -10562
- package/node_modules/@solana/web3.js/lib/index.browser.cjs.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.browser.esm.js +0 -10461
- package/node_modules/@solana/web3.js/lib/index.browser.esm.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.cjs.js +0 -11311
- package/node_modules/@solana/web3.js/lib/index.cjs.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.d.ts +0 -4021
- package/node_modules/@solana/web3.js/lib/index.esm.js +0 -11206
- package/node_modules/@solana/web3.js/lib/index.esm.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.iife.js +0 -26083
- package/node_modules/@solana/web3.js/lib/index.iife.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.iife.min.js +0 -20
- package/node_modules/@solana/web3.js/lib/index.iife.min.js.map +0 -1
- package/node_modules/@solana/web3.js/lib/index.native.js +0 -10562
- package/node_modules/@solana/web3.js/lib/index.native.js.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/LICENSE +0 -20
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/README.md +0 -662
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-core/package.json +0 -83
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/LICENSE +0 -20
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/README.md +0 -130
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/codecs-numbers/package.json +0 -83
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/LICENSE +0 -20
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/README.md +0 -87
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/bin/cli.mjs +0 -7
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/cli.mjs +0 -570
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs +0 -1084
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs +0 -852
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs +0 -852
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs +0 -1084
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs +0 -852
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts +0 -275
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts +0 -398
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -51
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/@solana/errors/package.json +0 -84
- package/node_modules/@solana/web3.js/node_modules/commander/LICENSE +0 -22
- package/node_modules/@solana/web3.js/node_modules/commander/Readme.md +0 -1149
- package/node_modules/@solana/web3.js/node_modules/commander/esm.mjs +0 -16
- package/node_modules/@solana/web3.js/node_modules/commander/index.js +0 -24
- package/node_modules/@solana/web3.js/node_modules/commander/lib/argument.js +0 -149
- package/node_modules/@solana/web3.js/node_modules/commander/lib/command.js +0 -2662
- package/node_modules/@solana/web3.js/node_modules/commander/lib/error.js +0 -39
- package/node_modules/@solana/web3.js/node_modules/commander/lib/help.js +0 -709
- package/node_modules/@solana/web3.js/node_modules/commander/lib/option.js +0 -367
- package/node_modules/@solana/web3.js/node_modules/commander/lib/suggestSimilar.js +0 -101
- package/node_modules/@solana/web3.js/node_modules/commander/package-support.json +0 -16
- package/node_modules/@solana/web3.js/node_modules/commander/package.json +0 -82
- package/node_modules/@solana/web3.js/node_modules/commander/typings/esm.d.mts +0 -3
- package/node_modules/@solana/web3.js/node_modules/commander/typings/index.d.ts +0 -1045
- package/node_modules/@solana/web3.js/node_modules/superstruct/License.md +0 -9
- package/node_modules/@solana/web3.js/node_modules/superstruct/Readme.md +0 -230
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts +0 -33
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/error.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs +0 -1084
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.cjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts +0 -7
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs +0 -1026
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/index.mjs.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts +0 -119
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/struct.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts +0 -29
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/coercions.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts +0 -38
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/refinements.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts +0 -142
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/types.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts +0 -66
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/structs/utilities.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts +0 -144
- package/node_modules/@solana/web3.js/node_modules/superstruct/dist/utils.d.ts.map +0 -1
- package/node_modules/@solana/web3.js/node_modules/superstruct/package.json +0 -85
- package/node_modules/@solana/web3.js/package.json +0 -75
- package/node_modules/@solana/web3.js/src/__forks__/browser/fetch-impl.ts +0 -4
- package/node_modules/@solana/web3.js/src/__forks__/react-native/fetch-impl.ts +0 -4
- package/node_modules/@solana/web3.js/src/account-data.ts +0 -39
- package/node_modules/@solana/web3.js/src/account.ts +0 -55
- package/node_modules/@solana/web3.js/src/blockhash.ts +0 -4
- package/node_modules/@solana/web3.js/src/bpf-loader-deprecated.ts +0 -5
- package/node_modules/@solana/web3.js/src/bpf-loader.ts +0 -50
- package/node_modules/@solana/web3.js/src/connection.ts +0 -6955
- package/node_modules/@solana/web3.js/src/epoch-schedule.ts +0 -102
- package/node_modules/@solana/web3.js/src/errors.ts +0 -133
- package/node_modules/@solana/web3.js/src/fee-calculator.ts +0 -18
- package/node_modules/@solana/web3.js/src/fetch-impl.ts +0 -16
- package/node_modules/@solana/web3.js/src/index.ts +0 -24
- package/node_modules/@solana/web3.js/src/instruction.ts +0 -58
- package/node_modules/@solana/web3.js/src/keypair.ts +0 -102
- package/node_modules/@solana/web3.js/src/layout.ts +0 -188
- package/node_modules/@solana/web3.js/src/loader.ts +0 -267
- package/node_modules/@solana/web3.js/src/message/account-keys.ts +0 -79
- package/node_modules/@solana/web3.js/src/message/compiled-keys.ts +0 -165
- package/node_modules/@solana/web3.js/src/message/index.ts +0 -47
- package/node_modules/@solana/web3.js/src/message/legacy.ts +0 -323
- package/node_modules/@solana/web3.js/src/message/v0.ts +0 -513
- package/node_modules/@solana/web3.js/src/message/versioned.ts +0 -36
- package/node_modules/@solana/web3.js/src/nonce-account.ts +0 -82
- package/node_modules/@solana/web3.js/src/programs/address-lookup-table/index.ts +0 -438
- package/node_modules/@solana/web3.js/src/programs/address-lookup-table/state.ts +0 -84
- package/node_modules/@solana/web3.js/src/programs/compute-budget.ts +0 -281
- package/node_modules/@solana/web3.js/src/programs/ed25519.ts +0 -157
- package/node_modules/@solana/web3.js/src/programs/index.ts +0 -7
- package/node_modules/@solana/web3.js/src/programs/secp256k1.ts +0 -228
- package/node_modules/@solana/web3.js/src/programs/stake.ts +0 -952
- package/node_modules/@solana/web3.js/src/programs/system.ts +0 -1048
- package/node_modules/@solana/web3.js/src/programs/vote.ts +0 -586
- package/node_modules/@solana/web3.js/src/publickey.ts +0 -259
- package/node_modules/@solana/web3.js/src/rpc-websocket.ts +0 -75
- package/node_modules/@solana/web3.js/src/sysvar.ts +0 -37
- package/node_modules/@solana/web3.js/src/timing.ts +0 -23
- package/node_modules/@solana/web3.js/src/transaction/constants.ts +0 -12
- package/node_modules/@solana/web3.js/src/transaction/expiry-custom-errors.ts +0 -48
- package/node_modules/@solana/web3.js/src/transaction/index.ts +0 -5
- package/node_modules/@solana/web3.js/src/transaction/legacy.ts +0 -970
- package/node_modules/@solana/web3.js/src/transaction/message.ts +0 -140
- package/node_modules/@solana/web3.js/src/transaction/versioned.ts +0 -127
- package/node_modules/@solana/web3.js/src/utils/assert.ts +0 -8
- package/node_modules/@solana/web3.js/src/utils/bigint.ts +0 -24
- package/node_modules/@solana/web3.js/src/utils/borsh-schema.ts +0 -38
- package/node_modules/@solana/web3.js/src/utils/cluster.ts +0 -35
- package/node_modules/@solana/web3.js/src/utils/ed25519.ts +0 -43
- package/node_modules/@solana/web3.js/src/utils/guarded-array-utils.ts +0 -34
- package/node_modules/@solana/web3.js/src/utils/index.ts +0 -5
- package/node_modules/@solana/web3.js/src/utils/makeWebsocketUrl.ts +0 -26
- package/node_modules/@solana/web3.js/src/utils/promise-timeout.ts +0 -14
- package/node_modules/@solana/web3.js/src/utils/secp256k1.ts +0 -11
- package/node_modules/@solana/web3.js/src/utils/send-and-confirm-raw-transaction.ts +0 -110
- package/node_modules/@solana/web3.js/src/utils/send-and-confirm-transaction.ts +0 -106
- package/node_modules/@solana/web3.js/src/utils/shortvec-encoding.ts +0 -28
- package/node_modules/@solana/web3.js/src/utils/sleep.ts +0 -4
- package/node_modules/@solana/web3.js/src/utils/to-buffer.ts +0 -11
- package/node_modules/@solana/web3.js/src/validator-info.ts +0 -108
- package/node_modules/@solana/web3.js/src/vote-account.ts +0 -236
- package/node_modules/@swc/helpers/LICENSE +0 -201
- package/node_modules/@swc/helpers/_/_apply_decorated_descriptor/package.json +0 -4
- package/node_modules/@swc/helpers/_/_apply_decs_2203_r/package.json +0 -4
- package/node_modules/@swc/helpers/_/_array_like_to_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_array_with_holes/package.json +0 -4
- package/node_modules/@swc/helpers/_/_array_without_holes/package.json +0 -4
- package/node_modules/@swc/helpers/_/_assert_this_initialized/package.json +0 -4
- package/node_modules/@swc/helpers/_/_async_generator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_async_generator_delegate/package.json +0 -4
- package/node_modules/@swc/helpers/_/_async_iterator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_async_to_generator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_await_async_generator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_await_value/package.json +0 -4
- package/node_modules/@swc/helpers/_/_call_super/package.json +0 -4
- package/node_modules/@swc/helpers/_/_check_private_redeclaration/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_destructure/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_set/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_apply_descriptor_update/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_call_check/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_check_private_static_access/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_check_private_static_field_descriptor/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_extract_field_descriptor/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_name_tdz_error/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_destructure/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_init/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_loose_base/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_loose_key/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_set/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_field_update/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_method_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_method_init/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_private_method_set/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_static_private_field_destructure/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_static_private_field_spec_set/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_static_private_field_update/package.json +0 -4
- package/node_modules/@swc/helpers/_/_class_static_private_method_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_construct/package.json +0 -4
- package/node_modules/@swc/helpers/_/_create_class/package.json +0 -4
- package/node_modules/@swc/helpers/_/_create_for_of_iterator_helper_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_create_super/package.json +0 -4
- package/node_modules/@swc/helpers/_/_decorate/package.json +0 -4
- package/node_modules/@swc/helpers/_/_defaults/package.json +0 -4
- package/node_modules/@swc/helpers/_/_define_enumerable_properties/package.json +0 -4
- package/node_modules/@swc/helpers/_/_define_property/package.json +0 -4
- package/node_modules/@swc/helpers/_/_dispose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_export_star/package.json +0 -4
- package/node_modules/@swc/helpers/_/_extends/package.json +0 -4
- package/node_modules/@swc/helpers/_/_get/package.json +0 -4
- package/node_modules/@swc/helpers/_/_get_prototype_of/package.json +0 -4
- package/node_modules/@swc/helpers/_/_identity/package.json +0 -4
- package/node_modules/@swc/helpers/_/_inherits/package.json +0 -4
- package/node_modules/@swc/helpers/_/_inherits_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_initializer_define_property/package.json +0 -4
- package/node_modules/@swc/helpers/_/_initializer_warning_helper/package.json +0 -4
- package/node_modules/@swc/helpers/_/_instanceof/package.json +0 -4
- package/node_modules/@swc/helpers/_/_interop_require_default/package.json +0 -4
- package/node_modules/@swc/helpers/_/_interop_require_wildcard/package.json +0 -4
- package/node_modules/@swc/helpers/_/_is_native_function/package.json +0 -4
- package/node_modules/@swc/helpers/_/_is_native_reflect_construct/package.json +0 -4
- package/node_modules/@swc/helpers/_/_iterable_to_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit/package.json +0 -4
- package/node_modules/@swc/helpers/_/_iterable_to_array_limit_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_jsx/package.json +0 -4
- package/node_modules/@swc/helpers/_/_new_arrow_check/package.json +0 -4
- package/node_modules/@swc/helpers/_/_non_iterable_rest/package.json +0 -4
- package/node_modules/@swc/helpers/_/_non_iterable_spread/package.json +0 -4
- package/node_modules/@swc/helpers/_/_object_destructuring_empty/package.json +0 -4
- package/node_modules/@swc/helpers/_/_object_spread/package.json +0 -4
- package/node_modules/@swc/helpers/_/_object_spread_props/package.json +0 -4
- package/node_modules/@swc/helpers/_/_object_without_properties/package.json +0 -4
- package/node_modules/@swc/helpers/_/_object_without_properties_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_overload_yield/package.json +0 -4
- package/node_modules/@swc/helpers/_/_possible_constructor_return/package.json +0 -4
- package/node_modules/@swc/helpers/_/_read_only_error/package.json +0 -4
- package/node_modules/@swc/helpers/_/_set/package.json +0 -4
- package/node_modules/@swc/helpers/_/_set_prototype_of/package.json +0 -4
- package/node_modules/@swc/helpers/_/_skip_first_generator_next/package.json +0 -4
- package/node_modules/@swc/helpers/_/_sliced_to_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_sliced_to_array_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_super_prop_base/package.json +0 -4
- package/node_modules/@swc/helpers/_/_tagged_template_literal/package.json +0 -4
- package/node_modules/@swc/helpers/_/_tagged_template_literal_loose/package.json +0 -4
- package/node_modules/@swc/helpers/_/_throw/package.json +0 -4
- package/node_modules/@swc/helpers/_/_to_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_to_consumable_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_to_primitive/package.json +0 -4
- package/node_modules/@swc/helpers/_/_to_property_key/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_add_disposable_resource/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_decorate/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_dispose_resources/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_generator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_metadata/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_param/package.json +0 -4
- package/node_modules/@swc/helpers/_/_ts_values/package.json +0 -4
- package/node_modules/@swc/helpers/_/_type_of/package.json +0 -4
- package/node_modules/@swc/helpers/_/_unsupported_iterable_to_array/package.json +0 -4
- package/node_modules/@swc/helpers/_/_update/package.json +0 -4
- package/node_modules/@swc/helpers/_/_using/package.json +0 -4
- package/node_modules/@swc/helpers/_/_using_ctx/package.json +0 -4
- package/node_modules/@swc/helpers/_/_wrap_async_generator/package.json +0 -4
- package/node_modules/@swc/helpers/_/_wrap_native_super/package.json +0 -4
- package/node_modules/@swc/helpers/_/_write_only_error/package.json +0 -4
- package/node_modules/@swc/helpers/_/index/package.json +0 -4
- package/node_modules/@swc/helpers/cjs/_apply_decorated_descriptor.cjs +0 -35
- package/node_modules/@swc/helpers/cjs/_apply_decs_2203_r.cjs +0 -550
- package/node_modules/@swc/helpers/cjs/_array_like_to_array.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_array_with_holes.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_array_without_holes.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_assert_this_initialized.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_async_generator.cjs +0 -76
- package/node_modules/@swc/helpers/cjs/_async_generator_delegate.cjs +0 -53
- package/node_modules/@swc/helpers/cjs/_async_iterator.cjs +0 -46
- package/node_modules/@swc/helpers/cjs/_async_to_generator.cjs +0 -33
- package/node_modules/@swc/helpers/cjs/_await_async_generator.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_await_value.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_call_super.cjs +0 -19
- package/node_modules/@swc/helpers/cjs/_check_private_redeclaration.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_destructure.cjs +0 -25
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_get.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_set.cjs +0 -15
- package/node_modules/@swc/helpers/cjs/_class_apply_descriptor_update.cjs +0 -30
- package/node_modules/@swc/helpers/cjs/_class_call_check.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_access.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_class_check_private_static_field_descriptor.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_extract_field_descriptor.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_name_tdz_error.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_class_private_field_destructure.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_class_private_field_get.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_class_private_field_init.cjs +0 -9
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_base.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_class_private_field_loose_key.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_private_field_set.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_class_private_field_update.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_class_private_method_get.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_class_private_method_init.cjs +0 -9
- package/node_modules/@swc/helpers/cjs/_class_private_method_set.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_destructure.cjs +0 -13
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_get.cjs +0 -13
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_spec_set.cjs +0 -14
- package/node_modules/@swc/helpers/cjs/_class_static_private_field_update.cjs +0 -13
- package/node_modules/@swc/helpers/cjs/_class_static_private_method_get.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_construct.cjs +0 -22
- package/node_modules/@swc/helpers/cjs/_create_class.cjs +0 -20
- package/node_modules/@swc/helpers/cjs/_create_for_of_iterator_helper_loose.cjs +0 -24
- package/node_modules/@swc/helpers/cjs/_create_super.cjs +0 -23
- package/node_modules/@swc/helpers/cjs/_decorate.cjs +0 -270
- package/node_modules/@swc/helpers/cjs/_defaults.cjs +0 -15
- package/node_modules/@swc/helpers/cjs/_define_enumerable_properties.cjs +0 -26
- package/node_modules/@swc/helpers/cjs/_define_property.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_dispose.cjs +0 -43
- package/node_modules/@swc/helpers/cjs/_export_star.cjs +0 -17
- package/node_modules/@swc/helpers/cjs/_extends.cjs +0 -15
- package/node_modules/@swc/helpers/cjs/_get.cjs +0 -23
- package/node_modules/@swc/helpers/cjs/_get_prototype_of.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_identity.cjs +0 -7
- package/node_modules/@swc/helpers/cjs/_inherits.cjs +0 -14
- package/node_modules/@swc/helpers/cjs/_inherits_loose.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_initializer_define_property.cjs +0 -13
- package/node_modules/@swc/helpers/cjs/_initializer_warning_helper.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_instanceof.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +0 -38
- package/node_modules/@swc/helpers/cjs/_is_native_function.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_is_native_reflect_construct.cjs +0 -18
- package/node_modules/@swc/helpers/cjs/_iterable_to_array.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit.cjs +0 -31
- package/node_modules/@swc/helpers/cjs/_iterable_to_array_limit_loose.cjs +0 -17
- package/node_modules/@swc/helpers/cjs/_jsx.cjs +0 -28
- package/node_modules/@swc/helpers/cjs/_new_arrow_check.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_non_iterable_rest.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_non_iterable_spread.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_object_destructuring_empty.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_object_spread.cjs +0 -25
- package/node_modules/@swc/helpers/cjs/_object_spread_props.cjs +0 -30
- package/node_modules/@swc/helpers/cjs/_object_without_properties.cjs +0 -23
- package/node_modules/@swc/helpers/cjs/_object_without_properties_loose.cjs +0 -18
- package/node_modules/@swc/helpers/cjs/_overload_yield.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_possible_constructor_return.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_read_only_error.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_set.cjs +0 -44
- package/node_modules/@swc/helpers/cjs/_set_prototype_of.cjs +0 -12
- package/node_modules/@swc/helpers/cjs/_skip_first_generator_next.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_sliced_to_array.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_sliced_to_array_loose.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_super_prop_base.cjs +0 -13
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_tagged_template_literal_loose.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_throw.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/_to_array.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_to_consumable_array.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_to_primitive.cjs +0 -18
- package/node_modules/@swc/helpers/cjs/_to_property_key.cjs +0 -11
- package/node_modules/@swc/helpers/cjs/_ts_add_disposable_resource.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_decorate.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_dispose_resources.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_generator.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_metadata.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_param.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_ts_values.cjs +0 -3
- package/node_modules/@swc/helpers/cjs/_type_of.cjs +0 -8
- package/node_modules/@swc/helpers/cjs/_unsupported_iterable_to_array.cjs +0 -15
- package/node_modules/@swc/helpers/cjs/_update.cjs +0 -16
- package/node_modules/@swc/helpers/cjs/_using.cjs +0 -24
- package/node_modules/@swc/helpers/cjs/_using_ctx.cjs +0 -75
- package/node_modules/@swc/helpers/cjs/_wrap_async_generator.cjs +0 -10
- package/node_modules/@swc/helpers/cjs/_wrap_native_super.cjs +0 -28
- package/node_modules/@swc/helpers/cjs/_write_only_error.cjs +0 -6
- package/node_modules/@swc/helpers/cjs/index.cjs +0 -427
- package/node_modules/@swc/helpers/esm/_apply_decorated_descriptor.js +0 -33
- package/node_modules/@swc/helpers/esm/_apply_decs_2203_r.js +0 -548
- package/node_modules/@swc/helpers/esm/_array_like_to_array.js +0 -8
- package/node_modules/@swc/helpers/esm/_array_with_holes.js +0 -4
- package/node_modules/@swc/helpers/esm/_array_without_holes.js +0 -6
- package/node_modules/@swc/helpers/esm/_assert_this_initialized.js +0 -6
- package/node_modules/@swc/helpers/esm/_async_generator.js +0 -74
- package/node_modules/@swc/helpers/esm/_async_generator_delegate.js +0 -51
- package/node_modules/@swc/helpers/esm/_async_iterator.js +0 -44
- package/node_modules/@swc/helpers/esm/_async_to_generator.js +0 -31
- package/node_modules/@swc/helpers/esm/_await_async_generator.js +0 -6
- package/node_modules/@swc/helpers/esm/_await_value.js +0 -4
- package/node_modules/@swc/helpers/esm/_call_super.js +0 -17
- package/node_modules/@swc/helpers/esm/_check_private_redeclaration.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_destructure.js +0 -23
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_get.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_set.js +0 -13
- package/node_modules/@swc/helpers/esm/_class_apply_descriptor_update.js +0 -28
- package/node_modules/@swc/helpers/esm/_class_call_check.js +0 -4
- package/node_modules/@swc/helpers/esm/_class_check_private_static_access.js +0 -4
- package/node_modules/@swc/helpers/esm/_class_check_private_static_field_descriptor.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_extract_field_descriptor.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_name_tdz_error.js +0 -4
- package/node_modules/@swc/helpers/esm/_class_private_field_destructure.js +0 -8
- package/node_modules/@swc/helpers/esm/_class_private_field_get.js +0 -8
- package/node_modules/@swc/helpers/esm/_class_private_field_init.js +0 -7
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_base.js +0 -8
- package/node_modules/@swc/helpers/esm/_class_private_field_loose_key.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_private_field_set.js +0 -9
- package/node_modules/@swc/helpers/esm/_class_private_field_update.js +0 -8
- package/node_modules/@swc/helpers/esm/_class_private_method_get.js +0 -6
- package/node_modules/@swc/helpers/esm/_class_private_method_init.js +0 -7
- package/node_modules/@swc/helpers/esm/_class_private_method_set.js +0 -4
- package/node_modules/@swc/helpers/esm/_class_static_private_field_destructure.js +0 -11
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_get.js +0 -11
- package/node_modules/@swc/helpers/esm/_class_static_private_field_spec_set.js +0 -12
- package/node_modules/@swc/helpers/esm/_class_static_private_field_update.js +0 -11
- package/node_modules/@swc/helpers/esm/_class_static_private_method_get.js +0 -8
- package/node_modules/@swc/helpers/esm/_construct.js +0 -20
- package/node_modules/@swc/helpers/esm/_create_class.js +0 -18
- package/node_modules/@swc/helpers/esm/_create_for_of_iterator_helper_loose.js +0 -22
- package/node_modules/@swc/helpers/esm/_create_super.js +0 -21
- package/node_modules/@swc/helpers/esm/_decorate.js +0 -268
- package/node_modules/@swc/helpers/esm/_defaults.js +0 -13
- package/node_modules/@swc/helpers/esm/_define_enumerable_properties.js +0 -24
- package/node_modules/@swc/helpers/esm/_define_property.js +0 -8
- package/node_modules/@swc/helpers/esm/_dispose.js +0 -41
- package/node_modules/@swc/helpers/esm/_export_star.js +0 -15
- package/node_modules/@swc/helpers/esm/_extends.js +0 -13
- package/node_modules/@swc/helpers/esm/_get.js +0 -21
- package/node_modules/@swc/helpers/esm/_get_prototype_of.js +0 -8
- package/node_modules/@swc/helpers/esm/_identity.js +0 -5
- package/node_modules/@swc/helpers/esm/_inherits.js +0 -12
- package/node_modules/@swc/helpers/esm/_inherits_loose.js +0 -6
- package/node_modules/@swc/helpers/esm/_initializer_define_property.js +0 -11
- package/node_modules/@swc/helpers/esm/_initializer_warning_helper.js +0 -9
- package/node_modules/@swc/helpers/esm/_instanceof.js +0 -6
- package/node_modules/@swc/helpers/esm/_interop_require_default.js +0 -4
- package/node_modules/@swc/helpers/esm/_interop_require_wildcard.js +0 -36
- package/node_modules/@swc/helpers/esm/_is_native_function.js +0 -4
- package/node_modules/@swc/helpers/esm/_is_native_reflect_construct.js +0 -16
- package/node_modules/@swc/helpers/esm/_iterable_to_array.js +0 -6
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit.js +0 -29
- package/node_modules/@swc/helpers/esm/_iterable_to_array_limit_loose.js +0 -15
- package/node_modules/@swc/helpers/esm/_jsx.js +0 -26
- package/node_modules/@swc/helpers/esm/_new_arrow_check.js +0 -4
- package/node_modules/@swc/helpers/esm/_non_iterable_rest.js +0 -4
- package/node_modules/@swc/helpers/esm/_non_iterable_spread.js +0 -4
- package/node_modules/@swc/helpers/esm/_object_destructuring_empty.js +0 -6
- package/node_modules/@swc/helpers/esm/_object_spread.js +0 -23
- package/node_modules/@swc/helpers/esm/_object_spread_props.js +0 -28
- package/node_modules/@swc/helpers/esm/_object_without_properties.js +0 -21
- package/node_modules/@swc/helpers/esm/_object_without_properties_loose.js +0 -16
- package/node_modules/@swc/helpers/esm/_overload_yield.js +0 -6
- package/node_modules/@swc/helpers/esm/_possible_constructor_return.js +0 -9
- package/node_modules/@swc/helpers/esm/_read_only_error.js +0 -4
- package/node_modules/@swc/helpers/esm/_set.js +0 -42
- package/node_modules/@swc/helpers/esm/_set_prototype_of.js +0 -10
- package/node_modules/@swc/helpers/esm/_skip_first_generator_next.js +0 -9
- package/node_modules/@swc/helpers/esm/_sliced_to_array.js +0 -9
- package/node_modules/@swc/helpers/esm/_sliced_to_array_loose.js +0 -9
- package/node_modules/@swc/helpers/esm/_super_prop_base.js +0 -11
- package/node_modules/@swc/helpers/esm/_tagged_template_literal.js +0 -6
- package/node_modules/@swc/helpers/esm/_tagged_template_literal_loose.js +0 -8
- package/node_modules/@swc/helpers/esm/_throw.js +0 -4
- package/node_modules/@swc/helpers/esm/_to_array.js +0 -9
- package/node_modules/@swc/helpers/esm/_to_consumable_array.js +0 -9
- package/node_modules/@swc/helpers/esm/_to_primitive.js +0 -16
- package/node_modules/@swc/helpers/esm/_to_property_key.js +0 -9
- package/node_modules/@swc/helpers/esm/_ts_add_disposable_resource.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_decorate.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_dispose_resources.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_generator.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_metadata.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_param.js +0 -1
- package/node_modules/@swc/helpers/esm/_ts_values.js +0 -1
- package/node_modules/@swc/helpers/esm/_type_of.js +0 -6
- package/node_modules/@swc/helpers/esm/_unsupported_iterable_to_array.js +0 -13
- package/node_modules/@swc/helpers/esm/_update.js +0 -14
- package/node_modules/@swc/helpers/esm/_using.js +0 -22
- package/node_modules/@swc/helpers/esm/_using_ctx.js +0 -73
- package/node_modules/@swc/helpers/esm/_wrap_async_generator.js +0 -8
- package/node_modules/@swc/helpers/esm/_wrap_native_super.js +0 -26
- package/node_modules/@swc/helpers/esm/_write_only_error.js +0 -4
- package/node_modules/@swc/helpers/esm/index.js +0 -107
- package/node_modules/@swc/helpers/package.json +0 -689
- package/node_modules/@swc/helpers/scripts/ast_grep.js +0 -229
- package/node_modules/@swc/helpers/scripts/build.js +0 -133
- package/node_modules/@swc/helpers/scripts/errors.js +0 -1
- package/node_modules/@swc/helpers/scripts/utils.js +0 -3
- package/node_modules/@swc/helpers/src/_apply_decorated_descriptor.mjs +0 -1
- package/node_modules/@swc/helpers/src/_apply_decs_2203_r.mjs +0 -1
- package/node_modules/@swc/helpers/src/_array_like_to_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_array_with_holes.mjs +0 -1
- package/node_modules/@swc/helpers/src/_array_without_holes.mjs +0 -1
- package/node_modules/@swc/helpers/src/_assert_this_initialized.mjs +0 -1
- package/node_modules/@swc/helpers/src/_async_generator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_async_generator_delegate.mjs +0 -1
- package/node_modules/@swc/helpers/src/_async_iterator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_async_to_generator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_await_async_generator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_await_value.mjs +0 -1
- package/node_modules/@swc/helpers/src/_call_super.mjs +0 -1
- package/node_modules/@swc/helpers/src/_check_private_redeclaration.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_destructure.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_set.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_apply_descriptor_update.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_call_check.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_check_private_static_access.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_check_private_static_field_descriptor.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_extract_field_descriptor.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_name_tdz_error.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_destructure.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_init.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_loose_base.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_loose_key.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_set.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_field_update.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_method_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_method_init.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_private_method_set.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_static_private_field_destructure.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_static_private_field_spec_set.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_static_private_field_update.mjs +0 -1
- package/node_modules/@swc/helpers/src/_class_static_private_method_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_construct.mjs +0 -1
- package/node_modules/@swc/helpers/src/_create_class.mjs +0 -1
- package/node_modules/@swc/helpers/src/_create_for_of_iterator_helper_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_create_super.mjs +0 -1
- package/node_modules/@swc/helpers/src/_decorate.mjs +0 -1
- package/node_modules/@swc/helpers/src/_defaults.mjs +0 -1
- package/node_modules/@swc/helpers/src/_define_enumerable_properties.mjs +0 -1
- package/node_modules/@swc/helpers/src/_define_property.mjs +0 -1
- package/node_modules/@swc/helpers/src/_dispose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_export_star.mjs +0 -1
- package/node_modules/@swc/helpers/src/_extends.mjs +0 -1
- package/node_modules/@swc/helpers/src/_get.mjs +0 -1
- package/node_modules/@swc/helpers/src/_get_prototype_of.mjs +0 -1
- package/node_modules/@swc/helpers/src/_identity.mjs +0 -1
- package/node_modules/@swc/helpers/src/_inherits.mjs +0 -1
- package/node_modules/@swc/helpers/src/_inherits_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_initializer_define_property.mjs +0 -1
- package/node_modules/@swc/helpers/src/_initializer_warning_helper.mjs +0 -1
- package/node_modules/@swc/helpers/src/_instanceof.mjs +0 -1
- package/node_modules/@swc/helpers/src/_interop_require_default.mjs +0 -1
- package/node_modules/@swc/helpers/src/_interop_require_wildcard.mjs +0 -1
- package/node_modules/@swc/helpers/src/_is_native_function.mjs +0 -1
- package/node_modules/@swc/helpers/src/_is_native_reflect_construct.mjs +0 -1
- package/node_modules/@swc/helpers/src/_iterable_to_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit.mjs +0 -1
- package/node_modules/@swc/helpers/src/_iterable_to_array_limit_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_jsx.mjs +0 -1
- package/node_modules/@swc/helpers/src/_new_arrow_check.mjs +0 -1
- package/node_modules/@swc/helpers/src/_non_iterable_rest.mjs +0 -1
- package/node_modules/@swc/helpers/src/_non_iterable_spread.mjs +0 -1
- package/node_modules/@swc/helpers/src/_object_destructuring_empty.mjs +0 -1
- package/node_modules/@swc/helpers/src/_object_spread.mjs +0 -1
- package/node_modules/@swc/helpers/src/_object_spread_props.mjs +0 -1
- package/node_modules/@swc/helpers/src/_object_without_properties.mjs +0 -1
- package/node_modules/@swc/helpers/src/_object_without_properties_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_overload_yield.mjs +0 -1
- package/node_modules/@swc/helpers/src/_possible_constructor_return.mjs +0 -1
- package/node_modules/@swc/helpers/src/_read_only_error.mjs +0 -1
- package/node_modules/@swc/helpers/src/_set.mjs +0 -1
- package/node_modules/@swc/helpers/src/_set_prototype_of.mjs +0 -1
- package/node_modules/@swc/helpers/src/_skip_first_generator_next.mjs +0 -1
- package/node_modules/@swc/helpers/src/_sliced_to_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_sliced_to_array_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_super_prop_base.mjs +0 -1
- package/node_modules/@swc/helpers/src/_tagged_template_literal.mjs +0 -1
- package/node_modules/@swc/helpers/src/_tagged_template_literal_loose.mjs +0 -1
- package/node_modules/@swc/helpers/src/_throw.mjs +0 -1
- package/node_modules/@swc/helpers/src/_to_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_to_consumable_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_to_primitive.mjs +0 -1
- package/node_modules/@swc/helpers/src/_to_property_key.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_add_disposable_resource.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_decorate.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_dispose_resources.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_generator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_metadata.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_param.mjs +0 -1
- package/node_modules/@swc/helpers/src/_ts_values.mjs +0 -1
- package/node_modules/@swc/helpers/src/_type_of.mjs +0 -1
- package/node_modules/@swc/helpers/src/_unsupported_iterable_to_array.mjs +0 -1
- package/node_modules/@swc/helpers/src/_update.mjs +0 -1
- package/node_modules/@swc/helpers/src/_using.mjs +0 -1
- package/node_modules/@swc/helpers/src/_using_ctx.mjs +0 -1
- package/node_modules/@swc/helpers/src/_wrap_async_generator.mjs +0 -1
- package/node_modules/@swc/helpers/src/_wrap_native_super.mjs +0 -1
- package/node_modules/@swc/helpers/src/_write_only_error.mjs +0 -1
- package/node_modules/@swc/helpers/src/index.mjs +0 -1
- package/node_modules/@types/connect/LICENSE +0 -21
- package/node_modules/@types/connect/README.md +0 -15
- package/node_modules/@types/connect/index.d.ts +0 -91
- package/node_modules/@types/connect/package.json +0 -32
- package/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/@types/node/README.md +0 -15
- package/node_modules/@types/node/assert/strict.d.ts +0 -8
- package/node_modules/@types/node/assert.d.ts +0 -1056
- package/node_modules/@types/node/async_hooks.d.ts +0 -623
- package/node_modules/@types/node/buffer.buffer.d.ts +0 -463
- package/node_modules/@types/node/buffer.d.ts +0 -1927
- package/node_modules/@types/node/child_process.d.ts +0 -1549
- package/node_modules/@types/node/cluster.d.ts +0 -579
- package/node_modules/@types/node/compatibility/iterators.d.ts +0 -21
- package/node_modules/@types/node/console.d.ts +0 -452
- package/node_modules/@types/node/constants.d.ts +0 -21
- package/node_modules/@types/node/crypto.d.ts +0 -4516
- package/node_modules/@types/node/dgram.d.ts +0 -599
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -578
- package/node_modules/@types/node/dns/promises.d.ts +0 -502
- package/node_modules/@types/node/dns.d.ts +0 -919
- package/node_modules/@types/node/dom-events.d.ts +0 -99
- package/node_modules/@types/node/domain.d.ts +0 -170
- package/node_modules/@types/node/events.d.ts +0 -930
- package/node_modules/@types/node/fs/promises.d.ts +0 -1280
- package/node_modules/@types/node/fs.d.ts +0 -4446
- package/node_modules/@types/node/globals.d.ts +0 -367
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -22
- package/node_modules/@types/node/http.d.ts +0 -2061
- package/node_modules/@types/node/http2.d.ts +0 -2628
- package/node_modules/@types/node/https.d.ts +0 -545
- package/node_modules/@types/node/index.d.ts +0 -94
- package/node_modules/@types/node/inspector.d.ts +0 -3998
- package/node_modules/@types/node/module.d.ts +0 -869
- package/node_modules/@types/node/net.d.ts +0 -1032
- package/node_modules/@types/node/os.d.ts +0 -496
- package/node_modules/@types/node/package.json +0 -240
- package/node_modules/@types/node/path.d.ts +0 -200
- package/node_modules/@types/node/perf_hooks.d.ts +0 -970
- package/node_modules/@types/node/process.d.ts +0 -2073
- package/node_modules/@types/node/punycode.d.ts +0 -117
- package/node_modules/@types/node/querystring.d.ts +0 -152
- package/node_modules/@types/node/readline/promises.d.ts +0 -161
- package/node_modules/@types/node/readline.d.ts +0 -594
- package/node_modules/@types/node/repl.d.ts +0 -428
- package/node_modules/@types/node/sea.d.ts +0 -153
- package/node_modules/@types/node/sqlite.d.ts +0 -688
- package/node_modules/@types/node/stream/consumers.d.ts +0 -38
- package/node_modules/@types/node/stream/promises.d.ts +0 -90
- package/node_modules/@types/node/stream/web.d.ts +0 -618
- package/node_modules/@types/node/stream.d.ts +0 -1657
- package/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/test.d.ts +0 -2215
- package/node_modules/@types/node/timers/promises.d.ts +0 -108
- package/node_modules/@types/node/timers.d.ts +0 -287
- package/node_modules/@types/node/tls.d.ts +0 -1213
- package/node_modules/@types/node/trace_events.d.ts +0 -197
- package/node_modules/@types/node/ts5.1/compatibility/disposable.d.ts +0 -12
- package/node_modules/@types/node/ts5.1/index.d.ts +0 -98
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/node_modules/@types/node/ts5.6/compatibility/float16array.d.ts +0 -71
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -20
- package/node_modules/@types/node/ts5.6/index.d.ts +0 -96
- package/node_modules/@types/node/ts5.7/compatibility/float16array.d.ts +0 -72
- package/node_modules/@types/node/ts5.7/index.d.ts +0 -96
- package/node_modules/@types/node/tty.d.ts +0 -208
- package/node_modules/@types/node/url.d.ts +0 -1014
- package/node_modules/@types/node/util.d.ts +0 -2305
- package/node_modules/@types/node/v8.d.ts +0 -919
- package/node_modules/@types/node/vm.d.ts +0 -1036
- package/node_modules/@types/node/wasi.d.ts +0 -181
- package/node_modules/@types/node/worker_threads.d.ts +0 -775
- package/node_modules/@types/node/zlib.d.ts +0 -668
- package/node_modules/@types/uuid/LICENSE +0 -21
- package/node_modules/@types/uuid/README.md +0 -16
- package/node_modules/@types/uuid/index.d.mts +0 -10
- package/node_modules/@types/uuid/index.d.ts +0 -80
- package/node_modules/@types/uuid/package.json +0 -54
- package/node_modules/@types/ws/LICENSE +0 -21
- package/node_modules/@types/ws/README.md +0 -16
- package/node_modules/@types/ws/index.d.ts +0 -353
- package/node_modules/@types/ws/package.json +0 -57
- package/node_modules/agentkeepalive/LICENSE +0 -23
- package/node_modules/agentkeepalive/README.md +0 -256
- package/node_modules/agentkeepalive/browser.js +0 -5
- package/node_modules/agentkeepalive/index.d.ts +0 -69
- package/node_modules/agentkeepalive/index.js +0 -7
- package/node_modules/agentkeepalive/lib/agent.js +0 -402
- package/node_modules/agentkeepalive/lib/constants.js +0 -14
- package/node_modules/agentkeepalive/lib/https_agent.js +0 -51
- package/node_modules/agentkeepalive/package.json +0 -56
- package/node_modules/base-x/LICENSE.md +0 -22
- package/node_modules/base-x/README.md +0 -67
- package/node_modules/base-x/package.json +0 -49
- package/node_modules/base-x/src/index.d.ts +0 -10
- package/node_modules/base-x/src/index.js +0 -123
- package/node_modules/base64-js/LICENSE +0 -21
- package/node_modules/base64-js/README.md +0 -34
- package/node_modules/base64-js/base64js.min.js +0 -1
- package/node_modules/base64-js/index.d.ts +0 -3
- package/node_modules/base64-js/index.js +0 -150
- package/node_modules/base64-js/package.json +0 -47
- package/node_modules/bn.js/LICENSE +0 -19
- package/node_modules/bn.js/README.md +0 -214
- package/node_modules/bn.js/lib/bn.js +0 -3548
- package/node_modules/bn.js/package.json +0 -39
- package/node_modules/borsh/LICENSE-APACHE +0 -201
- package/node_modules/borsh/LICENSE-MIT.txt +0 -23
- package/node_modules/borsh/README.md +0 -83
- package/node_modules/borsh/lib/index.d.ts +0 -52
- package/node_modules/borsh/lib/index.js +0 -440
- package/node_modules/borsh/package.json +0 -61
- package/node_modules/bs58/README.md +0 -71
- package/node_modules/bs58/index.js +0 -4
- package/node_modules/bs58/package.json +0 -37
- package/node_modules/buffer/AUTHORS.md +0 -73
- package/node_modules/buffer/LICENSE +0 -21
- package/node_modules/buffer/README.md +0 -410
- package/node_modules/buffer/index.d.ts +0 -194
- package/node_modules/buffer/index.js +0 -2106
- package/node_modules/buffer/package.json +0 -93
- package/node_modules/buffer-layout/.eslintrc.js +0 -45
- package/node_modules/buffer-layout/.travis.yml +0 -9
- package/node_modules/buffer-layout/CHANGELOG.md +0 -222
- package/node_modules/buffer-layout/LICENSE +0 -21
- package/node_modules/buffer-layout/README.md +0 -397
- package/node_modules/buffer-layout/jsdoc/conf.json +0 -10
- package/node_modules/buffer-layout/jsdoc/custom/local.js +0 -75
- package/node_modules/buffer-layout/lib/Layout.js +0 -2712
- package/node_modules/buffer-layout/package.json +0 -40
- package/node_modules/buffer-layout/test/LayoutTest.js +0 -2162
- package/node_modules/buffer-layout/test/examples.c +0 -112
- package/node_modules/buffer-layout/test/examples.js +0 -259
- package/node_modules/buffer-layout/test/n64.c +0 -71
- package/node_modules/buffer-layout/x.js +0 -36
- package/node_modules/bufferutil/LICENSE +0 -20
- package/node_modules/bufferutil/README.md +0 -79
- package/node_modules/bufferutil/binding.gyp +0 -32
- package/node_modules/bufferutil/fallback.js +0 -34
- package/node_modules/bufferutil/index.js +0 -7
- package/node_modules/bufferutil/package.json +0 -36
- package/node_modules/bufferutil/prebuilds/darwin-x64+arm64/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/linux-x64/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/win32-ia32/bufferutil.node +0 -0
- package/node_modules/bufferutil/prebuilds/win32-x64/bufferutil.node +0 -0
- package/node_modules/bufferutil/src/bufferutil.c +0 -171
- package/node_modules/camelcase/index.d.ts +0 -103
- package/node_modules/camelcase/index.js +0 -113
- package/node_modules/camelcase/license +0 -9
- package/node_modules/camelcase/package.json +0 -44
- package/node_modules/camelcase/readme.md +0 -144
- package/node_modules/chalk/license +0 -9
- package/node_modules/chalk/package.json +0 -83
- package/node_modules/chalk/readme.md +0 -297
- package/node_modules/chalk/source/index.d.ts +0 -325
- package/node_modules/chalk/source/index.js +0 -225
- package/node_modules/chalk/source/utilities.js +0 -33
- package/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/node_modules/cross-fetch/LICENSE +0 -21
- package/node_modules/cross-fetch/README.md +0 -169
- package/node_modules/cross-fetch/dist/browser-polyfill.js +0 -658
- package/node_modules/cross-fetch/dist/browser-ponyfill.js +0 -686
- package/node_modules/cross-fetch/dist/cross-fetch.js +0 -2
- package/node_modules/cross-fetch/dist/cross-fetch.js.map +0 -1
- package/node_modules/cross-fetch/dist/node-polyfill.js +0 -11
- package/node_modules/cross-fetch/dist/node-ponyfill.js +0 -22
- package/node_modules/cross-fetch/dist/react-native-polyfill.js +0 -12
- package/node_modules/cross-fetch/dist/react-native-ponyfill.js +0 -6
- package/node_modules/cross-fetch/index.d.ts +0 -14
- package/node_modules/cross-fetch/package.json +0 -127
- package/node_modules/cross-fetch/polyfill/package.json +0 -8
- package/node_modules/delay/index.d.ts +0 -107
- package/node_modules/delay/index.js +0 -72
- package/node_modules/delay/license +0 -9
- package/node_modules/delay/package.json +0 -54
- package/node_modules/delay/readme.md +0 -173
- package/node_modules/es6-promise/LICENSE +0 -19
- package/node_modules/es6-promise/README.md +0 -97
- package/node_modules/es6-promise/auto.js +0 -4
- package/node_modules/es6-promise/dist/es6-promise.auto.js +0 -1176
- package/node_modules/es6-promise/dist/es6-promise.auto.map +0 -1
- package/node_modules/es6-promise/dist/es6-promise.auto.min.js +0 -1
- package/node_modules/es6-promise/dist/es6-promise.auto.min.map +0 -1
- package/node_modules/es6-promise/dist/es6-promise.js +0 -1174
- package/node_modules/es6-promise/dist/es6-promise.map +0 -1
- package/node_modules/es6-promise/dist/es6-promise.min.js +0 -1
- package/node_modules/es6-promise/dist/es6-promise.min.map +0 -1
- package/node_modules/es6-promise/es6-promise.d.ts +0 -85
- package/node_modules/es6-promise/lib/es6-promise/-internal.js +0 -243
- package/node_modules/es6-promise/lib/es6-promise/asap.js +0 -119
- package/node_modules/es6-promise/lib/es6-promise/enumerator.js +0 -124
- package/node_modules/es6-promise/lib/es6-promise/polyfill.js +0 -35
- package/node_modules/es6-promise/lib/es6-promise/promise/all.js +0 -52
- package/node_modules/es6-promise/lib/es6-promise/promise/race.js +0 -84
- package/node_modules/es6-promise/lib/es6-promise/promise/reject.js +0 -46
- package/node_modules/es6-promise/lib/es6-promise/promise/resolve.js +0 -48
- package/node_modules/es6-promise/lib/es6-promise/promise.js +0 -431
- package/node_modules/es6-promise/lib/es6-promise/then.js +0 -32
- package/node_modules/es6-promise/lib/es6-promise/utils.js +0 -21
- package/node_modules/es6-promise/lib/es6-promise.auto.js +0 -3
- package/node_modules/es6-promise/lib/es6-promise.js +0 -7
- package/node_modules/es6-promise/package.json +0 -78
- package/node_modules/es6-promisify/README.md +0 -89
- package/node_modules/es6-promisify/dist/promise.js +0 -73
- package/node_modules/es6-promisify/dist/promisify.js +0 -85
- package/node_modules/es6-promisify/package.json +0 -41
- package/node_modules/eventemitter3/LICENSE +0 -21
- package/node_modules/eventemitter3/README.md +0 -94
- package/node_modules/eventemitter3/index.d.ts +0 -134
- package/node_modules/eventemitter3/index.js +0 -336
- package/node_modules/eventemitter3/package.json +0 -56
- package/node_modules/eventemitter3/umd/eventemitter3.js +0 -340
- package/node_modules/eventemitter3/umd/eventemitter3.min.js +0 -1
- package/node_modules/eventemitter3/umd/eventemitter3.min.js.map +0 -1
- package/node_modules/eyes/LICENSE +0 -20
- package/node_modules/eyes/Makefile +0 -4
- package/node_modules/eyes/README.md +0 -73
- package/node_modules/eyes/lib/eyes.js +0 -236
- package/node_modules/eyes/package.json +0 -14
- package/node_modules/eyes/test/eyes-test.js +0 -56
- package/node_modules/fast-stable-stringify/.npmignore +0 -4
- package/node_modules/fast-stable-stringify/.travis.yml +0 -10
- package/node_modules/fast-stable-stringify/LICENSE +0 -21
- package/node_modules/fast-stable-stringify/README.md +0 -81
- package/node_modules/fast-stable-stringify/cli/files-to-comparison-results.js +0 -67
- package/node_modules/fast-stable-stringify/cli/format-table.js +0 -70
- package/node_modules/fast-stable-stringify/cli/index.js +0 -19
- package/node_modules/fast-stable-stringify/fixtures/index.js +0 -5
- package/node_modules/fast-stable-stringify/fixtures/input-data-types.js +0 -191
- package/node_modules/fast-stable-stringify/fixtures/log-result.json +0 -22
- package/node_modules/fast-stable-stringify/fixtures/log.txt +0 -24
- package/node_modules/fast-stable-stringify/index.js +0 -73
- package/node_modules/fast-stable-stringify/karma.conf.js +0 -124
- package/node_modules/fast-stable-stringify/karma.conf.travis.js +0 -95
- package/node_modules/fast-stable-stringify/package.json +0 -47
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -57
- package/node_modules/fast-stable-stringify/results/escape.md +0 -20
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-long/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar-short/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
- package/node_modules/fast-stable-stringify/results/itar.md +0 -20
- package/node_modules/fast-stable-stringify/results/iter/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 39.0.0 (Android 5.1.1).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Mobile Safari 9.0.0 (iOS 9.2.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter/Safari 9.1.2 (Mac OS X 10.11.6).json +0 -35
- package/node_modules/fast-stable-stringify/results/iter.md +0 -14
- package/node_modules/fast-stable-stringify/results/libs/Chrome 60.0.3112 (Windows 7 0.0.0).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs/Chrome Mobile 55.0.2883 (Android 6.0.0).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs/Edge 14.14393.0 (Windows 10 0.0.0).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs/Firefox 54.0.0 (Windows 7 0.0.0).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs/IE 10.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/libs/IE 11.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/libs/IE 9.0.0 (Windows 7 0.0.0).json +0 -35
- package/node_modules/fast-stable-stringify/results/libs/Mobile Safari 10.0.0 (iOS 10.3.0).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs/Safari 10.0.1 (Mac OS X 10.12.1).json +0 -46
- package/node_modules/fast-stable-stringify/results/libs.md +0 -15
- package/node_modules/fast-stable-stringify/test/escape-long.js +0 -147
- package/node_modules/fast-stable-stringify/test/escape-short.js +0 -147
- package/node_modules/fast-stable-stringify/test/index.js +0 -6
- package/node_modules/fast-stable-stringify/test/itar-long.js +0 -52
- package/node_modules/fast-stable-stringify/test/itar-short.js +0 -52
- package/node_modules/fast-stable-stringify/test/iter.js +0 -84
- package/node_modules/fast-stable-stringify/test/libs.js +0 -57
- package/node_modules/fast-stable-stringify/test/travis.js +0 -43
- package/node_modules/fast-stable-stringify/test/validate.js +0 -24
- package/node_modules/fast-stable-stringify/util/eachRecursive.js +0 -9
- package/node_modules/fast-stable-stringify/util/get-git-hash-sync.js +0 -21
- package/node_modules/fast-stable-stringify/util/get-lib-info.js +0 -22
- package/node_modules/fast-stable-stringify/util/object-path.js +0 -47
- package/node_modules/fast-stable-stringify/v8-profile/bench.js +0 -8
- package/node_modules/fast-stable-stringify/v8-profile/run.sh +0 -2
- package/node_modules/fast-stable-stringify/zuul-local.sh +0 -2
- package/node_modules/humanize-ms/LICENSE +0 -17
- package/node_modules/humanize-ms/README.md +0 -40
- package/node_modules/humanize-ms/index.js +0 -24
- package/node_modules/humanize-ms/package.json +0 -37
- package/node_modules/ieee754/LICENSE +0 -11
- package/node_modules/ieee754/README.md +0 -51
- package/node_modules/ieee754/index.d.ts +0 -10
- package/node_modules/ieee754/index.js +0 -85
- package/node_modules/ieee754/package.json +0 -52
- package/node_modules/isomorphic-ws/LICENSE +0 -21
- package/node_modules/isomorphic-ws/README.md +0 -58
- package/node_modules/isomorphic-ws/browser.js +0 -17
- package/node_modules/isomorphic-ws/index.d.ts +0 -8
- package/node_modules/isomorphic-ws/node.js +0 -3
- package/node_modules/isomorphic-ws/package.json +0 -34
- package/node_modules/jayson/.gitignore +0 -8
- package/node_modules/jayson/LICENSE +0 -22
- package/node_modules/jayson/README.md +0 -1387
- package/node_modules/jayson/bin/jayson.js +0 -111
- package/node_modules/jayson/index.d.ts +0 -370
- package/node_modules/jayson/index.js +0 -1
- package/node_modules/jayson/lib/client/browser/index.d.ts +0 -14
- package/node_modules/jayson/lib/client/browser/index.js +0 -163
- package/node_modules/jayson/lib/client/http.js +0 -116
- package/node_modules/jayson/lib/client/https.js +0 -34
- package/node_modules/jayson/lib/client/index.js +0 -220
- package/node_modules/jayson/lib/client/tcp.js +0 -90
- package/node_modules/jayson/lib/client/tls.js +0 -89
- package/node_modules/jayson/lib/client/websocket.js +0 -135
- package/node_modules/jayson/lib/generateRequest.js +0 -63
- package/node_modules/jayson/lib/index.js +0 -31
- package/node_modules/jayson/lib/method.js +0 -120
- package/node_modules/jayson/lib/server/http.js +0 -26
- package/node_modules/jayson/lib/server/https.js +0 -26
- package/node_modules/jayson/lib/server/index.js +0 -475
- package/node_modules/jayson/lib/server/middleware.js +0 -75
- package/node_modules/jayson/lib/server/tcp.js +0 -72
- package/node_modules/jayson/lib/server/tls.js +0 -72
- package/node_modules/jayson/lib/server/websocket.js +0 -62
- package/node_modules/jayson/lib/utils.js +0 -514
- package/node_modules/jayson/node_modules/@types/node/LICENSE +0 -21
- package/node_modules/jayson/node_modules/@types/node/README.md +0 -16
- package/node_modules/jayson/node_modules/@types/node/assert.d.ts +0 -117
- package/node_modules/jayson/node_modules/@types/node/async_hooks.d.ts +0 -246
- package/node_modules/jayson/node_modules/@types/node/buffer.d.ts +0 -22
- package/node_modules/jayson/node_modules/@types/node/child_process.d.ts +0 -507
- package/node_modules/jayson/node_modules/@types/node/cluster.d.ts +0 -260
- package/node_modules/jayson/node_modules/@types/node/console.d.ts +0 -3
- package/node_modules/jayson/node_modules/@types/node/constants.d.ts +0 -448
- package/node_modules/jayson/node_modules/@types/node/crypto.d.ts +0 -1183
- package/node_modules/jayson/node_modules/@types/node/dgram.d.ts +0 -118
- package/node_modules/jayson/node_modules/@types/node/dns.d.ts +0 -372
- package/node_modules/jayson/node_modules/@types/node/domain.d.ts +0 -16
- package/node_modules/jayson/node_modules/@types/node/events.d.ts +0 -47
- package/node_modules/jayson/node_modules/@types/node/fs.d.ts +0 -2567
- package/node_modules/jayson/node_modules/@types/node/globals.d.ts +0 -1351
- package/node_modules/jayson/node_modules/@types/node/globals.global.d.ts +0 -1
- package/node_modules/jayson/node_modules/@types/node/http.d.ts +0 -456
- package/node_modules/jayson/node_modules/@types/node/http2.d.ts +0 -952
- package/node_modules/jayson/node_modules/@types/node/https.d.ts +0 -156
- package/node_modules/jayson/node_modules/@types/node/index.d.ts +0 -91
- package/node_modules/jayson/node_modules/@types/node/inspector.d.ts +0 -3040
- package/node_modules/jayson/node_modules/@types/node/module.d.ts +0 -3
- package/node_modules/jayson/node_modules/@types/node/net.d.ts +0 -290
- package/node_modules/jayson/node_modules/@types/node/os.d.ts +0 -263
- package/node_modules/jayson/node_modules/@types/node/package.json +0 -195
- package/node_modules/jayson/node_modules/@types/node/path.d.ts +0 -159
- package/node_modules/jayson/node_modules/@types/node/perf_hooks.d.ts +0 -259
- package/node_modules/jayson/node_modules/@types/node/process.d.ts +0 -15
- package/node_modules/jayson/node_modules/@types/node/punycode.d.ts +0 -75
- package/node_modules/jayson/node_modules/@types/node/querystring.d.ts +0 -29
- package/node_modules/jayson/node_modules/@types/node/readline.d.ts +0 -158
- package/node_modules/jayson/node_modules/@types/node/repl.d.ts +0 -390
- package/node_modules/jayson/node_modules/@types/node/stream.d.ts +0 -334
- package/node_modules/jayson/node_modules/@types/node/string_decoder.d.ts +0 -7
- package/node_modules/jayson/node_modules/@types/node/timers.d.ts +0 -16
- package/node_modules/jayson/node_modules/@types/node/tls.d.ts +0 -713
- package/node_modules/jayson/node_modules/@types/node/trace_events.d.ts +0 -61
- package/node_modules/jayson/node_modules/@types/node/tty.d.ts +0 -66
- package/node_modules/jayson/node_modules/@types/node/url.d.ts +0 -147
- package/node_modules/jayson/node_modules/@types/node/util.d.ts +0 -200
- package/node_modules/jayson/node_modules/@types/node/v8.d.ts +0 -197
- package/node_modules/jayson/node_modules/@types/node/vm.d.ts +0 -112
- package/node_modules/jayson/node_modules/@types/node/wasi.d.ts +0 -55
- package/node_modules/jayson/node_modules/@types/node/worker_threads.d.ts +0 -207
- package/node_modules/jayson/node_modules/@types/node/zlib.d.ts +0 -356
- package/node_modules/jayson/node_modules/commander/LICENSE +0 -22
- package/node_modules/jayson/node_modules/commander/Readme.md +0 -428
- package/node_modules/jayson/node_modules/commander/index.js +0 -1224
- package/node_modules/jayson/node_modules/commander/package.json +0 -38
- package/node_modules/jayson/node_modules/commander/typings/index.d.ts +0 -310
- package/node_modules/jayson/package.json +0 -89
- package/node_modules/jayson/promise/index.d.ts +0 -367
- package/node_modules/jayson/promise/index.js +0 -3
- package/node_modules/jayson/promise/lib/client/browser/index.d.ts +0 -12
- package/node_modules/jayson/promise/lib/client/browser/index.js +0 -28
- package/node_modules/jayson/promise/lib/client/http.js +0 -23
- package/node_modules/jayson/promise/lib/client/https.js +0 -24
- package/node_modules/jayson/promise/lib/client/index.js +0 -53
- package/node_modules/jayson/promise/lib/client/tcp.js +0 -23
- package/node_modules/jayson/promise/lib/client/tls.js +0 -23
- package/node_modules/jayson/promise/lib/client/websocket.js +0 -23
- package/node_modules/jayson/promise/lib/index.js +0 -33
- package/node_modules/jayson/promise/lib/method.js +0 -54
- package/node_modules/jayson/promise/lib/server.js +0 -23
- package/node_modules/jayson/promise/lib/utils.js +0 -23
- package/node_modules/json-stringify-safe/.npmignore +0 -1
- package/node_modules/json-stringify-safe/CHANGELOG.md +0 -14
- package/node_modules/json-stringify-safe/LICENSE +0 -15
- package/node_modules/json-stringify-safe/Makefile +0 -35
- package/node_modules/json-stringify-safe/README.md +0 -52
- package/node_modules/json-stringify-safe/package.json +0 -31
- package/node_modules/json-stringify-safe/stringify.js +0 -27
- package/node_modules/json-stringify-safe/test/mocha.opts +0 -2
- package/node_modules/json-stringify-safe/test/stringify_test.js +0 -246
- package/node_modules/ms/index.js +0 -162
- package/node_modules/ms/license.md +0 -21
- package/node_modules/ms/package.json +0 -38
- package/node_modules/ms/readme.md +0 -59
- package/node_modules/node-fetch/LICENSE.md +0 -22
- package/node_modules/node-fetch/README.md +0 -634
- package/node_modules/node-fetch/browser.js +0 -25
- package/node_modules/node-fetch/lib/index.es.js +0 -1777
- package/node_modules/node-fetch/lib/index.js +0 -1787
- package/node_modules/node-fetch/lib/index.mjs +0 -1775
- package/node_modules/node-fetch/package.json +0 -89
- package/node_modules/node-gyp-build/LICENSE +0 -21
- package/node_modules/node-gyp-build/README.md +0 -58
- package/node_modules/node-gyp-build/SECURITY.md +0 -5
- package/node_modules/node-gyp-build/bin.js +0 -84
- package/node_modules/node-gyp-build/build-test.js +0 -19
- package/node_modules/node-gyp-build/index.js +0 -6
- package/node_modules/node-gyp-build/node-gyp-build.js +0 -207
- package/node_modules/node-gyp-build/optional.js +0 -7
- package/node_modules/node-gyp-build/package.json +0 -43
- package/node_modules/pako/LICENSE +0 -21
- package/node_modules/pako/README.md +0 -177
- package/node_modules/pako/dist/pako.es5.js +0 -6688
- package/node_modules/pako/dist/pako.es5.min.js +0 -2
- package/node_modules/pako/dist/pako.esm.mjs +0 -6877
- package/node_modules/pako/dist/pako.js +0 -6896
- package/node_modules/pako/dist/pako.min.js +0 -2
- package/node_modules/pako/dist/pako_deflate.es5.js +0 -3924
- package/node_modules/pako/dist/pako_deflate.es5.min.js +0 -2
- package/node_modules/pako/dist/pako_deflate.js +0 -4126
- package/node_modules/pako/dist/pako_deflate.min.js +0 -2
- package/node_modules/pako/dist/pako_inflate.es5.js +0 -3229
- package/node_modules/pako/dist/pako_inflate.es5.min.js +0 -2
- package/node_modules/pako/dist/pako_inflate.js +0 -3239
- package/node_modules/pako/dist/pako_inflate.min.js +0 -2
- package/node_modules/pako/index.js +0 -18
- package/node_modules/pako/lib/deflate.js +0 -380
- package/node_modules/pako/lib/inflate.js +0 -419
- package/node_modules/pako/lib/utils/common.js +0 -48
- package/node_modules/pako/lib/utils/strings.js +0 -174
- package/node_modules/pako/lib/zlib/README +0 -59
- package/node_modules/pako/lib/zlib/adler32.js +0 -51
- package/node_modules/pako/lib/zlib/constants.js +0 -68
- package/node_modules/pako/lib/zlib/crc32.js +0 -59
- package/node_modules/pako/lib/zlib/deflate.js +0 -2048
- package/node_modules/pako/lib/zlib/gzheader.js +0 -58
- package/node_modules/pako/lib/zlib/inffast.js +0 -344
- package/node_modules/pako/lib/zlib/inflate.js +0 -1572
- package/node_modules/pako/lib/zlib/inftrees.js +0 -340
- package/node_modules/pako/lib/zlib/messages.js +0 -32
- package/node_modules/pako/lib/zlib/trees.js +0 -1179
- package/node_modules/pako/lib/zlib/zstream.js +0 -47
- package/node_modules/pako/package.json +0 -64
- package/node_modules/rpc-websockets/LICENSE +0 -10
- package/node_modules/rpc-websockets/README.md +0 -156
- package/node_modules/rpc-websockets/dist/index.browser-bundle.js +0 -14
- package/node_modules/rpc-websockets/dist/index.browser.cjs +0 -389
- package/node_modules/rpc-websockets/dist/index.browser.cjs.map +0 -1
- package/node_modules/rpc-websockets/dist/index.browser.d.mts +0 -225
- package/node_modules/rpc-websockets/dist/index.browser.d.ts +0 -225
- package/node_modules/rpc-websockets/dist/index.browser.mjs +0 -384
- package/node_modules/rpc-websockets/dist/index.browser.mjs.map +0 -1
- package/node_modules/rpc-websockets/dist/index.cjs +0 -898
- package/node_modules/rpc-websockets/dist/index.cjs.map +0 -1
- package/node_modules/rpc-websockets/dist/index.d.mts +0 -415
- package/node_modules/rpc-websockets/dist/index.d.ts +0 -415
- package/node_modules/rpc-websockets/dist/index.mjs +0 -886
- package/node_modules/rpc-websockets/dist/index.mjs.map +0 -1
- package/node_modules/rpc-websockets/node_modules/@types/ws/LICENSE +0 -21
- package/node_modules/rpc-websockets/node_modules/@types/ws/README.md +0 -15
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.mts +0 -451
- package/node_modules/rpc-websockets/node_modules/@types/ws/index.d.ts +0 -445
- package/node_modules/rpc-websockets/node_modules/@types/ws/package.json +0 -72
- package/node_modules/rpc-websockets/node_modules/eventemitter3/LICENSE +0 -21
- package/node_modules/rpc-websockets/node_modules/eventemitter3/README.md +0 -94
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.js +0 -347
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js +0 -1
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.esm.min.js.map +0 -1
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.js +0 -355
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js +0 -1
- package/node_modules/rpc-websockets/node_modules/eventemitter3/dist/eventemitter3.umd.min.js.map +0 -1
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.d.ts +0 -135
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.js +0 -336
- package/node_modules/rpc-websockets/node_modules/eventemitter3/index.mjs +0 -4
- package/node_modules/rpc-websockets/node_modules/eventemitter3/package.json +0 -67
- package/node_modules/rpc-websockets/node_modules/ws/LICENSE +0 -20
- package/node_modules/rpc-websockets/node_modules/ws/README.md +0 -548
- package/node_modules/rpc-websockets/node_modules/ws/browser.js +0 -8
- package/node_modules/rpc-websockets/node_modules/ws/index.js +0 -13
- package/node_modules/rpc-websockets/node_modules/ws/lib/buffer-util.js +0 -131
- package/node_modules/rpc-websockets/node_modules/ws/lib/constants.js +0 -18
- package/node_modules/rpc-websockets/node_modules/ws/lib/event-target.js +0 -292
- package/node_modules/rpc-websockets/node_modules/ws/lib/extension.js +0 -203
- package/node_modules/rpc-websockets/node_modules/ws/lib/limiter.js +0 -55
- package/node_modules/rpc-websockets/node_modules/ws/lib/permessage-deflate.js +0 -528
- package/node_modules/rpc-websockets/node_modules/ws/lib/receiver.js +0 -706
- package/node_modules/rpc-websockets/node_modules/ws/lib/sender.js +0 -602
- package/node_modules/rpc-websockets/node_modules/ws/lib/stream.js +0 -161
- package/node_modules/rpc-websockets/node_modules/ws/lib/subprotocol.js +0 -62
- package/node_modules/rpc-websockets/node_modules/ws/lib/validation.js +0 -152
- package/node_modules/rpc-websockets/node_modules/ws/lib/websocket-server.js +0 -550
- package/node_modules/rpc-websockets/node_modules/ws/lib/websocket.js +0 -1388
- package/node_modules/rpc-websockets/node_modules/ws/package.json +0 -69
- package/node_modules/rpc-websockets/node_modules/ws/wrapper.mjs +0 -8
- package/node_modules/rpc-websockets/package.json +0 -90
- package/node_modules/safe-buffer/LICENSE +0 -21
- package/node_modules/safe-buffer/README.md +0 -584
- package/node_modules/safe-buffer/index.d.ts +0 -187
- package/node_modules/safe-buffer/index.js +0 -65
- package/node_modules/safe-buffer/package.json +0 -51
- package/node_modules/stream-chain/LICENSE +0 -11
- package/node_modules/stream-chain/README.md +0 -334
- package/node_modules/stream-chain/defs.js +0 -22
- package/node_modules/stream-chain/index.js +0 -203
- package/node_modules/stream-chain/package.json +0 -31
- package/node_modules/stream-chain/utils/FromIterable.js +0 -94
- package/node_modules/stream-chain/utils/Reduce.js +0 -40
- package/node_modules/stream-chain/utils/asFun.js +0 -85
- package/node_modules/stream-chain/utils/asGen.js +0 -77
- package/node_modules/stream-chain/utils/comp.js +0 -20
- package/node_modules/stream-chain/utils/fold.js +0 -43
- package/node_modules/stream-chain/utils/gen.js +0 -24
- package/node_modules/stream-chain/utils/scan.js +0 -41
- package/node_modules/stream-chain/utils/skip.js +0 -32
- package/node_modules/stream-chain/utils/skipWhile.js +0 -46
- package/node_modules/stream-chain/utils/take.js +0 -39
- package/node_modules/stream-chain/utils/takeWhile.js +0 -47
- package/node_modules/stream-json/Assembler.js +0 -154
- package/node_modules/stream-json/Disassembler.js +0 -209
- package/node_modules/stream-json/Emitter.js +0 -22
- package/node_modules/stream-json/LICENSE +0 -34
- package/node_modules/stream-json/Parser.js +0 -545
- package/node_modules/stream-json/README.md +0 -128
- package/node_modules/stream-json/Stringer.js +0 -153
- package/node_modules/stream-json/filters/Filter.js +0 -130
- package/node_modules/stream-json/filters/FilterBase.js +0 -201
- package/node_modules/stream-json/filters/Ignore.js +0 -24
- package/node_modules/stream-json/filters/Pick.js +0 -58
- package/node_modules/stream-json/filters/Replace.js +0 -115
- package/node_modules/stream-json/index.js +0 -11
- package/node_modules/stream-json/jsonl/Parser.js +0 -131
- package/node_modules/stream-json/jsonl/Stringer.js +0 -29
- package/node_modules/stream-json/package.json +0 -45
- package/node_modules/stream-json/streamers/StreamArray.js +0 -44
- package/node_modules/stream-json/streamers/StreamBase.js +0 -101
- package/node_modules/stream-json/streamers/StreamObject.js +0 -43
- package/node_modules/stream-json/streamers/StreamValues.js +0 -33
- package/node_modules/stream-json/utils/Batch.js +0 -44
- package/node_modules/stream-json/utils/Utf8Stream.js +0 -53
- package/node_modules/stream-json/utils/Verifier.js +0 -485
- package/node_modules/stream-json/utils/emit.js +0 -5
- package/node_modules/stream-json/utils/withParser.js +0 -10
- package/node_modules/superstruct/License.md +0 -9
- package/node_modules/superstruct/Readme.md +0 -228
- package/node_modules/superstruct/lib/coercions.d.ts +0 -19
- package/node_modules/superstruct/lib/coercions.d.ts.map +0 -1
- package/node_modules/superstruct/lib/error.d.ts +0 -32
- package/node_modules/superstruct/lib/error.d.ts.map +0 -1
- package/node_modules/superstruct/lib/index.cjs +0 -1257
- package/node_modules/superstruct/lib/index.cjs.d.ts +0 -579
- package/node_modules/superstruct/lib/index.cjs.map +0 -1
- package/node_modules/superstruct/lib/index.d.cts +0 -579
- package/node_modules/superstruct/lib/index.d.ts +0 -7
- package/node_modules/superstruct/lib/index.d.ts.map +0 -1
- package/node_modules/superstruct/lib/index.es.d.ts +0 -579
- package/node_modules/superstruct/lib/index.es.js +0 -1203
- package/node_modules/superstruct/lib/index.es.js.map +0 -1
- package/node_modules/superstruct/lib/refinements.d.ts +0 -19
- package/node_modules/superstruct/lib/refinements.d.ts.map +0 -1
- package/node_modules/superstruct/lib/struct.d.ts +0 -110
- package/node_modules/superstruct/lib/struct.d.ts.map +0 -1
- package/node_modules/superstruct/lib/structs/coercions.d.ts +0 -29
- package/node_modules/superstruct/lib/structs/coercions.d.ts.map +0 -1
- package/node_modules/superstruct/lib/structs/refinements.d.ts +0 -38
- package/node_modules/superstruct/lib/structs/refinements.d.ts.map +0 -1
- package/node_modules/superstruct/lib/structs/types.d.ts +0 -142
- package/node_modules/superstruct/lib/structs/types.d.ts.map +0 -1
- package/node_modules/superstruct/lib/structs/utilities.d.ts +0 -66
- package/node_modules/superstruct/lib/structs/utilities.d.ts.map +0 -1
- package/node_modules/superstruct/lib/types.d.ts +0 -200
- package/node_modules/superstruct/lib/types.d.ts.map +0 -1
- package/node_modules/superstruct/lib/typings.d.ts +0 -36
- package/node_modules/superstruct/lib/typings.d.ts.map +0 -1
- package/node_modules/superstruct/lib/utilities.d.ts +0 -56
- package/node_modules/superstruct/lib/utilities.d.ts.map +0 -1
- package/node_modules/superstruct/lib/utils.d.ts +0 -139
- package/node_modules/superstruct/lib/utils.d.ts.map +0 -1
- package/node_modules/superstruct/lib/xtras.d.ts +0 -56
- package/node_modules/superstruct/lib/xtras.d.ts.map +0 -1
- package/node_modules/superstruct/package.json +0 -110
- package/node_modules/superstruct/umd/coercions.d.ts +0 -18
- package/node_modules/superstruct/umd/index.d.ts +0 -4
- package/node_modules/superstruct/umd/refinements.d.ts +0 -14
- package/node_modules/superstruct/umd/struct.d.ts +0 -80
- package/node_modules/superstruct/umd/superstruct.d.ts +0 -579
- package/node_modules/superstruct/umd/superstruct.js +0 -1262
- package/node_modules/superstruct/umd/superstruct.min.d.ts +0 -579
- package/node_modules/superstruct/umd/superstruct.min.js +0 -1
- package/node_modules/superstruct/umd/types.d.ts +0 -127
- package/node_modules/superstruct/umd/utils.d.ts +0 -9
- package/node_modules/text-encoding-utf-8/LICENSE.md +0 -29
- package/node_modules/text-encoding-utf-8/README.md +0 -63
- package/node_modules/text-encoding-utf-8/lib/encoding.js +0 -655
- package/node_modules/text-encoding-utf-8/lib/encoding.lib.js +0 -642
- package/node_modules/text-encoding-utf-8/lib/encoding.lib.mjs +0 -665
- package/node_modules/text-encoding-utf-8/package.json +0 -26
- package/node_modules/text-encoding-utf-8/src/encoding.js +0 -665
- package/node_modules/text-encoding-utf-8/src/polyfill.js +0 -21
- package/node_modules/toml/.jshintrc +0 -18
- package/node_modules/toml/.travis.yml +0 -7
- package/node_modules/toml/CHANGELOG.md +0 -116
- package/node_modules/toml/LICENSE +0 -22
- package/node_modules/toml/README.md +0 -93
- package/node_modules/toml/benchmark.js +0 -12
- package/node_modules/toml/index.d.ts +0 -3
- package/node_modules/toml/index.js +0 -9
- package/node_modules/toml/lib/compiler.js +0 -195
- package/node_modules/toml/lib/parser.js +0 -3841
- package/node_modules/toml/package.json +0 -24
- package/node_modules/toml/src/toml.pegjs +0 -231
- package/node_modules/toml/test/bad.toml +0 -5
- package/node_modules/toml/test/example.toml +0 -32
- package/node_modules/toml/test/hard_example.toml +0 -33
- package/node_modules/toml/test/inline_tables.toml +0 -10
- package/node_modules/toml/test/literal_strings.toml +0 -5
- package/node_modules/toml/test/multiline_eat_whitespace.toml +0 -15
- package/node_modules/toml/test/multiline_literal_strings.toml +0 -7
- package/node_modules/toml/test/multiline_strings.toml +0 -6
- package/node_modules/toml/test/smoke.js +0 -22
- package/node_modules/toml/test/table_arrays_easy.toml +0 -10
- package/node_modules/toml/test/table_arrays_hard.toml +0 -31
- package/node_modules/toml/test/test_toml.js +0 -596
- package/node_modules/tslib/CopyrightNotice.txt +0 -15
- package/node_modules/tslib/LICENSE.txt +0 -12
- package/node_modules/tslib/README.md +0 -164
- package/node_modules/tslib/SECURITY.md +0 -41
- package/node_modules/tslib/modules/index.d.ts +0 -38
- package/node_modules/tslib/modules/index.js +0 -70
- package/node_modules/tslib/modules/package.json +0 -3
- package/node_modules/tslib/package.json +0 -47
- package/node_modules/tslib/tslib.d.ts +0 -460
- package/node_modules/tslib/tslib.es6.html +0 -1
- package/node_modules/tslib/tslib.es6.js +0 -402
- package/node_modules/tslib/tslib.es6.mjs +0 -401
- package/node_modules/tslib/tslib.html +0 -1
- package/node_modules/tslib/tslib.js +0 -484
- package/node_modules/undici-types/LICENSE +0 -21
- package/node_modules/undici-types/README.md +0 -6
- package/node_modules/undici-types/agent.d.ts +0 -31
- package/node_modules/undici-types/api.d.ts +0 -43
- package/node_modules/undici-types/balanced-pool.d.ts +0 -29
- package/node_modules/undici-types/cache-interceptor.d.ts +0 -172
- package/node_modules/undici-types/cache.d.ts +0 -36
- package/node_modules/undici-types/client.d.ts +0 -107
- package/node_modules/undici-types/connector.d.ts +0 -34
- package/node_modules/undici-types/content-type.d.ts +0 -21
- package/node_modules/undici-types/cookies.d.ts +0 -30
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/node_modules/undici-types/dispatcher.d.ts +0 -281
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/node_modules/undici-types/errors.d.ts +0 -171
- package/node_modules/undici-types/eventsource.d.ts +0 -61
- package/node_modules/undici-types/fetch.d.ts +0 -210
- package/node_modules/undici-types/formdata.d.ts +0 -108
- package/node_modules/undici-types/global-dispatcher.d.ts +0 -9
- package/node_modules/undici-types/global-origin.d.ts +0 -7
- package/node_modules/undici-types/h2c-client.d.ts +0 -75
- package/node_modules/undici-types/handlers.d.ts +0 -15
- package/node_modules/undici-types/header.d.ts +0 -160
- package/node_modules/undici-types/index.d.ts +0 -75
- package/node_modules/undici-types/interceptors.d.ts +0 -34
- package/node_modules/undici-types/mock-agent.d.ts +0 -65
- package/node_modules/undici-types/mock-call-history.d.ts +0 -111
- package/node_modules/undici-types/mock-client.d.ts +0 -25
- package/node_modules/undici-types/mock-errors.d.ts +0 -12
- package/node_modules/undici-types/mock-interceptor.d.ts +0 -93
- package/node_modules/undici-types/mock-pool.d.ts +0 -25
- package/node_modules/undici-types/package.json +0 -55
- package/node_modules/undici-types/patch.d.ts +0 -29
- package/node_modules/undici-types/pool-stats.d.ts +0 -19
- package/node_modules/undici-types/pool.d.ts +0 -39
- package/node_modules/undici-types/proxy-agent.d.ts +0 -28
- package/node_modules/undici-types/readable.d.ts +0 -68
- package/node_modules/undici-types/retry-agent.d.ts +0 -8
- package/node_modules/undici-types/retry-handler.d.ts +0 -116
- package/node_modules/undici-types/util.d.ts +0 -18
- package/node_modules/undici-types/utility.d.ts +0 -7
- package/node_modules/undici-types/webidl.d.ts +0 -266
- package/node_modules/undici-types/websocket.d.ts +0 -184
- package/node_modules/utf-8-validate/LICENSE +0 -30
- package/node_modules/utf-8-validate/README.md +0 -50
- package/node_modules/utf-8-validate/binding.gyp +0 -18
- package/node_modules/utf-8-validate/fallback.js +0 -62
- package/node_modules/utf-8-validate/index.js +0 -7
- package/node_modules/utf-8-validate/package.json +0 -36
- package/node_modules/utf-8-validate/prebuilds/darwin-x64+arm64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/linux-x64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/win32-ia32/node.napi.node +0 -0
- package/node_modules/utf-8-validate/prebuilds/win32-x64/node.napi.node +0 -0
- package/node_modules/utf-8-validate/src/validation.c +0 -109
- package/node_modules/uuid/CHANGELOG.md +0 -229
- package/node_modules/uuid/CONTRIBUTING.md +0 -18
- package/node_modules/uuid/LICENSE.md +0 -9
- package/node_modules/uuid/README.md +0 -505
- package/node_modules/uuid/dist/bin/uuid +0 -2
- package/node_modules/uuid/dist/esm-browser/index.js +0 -9
- package/node_modules/uuid/dist/esm-browser/md5.js +0 -215
- package/node_modules/uuid/dist/esm-browser/nil.js +0 -1
- package/node_modules/uuid/dist/esm-browser/parse.js +0 -35
- package/node_modules/uuid/dist/esm-browser/regex.js +0 -1
- package/node_modules/uuid/dist/esm-browser/rng.js +0 -19
- package/node_modules/uuid/dist/esm-browser/sha1.js +0 -96
- package/node_modules/uuid/dist/esm-browser/stringify.js +0 -30
- package/node_modules/uuid/dist/esm-browser/v1.js +0 -95
- package/node_modules/uuid/dist/esm-browser/v3.js +0 -4
- package/node_modules/uuid/dist/esm-browser/v35.js +0 -64
- package/node_modules/uuid/dist/esm-browser/v4.js +0 -24
- package/node_modules/uuid/dist/esm-browser/v5.js +0 -4
- package/node_modules/uuid/dist/esm-browser/validate.js +0 -7
- package/node_modules/uuid/dist/esm-browser/version.js +0 -11
- package/node_modules/uuid/dist/esm-node/index.js +0 -9
- package/node_modules/uuid/dist/esm-node/md5.js +0 -13
- package/node_modules/uuid/dist/esm-node/nil.js +0 -1
- package/node_modules/uuid/dist/esm-node/parse.js +0 -35
- package/node_modules/uuid/dist/esm-node/regex.js +0 -1
- package/node_modules/uuid/dist/esm-node/rng.js +0 -12
- package/node_modules/uuid/dist/esm-node/sha1.js +0 -13
- package/node_modules/uuid/dist/esm-node/stringify.js +0 -29
- package/node_modules/uuid/dist/esm-node/v1.js +0 -95
- package/node_modules/uuid/dist/esm-node/v3.js +0 -4
- package/node_modules/uuid/dist/esm-node/v35.js +0 -64
- package/node_modules/uuid/dist/esm-node/v4.js +0 -24
- package/node_modules/uuid/dist/esm-node/v5.js +0 -4
- package/node_modules/uuid/dist/esm-node/validate.js +0 -7
- package/node_modules/uuid/dist/esm-node/version.js +0 -11
- package/node_modules/uuid/dist/index.js +0 -79
- package/node_modules/uuid/dist/md5-browser.js +0 -223
- package/node_modules/uuid/dist/md5.js +0 -23
- package/node_modules/uuid/dist/nil.js +0 -8
- package/node_modules/uuid/dist/parse.js +0 -45
- package/node_modules/uuid/dist/regex.js +0 -8
- package/node_modules/uuid/dist/rng-browser.js +0 -26
- package/node_modules/uuid/dist/rng.js +0 -24
- package/node_modules/uuid/dist/sha1-browser.js +0 -104
- package/node_modules/uuid/dist/sha1.js +0 -23
- package/node_modules/uuid/dist/stringify.js +0 -39
- package/node_modules/uuid/dist/umd/uuid.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidNIL.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidParse.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidStringify.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidValidate.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidVersion.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv1.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv3.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv4.min.js +0 -1
- package/node_modules/uuid/dist/umd/uuidv5.min.js +0 -1
- package/node_modules/uuid/dist/uuid-bin.js +0 -85
- package/node_modules/uuid/dist/v1.js +0 -107
- package/node_modules/uuid/dist/v3.js +0 -16
- package/node_modules/uuid/dist/v35.js +0 -78
- package/node_modules/uuid/dist/v4.js +0 -37
- package/node_modules/uuid/dist/v5.js +0 -16
- package/node_modules/uuid/dist/validate.js +0 -17
- package/node_modules/uuid/dist/version.js +0 -21
- package/node_modules/uuid/package.json +0 -135
- package/node_modules/uuid/wrapper.mjs +0 -10
- package/node_modules/webidl-conversions/LICENSE.md +0 -12
- package/node_modules/webidl-conversions/README.md +0 -53
- package/node_modules/webidl-conversions/lib/index.js +0 -189
- package/node_modules/webidl-conversions/package.json +0 -23
- package/node_modules/whatwg-url/LICENSE.txt +0 -21
- package/node_modules/whatwg-url/README.md +0 -67
- package/node_modules/whatwg-url/lib/URL-impl.js +0 -200
- package/node_modules/whatwg-url/lib/URL.js +0 -196
- package/node_modules/whatwg-url/lib/public-api.js +0 -11
- package/node_modules/whatwg-url/lib/url-state-machine.js +0 -1297
- package/node_modules/whatwg-url/lib/utils.js +0 -20
- package/node_modules/whatwg-url/node_modules/tr46/.npmignore +0 -4
- package/node_modules/whatwg-url/node_modules/tr46/index.js +0 -193
- package/node_modules/whatwg-url/node_modules/tr46/lib/.gitkeep +0 -0
- package/node_modules/whatwg-url/node_modules/tr46/lib/mappingTable.json +0 -1
- package/node_modules/whatwg-url/node_modules/tr46/package.json +0 -31
- package/node_modules/whatwg-url/package.json +0 -32
- package/node_modules/ws/LICENSE +0 -21
- package/node_modules/ws/README.md +0 -495
- package/node_modules/ws/browser.js +0 -8
- package/node_modules/ws/index.js +0 -10
- package/node_modules/ws/lib/buffer-util.js +0 -129
- package/node_modules/ws/lib/constants.js +0 -10
- package/node_modules/ws/lib/event-target.js +0 -184
- package/node_modules/ws/lib/extension.js +0 -223
- package/node_modules/ws/lib/limiter.js +0 -55
- package/node_modules/ws/lib/permessage-deflate.js +0 -518
- package/node_modules/ws/lib/receiver.js +0 -607
- package/node_modules/ws/lib/sender.js +0 -409
- package/node_modules/ws/lib/stream.js +0 -180
- package/node_modules/ws/lib/validation.js +0 -104
- package/node_modules/ws/lib/websocket-server.js +0 -449
- package/node_modules/ws/lib/websocket.js +0 -1197
- package/node_modules/ws/package.json +0 -56
|
@@ -1,1290 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DER = exports.DERErr = void 0;
|
|
4
|
-
exports._legacyHelperEquat = _legacyHelperEquat;
|
|
5
|
-
exports._legacyHelperNormPriv = _legacyHelperNormPriv;
|
|
6
|
-
exports.weierstrassN = weierstrassN;
|
|
7
|
-
exports.weierstrassPoints = weierstrassPoints;
|
|
8
|
-
exports.ecdsa = ecdsa;
|
|
9
|
-
exports.weierstrass = weierstrass;
|
|
10
|
-
exports.SWUFpSqrtRatio = SWUFpSqrtRatio;
|
|
11
|
-
exports.mapToCurveSimpleSWU = mapToCurveSimpleSWU;
|
|
12
|
-
/**
|
|
13
|
-
* Short Weierstrass curve methods. The formula is: y² = x³ + ax + b.
|
|
14
|
-
*
|
|
15
|
-
* ### Design rationale for types
|
|
16
|
-
*
|
|
17
|
-
* * Interaction between classes from different curves should fail:
|
|
18
|
-
* `k256.Point.BASE.add(p256.Point.BASE)`
|
|
19
|
-
* * For this purpose we want to use `instanceof` operator, which is fast and works during runtime
|
|
20
|
-
* * Different calls of `curve()` would return different classes -
|
|
21
|
-
* `curve(params) !== curve(params)`: if somebody decided to monkey-patch their curve,
|
|
22
|
-
* it won't affect others
|
|
23
|
-
*
|
|
24
|
-
* TypeScript can't infer types for classes created inside a function. Classes is one instance
|
|
25
|
-
* of nominative types in TypeScript and interfaces only check for shape, so it's hard to create
|
|
26
|
-
* unique type for every function call.
|
|
27
|
-
*
|
|
28
|
-
* We can use generic types via some param, like curve opts, but that would:
|
|
29
|
-
* 1. Enable interaction between `curve(params)` and `curve(params)` (curves of same params)
|
|
30
|
-
* which is hard to debug.
|
|
31
|
-
* 2. Params can be generic and we can't enforce them to be constant value:
|
|
32
|
-
* if somebody creates curve from non-constant params,
|
|
33
|
-
* it would be allowed to interact with other curves with non-constant params
|
|
34
|
-
*
|
|
35
|
-
* @todo https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-7.html#unique-symbol
|
|
36
|
-
* @module
|
|
37
|
-
*/
|
|
38
|
-
/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
|
39
|
-
const hmac_js_1 = require("@noble/hashes/hmac.js");
|
|
40
|
-
const utils_ts_1 = require("../utils.js");
|
|
41
|
-
const curve_ts_1 = require("./curve.js");
|
|
42
|
-
const modular_ts_1 = require("./modular.js");
|
|
43
|
-
function validateSigVerOpts(opts) {
|
|
44
|
-
if (opts.lowS !== undefined)
|
|
45
|
-
(0, utils_ts_1.abool)('lowS', opts.lowS);
|
|
46
|
-
if (opts.prehash !== undefined)
|
|
47
|
-
(0, utils_ts_1.abool)('prehash', opts.prehash);
|
|
48
|
-
}
|
|
49
|
-
class DERErr extends Error {
|
|
50
|
-
constructor(m = '') {
|
|
51
|
-
super(m);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
exports.DERErr = DERErr;
|
|
55
|
-
/**
|
|
56
|
-
* ASN.1 DER encoding utilities. ASN is very complex & fragile. Format:
|
|
57
|
-
*
|
|
58
|
-
* [0x30 (SEQUENCE), bytelength, 0x02 (INTEGER), intLength, R, 0x02 (INTEGER), intLength, S]
|
|
59
|
-
*
|
|
60
|
-
* Docs: https://letsencrypt.org/docs/a-warm-welcome-to-asn1-and-der/, https://luca.ntop.org/Teaching/Appunti/asn1.html
|
|
61
|
-
*/
|
|
62
|
-
exports.DER = {
|
|
63
|
-
// asn.1 DER encoding utils
|
|
64
|
-
Err: DERErr,
|
|
65
|
-
// Basic building block is TLV (Tag-Length-Value)
|
|
66
|
-
_tlv: {
|
|
67
|
-
encode: (tag, data) => {
|
|
68
|
-
const { Err: E } = exports.DER;
|
|
69
|
-
if (tag < 0 || tag > 256)
|
|
70
|
-
throw new E('tlv.encode: wrong tag');
|
|
71
|
-
if (data.length & 1)
|
|
72
|
-
throw new E('tlv.encode: unpadded data');
|
|
73
|
-
const dataLen = data.length / 2;
|
|
74
|
-
const len = (0, utils_ts_1.numberToHexUnpadded)(dataLen);
|
|
75
|
-
if ((len.length / 2) & 128)
|
|
76
|
-
throw new E('tlv.encode: long form length too big');
|
|
77
|
-
// length of length with long form flag
|
|
78
|
-
const lenLen = dataLen > 127 ? (0, utils_ts_1.numberToHexUnpadded)((len.length / 2) | 128) : '';
|
|
79
|
-
const t = (0, utils_ts_1.numberToHexUnpadded)(tag);
|
|
80
|
-
return t + lenLen + len + data;
|
|
81
|
-
},
|
|
82
|
-
// v - value, l - left bytes (unparsed)
|
|
83
|
-
decode(tag, data) {
|
|
84
|
-
const { Err: E } = exports.DER;
|
|
85
|
-
let pos = 0;
|
|
86
|
-
if (tag < 0 || tag > 256)
|
|
87
|
-
throw new E('tlv.encode: wrong tag');
|
|
88
|
-
if (data.length < 2 || data[pos++] !== tag)
|
|
89
|
-
throw new E('tlv.decode: wrong tlv');
|
|
90
|
-
const first = data[pos++];
|
|
91
|
-
const isLong = !!(first & 128); // First bit of first length byte is flag for short/long form
|
|
92
|
-
let length = 0;
|
|
93
|
-
if (!isLong)
|
|
94
|
-
length = first;
|
|
95
|
-
else {
|
|
96
|
-
// Long form: [longFlag(1bit), lengthLength(7bit), length (BE)]
|
|
97
|
-
const lenLen = first & 127;
|
|
98
|
-
if (!lenLen)
|
|
99
|
-
throw new E('tlv.decode(long): indefinite length not supported');
|
|
100
|
-
if (lenLen > 4)
|
|
101
|
-
throw new E('tlv.decode(long): byte length is too big'); // this will overflow u32 in js
|
|
102
|
-
const lengthBytes = data.subarray(pos, pos + lenLen);
|
|
103
|
-
if (lengthBytes.length !== lenLen)
|
|
104
|
-
throw new E('tlv.decode: length bytes not complete');
|
|
105
|
-
if (lengthBytes[0] === 0)
|
|
106
|
-
throw new E('tlv.decode(long): zero leftmost byte');
|
|
107
|
-
for (const b of lengthBytes)
|
|
108
|
-
length = (length << 8) | b;
|
|
109
|
-
pos += lenLen;
|
|
110
|
-
if (length < 128)
|
|
111
|
-
throw new E('tlv.decode(long): not minimal encoding');
|
|
112
|
-
}
|
|
113
|
-
const v = data.subarray(pos, pos + length);
|
|
114
|
-
if (v.length !== length)
|
|
115
|
-
throw new E('tlv.decode: wrong value length');
|
|
116
|
-
return { v, l: data.subarray(pos + length) };
|
|
117
|
-
},
|
|
118
|
-
},
|
|
119
|
-
// https://crypto.stackexchange.com/a/57734 Leftmost bit of first byte is 'negative' flag,
|
|
120
|
-
// since we always use positive integers here. It must always be empty:
|
|
121
|
-
// - add zero byte if exists
|
|
122
|
-
// - if next byte doesn't have a flag, leading zero is not allowed (minimal encoding)
|
|
123
|
-
_int: {
|
|
124
|
-
encode(num) {
|
|
125
|
-
const { Err: E } = exports.DER;
|
|
126
|
-
if (num < _0n)
|
|
127
|
-
throw new E('integer: negative integers are not allowed');
|
|
128
|
-
let hex = (0, utils_ts_1.numberToHexUnpadded)(num);
|
|
129
|
-
// Pad with zero byte if negative flag is present
|
|
130
|
-
if (Number.parseInt(hex[0], 16) & 0b1000)
|
|
131
|
-
hex = '00' + hex;
|
|
132
|
-
if (hex.length & 1)
|
|
133
|
-
throw new E('unexpected DER parsing assertion: unpadded hex');
|
|
134
|
-
return hex;
|
|
135
|
-
},
|
|
136
|
-
decode(data) {
|
|
137
|
-
const { Err: E } = exports.DER;
|
|
138
|
-
if (data[0] & 128)
|
|
139
|
-
throw new E('invalid signature integer: negative');
|
|
140
|
-
if (data[0] === 0x00 && !(data[1] & 128))
|
|
141
|
-
throw new E('invalid signature integer: unnecessary leading zero');
|
|
142
|
-
return (0, utils_ts_1.bytesToNumberBE)(data);
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
toSig(hex) {
|
|
146
|
-
// parse DER signature
|
|
147
|
-
const { Err: E, _int: int, _tlv: tlv } = exports.DER;
|
|
148
|
-
const data = (0, utils_ts_1.ensureBytes)('signature', hex);
|
|
149
|
-
const { v: seqBytes, l: seqLeftBytes } = tlv.decode(0x30, data);
|
|
150
|
-
if (seqLeftBytes.length)
|
|
151
|
-
throw new E('invalid signature: left bytes after parsing');
|
|
152
|
-
const { v: rBytes, l: rLeftBytes } = tlv.decode(0x02, seqBytes);
|
|
153
|
-
const { v: sBytes, l: sLeftBytes } = tlv.decode(0x02, rLeftBytes);
|
|
154
|
-
if (sLeftBytes.length)
|
|
155
|
-
throw new E('invalid signature: left bytes after parsing');
|
|
156
|
-
return { r: int.decode(rBytes), s: int.decode(sBytes) };
|
|
157
|
-
},
|
|
158
|
-
hexFromSig(sig) {
|
|
159
|
-
const { _tlv: tlv, _int: int } = exports.DER;
|
|
160
|
-
const rs = tlv.encode(0x02, int.encode(sig.r));
|
|
161
|
-
const ss = tlv.encode(0x02, int.encode(sig.s));
|
|
162
|
-
const seq = rs + ss;
|
|
163
|
-
return tlv.encode(0x30, seq);
|
|
164
|
-
},
|
|
165
|
-
};
|
|
166
|
-
// Be friendly to bad ECMAScript parsers by not using bigint literals
|
|
167
|
-
// prettier-ignore
|
|
168
|
-
const _0n = BigInt(0), _1n = BigInt(1), _2n = BigInt(2), _3n = BigInt(3), _4n = BigInt(4);
|
|
169
|
-
// TODO: remove
|
|
170
|
-
function _legacyHelperEquat(Fp, a, b) {
|
|
171
|
-
/**
|
|
172
|
-
* y² = x³ + ax + b: Short weierstrass curve formula. Takes x, returns y².
|
|
173
|
-
* @returns y²
|
|
174
|
-
*/
|
|
175
|
-
function weierstrassEquation(x) {
|
|
176
|
-
const x2 = Fp.sqr(x); // x * x
|
|
177
|
-
const x3 = Fp.mul(x2, x); // x² * x
|
|
178
|
-
return Fp.add(Fp.add(x3, Fp.mul(x, a)), b); // x³ + a * x + b
|
|
179
|
-
}
|
|
180
|
-
return weierstrassEquation;
|
|
181
|
-
}
|
|
182
|
-
function _legacyHelperNormPriv(Fn, allowedPrivateKeyLengths, wrapPrivateKey) {
|
|
183
|
-
const { BYTES: expected } = Fn;
|
|
184
|
-
// Validates if priv key is valid and converts it to bigint.
|
|
185
|
-
function normPrivateKeyToScalar(key) {
|
|
186
|
-
let num;
|
|
187
|
-
if (typeof key === 'bigint') {
|
|
188
|
-
num = key;
|
|
189
|
-
}
|
|
190
|
-
else {
|
|
191
|
-
let bytes = (0, utils_ts_1.ensureBytes)('private key', key);
|
|
192
|
-
if (allowedPrivateKeyLengths) {
|
|
193
|
-
if (!allowedPrivateKeyLengths.includes(bytes.length * 2))
|
|
194
|
-
throw new Error('invalid private key');
|
|
195
|
-
const padded = new Uint8Array(expected);
|
|
196
|
-
padded.set(bytes, padded.length - bytes.length);
|
|
197
|
-
bytes = padded;
|
|
198
|
-
}
|
|
199
|
-
try {
|
|
200
|
-
num = Fn.fromBytes(bytes);
|
|
201
|
-
}
|
|
202
|
-
catch (error) {
|
|
203
|
-
throw new Error(`invalid private key: expected ui8a of size ${expected}, got ${typeof key}`);
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
if (wrapPrivateKey)
|
|
207
|
-
num = Fn.create(num); // disabled by default, enabled for BLS
|
|
208
|
-
if (!Fn.isValidNot0(num))
|
|
209
|
-
throw new Error('invalid private key: out of range [1..N-1]');
|
|
210
|
-
return num;
|
|
211
|
-
}
|
|
212
|
-
return normPrivateKeyToScalar;
|
|
213
|
-
}
|
|
214
|
-
function weierstrassN(CURVE, curveOpts = {}) {
|
|
215
|
-
const { Fp, Fn } = (0, curve_ts_1._createCurveFields)('weierstrass', CURVE, curveOpts);
|
|
216
|
-
const { h: cofactor, n: CURVE_ORDER } = CURVE;
|
|
217
|
-
(0, utils_ts_1._validateObject)(curveOpts, {}, {
|
|
218
|
-
allowInfinityPoint: 'boolean',
|
|
219
|
-
clearCofactor: 'function',
|
|
220
|
-
isTorsionFree: 'function',
|
|
221
|
-
fromBytes: 'function',
|
|
222
|
-
toBytes: 'function',
|
|
223
|
-
endo: 'object',
|
|
224
|
-
wrapPrivateKey: 'boolean',
|
|
225
|
-
});
|
|
226
|
-
const { endo } = curveOpts;
|
|
227
|
-
if (endo) {
|
|
228
|
-
// validateObject(endo, { beta: 'bigint', splitScalar: 'function' });
|
|
229
|
-
if (!Fp.is0(CURVE.a) ||
|
|
230
|
-
typeof endo.beta !== 'bigint' ||
|
|
231
|
-
typeof endo.splitScalar !== 'function') {
|
|
232
|
-
throw new Error('invalid endo: expected "beta": bigint and "splitScalar": function');
|
|
233
|
-
}
|
|
234
|
-
}
|
|
235
|
-
function assertCompressionIsSupported() {
|
|
236
|
-
if (!Fp.isOdd)
|
|
237
|
-
throw new Error('compression is not supported: Field does not have .isOdd()');
|
|
238
|
-
}
|
|
239
|
-
// Implements IEEE P1363 point encoding
|
|
240
|
-
function pointToBytes(_c, point, isCompressed) {
|
|
241
|
-
const { x, y } = point.toAffine();
|
|
242
|
-
const bx = Fp.toBytes(x);
|
|
243
|
-
(0, utils_ts_1.abool)('isCompressed', isCompressed);
|
|
244
|
-
if (isCompressed) {
|
|
245
|
-
assertCompressionIsSupported();
|
|
246
|
-
const hasEvenY = !Fp.isOdd(y);
|
|
247
|
-
return (0, utils_ts_1.concatBytes)(pprefix(hasEvenY), bx);
|
|
248
|
-
}
|
|
249
|
-
else {
|
|
250
|
-
return (0, utils_ts_1.concatBytes)(Uint8Array.of(0x04), bx, Fp.toBytes(y));
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
function pointFromBytes(bytes) {
|
|
254
|
-
(0, utils_ts_1.abytes)(bytes);
|
|
255
|
-
const L = Fp.BYTES;
|
|
256
|
-
const LC = L + 1; // length compressed, e.g. 33 for 32-byte field
|
|
257
|
-
const LU = 2 * L + 1; // length uncompressed, e.g. 65 for 32-byte field
|
|
258
|
-
const length = bytes.length;
|
|
259
|
-
const head = bytes[0];
|
|
260
|
-
const tail = bytes.subarray(1);
|
|
261
|
-
// No actual validation is done here: use .assertValidity()
|
|
262
|
-
if (length === LC && (head === 0x02 || head === 0x03)) {
|
|
263
|
-
const x = Fp.fromBytes(tail);
|
|
264
|
-
if (!Fp.isValid(x))
|
|
265
|
-
throw new Error('bad point: is not on curve, wrong x');
|
|
266
|
-
const y2 = weierstrassEquation(x); // y² = x³ + ax + b
|
|
267
|
-
let y;
|
|
268
|
-
try {
|
|
269
|
-
y = Fp.sqrt(y2); // y = y² ^ (p+1)/4
|
|
270
|
-
}
|
|
271
|
-
catch (sqrtError) {
|
|
272
|
-
const err = sqrtError instanceof Error ? ': ' + sqrtError.message : '';
|
|
273
|
-
throw new Error('bad point: is not on curve, sqrt error' + err);
|
|
274
|
-
}
|
|
275
|
-
assertCompressionIsSupported();
|
|
276
|
-
const isYOdd = Fp.isOdd(y); // (y & _1n) === _1n;
|
|
277
|
-
const isHeadOdd = (head & 1) === 1; // ECDSA-specific
|
|
278
|
-
if (isHeadOdd !== isYOdd)
|
|
279
|
-
y = Fp.neg(y);
|
|
280
|
-
return { x, y };
|
|
281
|
-
}
|
|
282
|
-
else if (length === LU && head === 0x04) {
|
|
283
|
-
// TODO: more checks
|
|
284
|
-
const x = Fp.fromBytes(tail.subarray(L * 0, L * 1));
|
|
285
|
-
const y = Fp.fromBytes(tail.subarray(L * 1, L * 2));
|
|
286
|
-
if (!isValidXY(x, y))
|
|
287
|
-
throw new Error('bad point: is not on curve');
|
|
288
|
-
return { x, y };
|
|
289
|
-
}
|
|
290
|
-
else {
|
|
291
|
-
throw new Error(`bad point: got length ${length}, expected compressed=${LC} or uncompressed=${LU}`);
|
|
292
|
-
}
|
|
293
|
-
}
|
|
294
|
-
const toBytes = curveOpts.toBytes || pointToBytes;
|
|
295
|
-
const fromBytes = curveOpts.fromBytes || pointFromBytes;
|
|
296
|
-
const weierstrassEquation = _legacyHelperEquat(Fp, CURVE.a, CURVE.b);
|
|
297
|
-
// TODO: move top-level
|
|
298
|
-
/** Checks whether equation holds for given x, y: y² == x³ + ax + b */
|
|
299
|
-
function isValidXY(x, y) {
|
|
300
|
-
const left = Fp.sqr(y); // y²
|
|
301
|
-
const right = weierstrassEquation(x); // x³ + ax + b
|
|
302
|
-
return Fp.eql(left, right);
|
|
303
|
-
}
|
|
304
|
-
// Validate whether the passed curve params are valid.
|
|
305
|
-
// Test 1: equation y² = x³ + ax + b should work for generator point.
|
|
306
|
-
if (!isValidXY(CURVE.Gx, CURVE.Gy))
|
|
307
|
-
throw new Error('bad curve params: generator point');
|
|
308
|
-
// Test 2: discriminant Δ part should be non-zero: 4a³ + 27b² != 0.
|
|
309
|
-
// Guarantees curve is genus-1, smooth (non-singular).
|
|
310
|
-
const _4a3 = Fp.mul(Fp.pow(CURVE.a, _3n), _4n);
|
|
311
|
-
const _27b2 = Fp.mul(Fp.sqr(CURVE.b), BigInt(27));
|
|
312
|
-
if (Fp.is0(Fp.add(_4a3, _27b2)))
|
|
313
|
-
throw new Error('bad curve params: a or b');
|
|
314
|
-
/** Asserts coordinate is valid: 0 <= n < Fp.ORDER. */
|
|
315
|
-
function acoord(title, n, banZero = false) {
|
|
316
|
-
if (!Fp.isValid(n) || (banZero && Fp.is0(n)))
|
|
317
|
-
throw new Error(`bad point coordinate ${title}`);
|
|
318
|
-
return n;
|
|
319
|
-
}
|
|
320
|
-
function aprjpoint(other) {
|
|
321
|
-
if (!(other instanceof Point))
|
|
322
|
-
throw new Error('ProjectivePoint expected');
|
|
323
|
-
}
|
|
324
|
-
// Memoized toAffine / validity check. They are heavy. Points are immutable.
|
|
325
|
-
// Converts Projective point to affine (x, y) coordinates.
|
|
326
|
-
// Can accept precomputed Z^-1 - for example, from invertBatch.
|
|
327
|
-
// (X, Y, Z) ∋ (x=X/Z, y=Y/Z)
|
|
328
|
-
const toAffineMemo = (0, utils_ts_1.memoized)((p, iz) => {
|
|
329
|
-
const { px: x, py: y, pz: z } = p;
|
|
330
|
-
// Fast-path for normalized points
|
|
331
|
-
if (Fp.eql(z, Fp.ONE))
|
|
332
|
-
return { x, y };
|
|
333
|
-
const is0 = p.is0();
|
|
334
|
-
// If invZ was 0, we return zero point. However we still want to execute
|
|
335
|
-
// all operations, so we replace invZ with a random number, 1.
|
|
336
|
-
if (iz == null)
|
|
337
|
-
iz = is0 ? Fp.ONE : Fp.inv(z);
|
|
338
|
-
const ax = Fp.mul(x, iz);
|
|
339
|
-
const ay = Fp.mul(y, iz);
|
|
340
|
-
const zz = Fp.mul(z, iz);
|
|
341
|
-
if (is0)
|
|
342
|
-
return { x: Fp.ZERO, y: Fp.ZERO };
|
|
343
|
-
if (!Fp.eql(zz, Fp.ONE))
|
|
344
|
-
throw new Error('invZ was invalid');
|
|
345
|
-
return { x: ax, y: ay };
|
|
346
|
-
});
|
|
347
|
-
// NOTE: on exception this will crash 'cached' and no value will be set.
|
|
348
|
-
// Otherwise true will be return
|
|
349
|
-
const assertValidMemo = (0, utils_ts_1.memoized)((p) => {
|
|
350
|
-
if (p.is0()) {
|
|
351
|
-
// (0, 1, 0) aka ZERO is invalid in most contexts.
|
|
352
|
-
// In BLS, ZERO can be serialized, so we allow it.
|
|
353
|
-
// (0, 0, 0) is invalid representation of ZERO.
|
|
354
|
-
if (curveOpts.allowInfinityPoint && !Fp.is0(p.py))
|
|
355
|
-
return;
|
|
356
|
-
throw new Error('bad point: ZERO');
|
|
357
|
-
}
|
|
358
|
-
// Some 3rd-party test vectors require different wording between here & `fromCompressedHex`
|
|
359
|
-
const { x, y } = p.toAffine();
|
|
360
|
-
if (!Fp.isValid(x) || !Fp.isValid(y))
|
|
361
|
-
throw new Error('bad point: x or y not field elements');
|
|
362
|
-
if (!isValidXY(x, y))
|
|
363
|
-
throw new Error('bad point: equation left != right');
|
|
364
|
-
if (!p.isTorsionFree())
|
|
365
|
-
throw new Error('bad point: not in prime-order subgroup');
|
|
366
|
-
return true;
|
|
367
|
-
});
|
|
368
|
-
function finishEndo(endoBeta, k1p, k2p, k1neg, k2neg) {
|
|
369
|
-
k2p = new Point(Fp.mul(k2p.px, endoBeta), k2p.py, k2p.pz);
|
|
370
|
-
k1p = (0, curve_ts_1.negateCt)(k1neg, k1p);
|
|
371
|
-
k2p = (0, curve_ts_1.negateCt)(k2neg, k2p);
|
|
372
|
-
return k1p.add(k2p);
|
|
373
|
-
}
|
|
374
|
-
/**
|
|
375
|
-
* Projective Point works in 3d / projective (homogeneous) coordinates:(X, Y, Z) ∋ (x=X/Z, y=Y/Z).
|
|
376
|
-
* Default Point works in 2d / affine coordinates: (x, y).
|
|
377
|
-
* We're doing calculations in projective, because its operations don't require costly inversion.
|
|
378
|
-
*/
|
|
379
|
-
class Point {
|
|
380
|
-
/** Does NOT validate if the point is valid. Use `.assertValidity()`. */
|
|
381
|
-
constructor(px, py, pz) {
|
|
382
|
-
this.px = acoord('x', px);
|
|
383
|
-
this.py = acoord('y', py, true);
|
|
384
|
-
this.pz = acoord('z', pz);
|
|
385
|
-
Object.freeze(this);
|
|
386
|
-
}
|
|
387
|
-
/** Does NOT validate if the point is valid. Use `.assertValidity()`. */
|
|
388
|
-
static fromAffine(p) {
|
|
389
|
-
const { x, y } = p || {};
|
|
390
|
-
if (!p || !Fp.isValid(x) || !Fp.isValid(y))
|
|
391
|
-
throw new Error('invalid affine point');
|
|
392
|
-
if (p instanceof Point)
|
|
393
|
-
throw new Error('projective point not allowed');
|
|
394
|
-
// (0, 0) would've produced (0, 0, 1) - instead, we need (0, 1, 0)
|
|
395
|
-
if (Fp.is0(x) && Fp.is0(y))
|
|
396
|
-
return Point.ZERO;
|
|
397
|
-
return new Point(x, y, Fp.ONE);
|
|
398
|
-
}
|
|
399
|
-
get x() {
|
|
400
|
-
return this.toAffine().x;
|
|
401
|
-
}
|
|
402
|
-
get y() {
|
|
403
|
-
return this.toAffine().y;
|
|
404
|
-
}
|
|
405
|
-
static normalizeZ(points) {
|
|
406
|
-
return (0, curve_ts_1.normalizeZ)(Point, 'pz', points);
|
|
407
|
-
}
|
|
408
|
-
static fromBytes(bytes) {
|
|
409
|
-
(0, utils_ts_1.abytes)(bytes);
|
|
410
|
-
return Point.fromHex(bytes);
|
|
411
|
-
}
|
|
412
|
-
/** Converts hash string or Uint8Array to Point. */
|
|
413
|
-
static fromHex(hex) {
|
|
414
|
-
const P = Point.fromAffine(fromBytes((0, utils_ts_1.ensureBytes)('pointHex', hex)));
|
|
415
|
-
P.assertValidity();
|
|
416
|
-
return P;
|
|
417
|
-
}
|
|
418
|
-
/** Multiplies generator point by privateKey. */
|
|
419
|
-
static fromPrivateKey(privateKey) {
|
|
420
|
-
const normPrivateKeyToScalar = _legacyHelperNormPriv(Fn, curveOpts.allowedPrivateKeyLengths, curveOpts.wrapPrivateKey);
|
|
421
|
-
return Point.BASE.multiply(normPrivateKeyToScalar(privateKey));
|
|
422
|
-
}
|
|
423
|
-
/** Multiscalar Multiplication */
|
|
424
|
-
static msm(points, scalars) {
|
|
425
|
-
return (0, curve_ts_1.pippenger)(Point, Fn, points, scalars);
|
|
426
|
-
}
|
|
427
|
-
/**
|
|
428
|
-
*
|
|
429
|
-
* @param windowSize
|
|
430
|
-
* @param isLazy true will defer table computation until the first multiplication
|
|
431
|
-
* @returns
|
|
432
|
-
*/
|
|
433
|
-
precompute(windowSize = 8, isLazy = true) {
|
|
434
|
-
wnaf.setWindowSize(this, windowSize);
|
|
435
|
-
if (!isLazy)
|
|
436
|
-
this.multiply(_3n); // random number
|
|
437
|
-
return this;
|
|
438
|
-
}
|
|
439
|
-
/** "Private method", don't use it directly */
|
|
440
|
-
_setWindowSize(windowSize) {
|
|
441
|
-
this.precompute(windowSize);
|
|
442
|
-
}
|
|
443
|
-
// TODO: return `this`
|
|
444
|
-
/** A point on curve is valid if it conforms to equation. */
|
|
445
|
-
assertValidity() {
|
|
446
|
-
assertValidMemo(this);
|
|
447
|
-
}
|
|
448
|
-
hasEvenY() {
|
|
449
|
-
const { y } = this.toAffine();
|
|
450
|
-
if (!Fp.isOdd)
|
|
451
|
-
throw new Error("Field doesn't support isOdd");
|
|
452
|
-
return !Fp.isOdd(y);
|
|
453
|
-
}
|
|
454
|
-
/** Compare one point to another. */
|
|
455
|
-
equals(other) {
|
|
456
|
-
aprjpoint(other);
|
|
457
|
-
const { px: X1, py: Y1, pz: Z1 } = this;
|
|
458
|
-
const { px: X2, py: Y2, pz: Z2 } = other;
|
|
459
|
-
const U1 = Fp.eql(Fp.mul(X1, Z2), Fp.mul(X2, Z1));
|
|
460
|
-
const U2 = Fp.eql(Fp.mul(Y1, Z2), Fp.mul(Y2, Z1));
|
|
461
|
-
return U1 && U2;
|
|
462
|
-
}
|
|
463
|
-
/** Flips point to one corresponding to (x, -y) in Affine coordinates. */
|
|
464
|
-
negate() {
|
|
465
|
-
return new Point(this.px, Fp.neg(this.py), this.pz);
|
|
466
|
-
}
|
|
467
|
-
// Renes-Costello-Batina exception-free doubling formula.
|
|
468
|
-
// There is 30% faster Jacobian formula, but it is not complete.
|
|
469
|
-
// https://eprint.iacr.org/2015/1060, algorithm 3
|
|
470
|
-
// Cost: 8M + 3S + 3*a + 2*b3 + 15add.
|
|
471
|
-
double() {
|
|
472
|
-
const { a, b } = CURVE;
|
|
473
|
-
const b3 = Fp.mul(b, _3n);
|
|
474
|
-
const { px: X1, py: Y1, pz: Z1 } = this;
|
|
475
|
-
let X3 = Fp.ZERO, Y3 = Fp.ZERO, Z3 = Fp.ZERO; // prettier-ignore
|
|
476
|
-
let t0 = Fp.mul(X1, X1); // step 1
|
|
477
|
-
let t1 = Fp.mul(Y1, Y1);
|
|
478
|
-
let t2 = Fp.mul(Z1, Z1);
|
|
479
|
-
let t3 = Fp.mul(X1, Y1);
|
|
480
|
-
t3 = Fp.add(t3, t3); // step 5
|
|
481
|
-
Z3 = Fp.mul(X1, Z1);
|
|
482
|
-
Z3 = Fp.add(Z3, Z3);
|
|
483
|
-
X3 = Fp.mul(a, Z3);
|
|
484
|
-
Y3 = Fp.mul(b3, t2);
|
|
485
|
-
Y3 = Fp.add(X3, Y3); // step 10
|
|
486
|
-
X3 = Fp.sub(t1, Y3);
|
|
487
|
-
Y3 = Fp.add(t1, Y3);
|
|
488
|
-
Y3 = Fp.mul(X3, Y3);
|
|
489
|
-
X3 = Fp.mul(t3, X3);
|
|
490
|
-
Z3 = Fp.mul(b3, Z3); // step 15
|
|
491
|
-
t2 = Fp.mul(a, t2);
|
|
492
|
-
t3 = Fp.sub(t0, t2);
|
|
493
|
-
t3 = Fp.mul(a, t3);
|
|
494
|
-
t3 = Fp.add(t3, Z3);
|
|
495
|
-
Z3 = Fp.add(t0, t0); // step 20
|
|
496
|
-
t0 = Fp.add(Z3, t0);
|
|
497
|
-
t0 = Fp.add(t0, t2);
|
|
498
|
-
t0 = Fp.mul(t0, t3);
|
|
499
|
-
Y3 = Fp.add(Y3, t0);
|
|
500
|
-
t2 = Fp.mul(Y1, Z1); // step 25
|
|
501
|
-
t2 = Fp.add(t2, t2);
|
|
502
|
-
t0 = Fp.mul(t2, t3);
|
|
503
|
-
X3 = Fp.sub(X3, t0);
|
|
504
|
-
Z3 = Fp.mul(t2, t1);
|
|
505
|
-
Z3 = Fp.add(Z3, Z3); // step 30
|
|
506
|
-
Z3 = Fp.add(Z3, Z3);
|
|
507
|
-
return new Point(X3, Y3, Z3);
|
|
508
|
-
}
|
|
509
|
-
// Renes-Costello-Batina exception-free addition formula.
|
|
510
|
-
// There is 30% faster Jacobian formula, but it is not complete.
|
|
511
|
-
// https://eprint.iacr.org/2015/1060, algorithm 1
|
|
512
|
-
// Cost: 12M + 0S + 3*a + 3*b3 + 23add.
|
|
513
|
-
add(other) {
|
|
514
|
-
aprjpoint(other);
|
|
515
|
-
const { px: X1, py: Y1, pz: Z1 } = this;
|
|
516
|
-
const { px: X2, py: Y2, pz: Z2 } = other;
|
|
517
|
-
let X3 = Fp.ZERO, Y3 = Fp.ZERO, Z3 = Fp.ZERO; // prettier-ignore
|
|
518
|
-
const a = CURVE.a;
|
|
519
|
-
const b3 = Fp.mul(CURVE.b, _3n);
|
|
520
|
-
let t0 = Fp.mul(X1, X2); // step 1
|
|
521
|
-
let t1 = Fp.mul(Y1, Y2);
|
|
522
|
-
let t2 = Fp.mul(Z1, Z2);
|
|
523
|
-
let t3 = Fp.add(X1, Y1);
|
|
524
|
-
let t4 = Fp.add(X2, Y2); // step 5
|
|
525
|
-
t3 = Fp.mul(t3, t4);
|
|
526
|
-
t4 = Fp.add(t0, t1);
|
|
527
|
-
t3 = Fp.sub(t3, t4);
|
|
528
|
-
t4 = Fp.add(X1, Z1);
|
|
529
|
-
let t5 = Fp.add(X2, Z2); // step 10
|
|
530
|
-
t4 = Fp.mul(t4, t5);
|
|
531
|
-
t5 = Fp.add(t0, t2);
|
|
532
|
-
t4 = Fp.sub(t4, t5);
|
|
533
|
-
t5 = Fp.add(Y1, Z1);
|
|
534
|
-
X3 = Fp.add(Y2, Z2); // step 15
|
|
535
|
-
t5 = Fp.mul(t5, X3);
|
|
536
|
-
X3 = Fp.add(t1, t2);
|
|
537
|
-
t5 = Fp.sub(t5, X3);
|
|
538
|
-
Z3 = Fp.mul(a, t4);
|
|
539
|
-
X3 = Fp.mul(b3, t2); // step 20
|
|
540
|
-
Z3 = Fp.add(X3, Z3);
|
|
541
|
-
X3 = Fp.sub(t1, Z3);
|
|
542
|
-
Z3 = Fp.add(t1, Z3);
|
|
543
|
-
Y3 = Fp.mul(X3, Z3);
|
|
544
|
-
t1 = Fp.add(t0, t0); // step 25
|
|
545
|
-
t1 = Fp.add(t1, t0);
|
|
546
|
-
t2 = Fp.mul(a, t2);
|
|
547
|
-
t4 = Fp.mul(b3, t4);
|
|
548
|
-
t1 = Fp.add(t1, t2);
|
|
549
|
-
t2 = Fp.sub(t0, t2); // step 30
|
|
550
|
-
t2 = Fp.mul(a, t2);
|
|
551
|
-
t4 = Fp.add(t4, t2);
|
|
552
|
-
t0 = Fp.mul(t1, t4);
|
|
553
|
-
Y3 = Fp.add(Y3, t0);
|
|
554
|
-
t0 = Fp.mul(t5, t4); // step 35
|
|
555
|
-
X3 = Fp.mul(t3, X3);
|
|
556
|
-
X3 = Fp.sub(X3, t0);
|
|
557
|
-
t0 = Fp.mul(t3, t1);
|
|
558
|
-
Z3 = Fp.mul(t5, Z3);
|
|
559
|
-
Z3 = Fp.add(Z3, t0); // step 40
|
|
560
|
-
return new Point(X3, Y3, Z3);
|
|
561
|
-
}
|
|
562
|
-
subtract(other) {
|
|
563
|
-
return this.add(other.negate());
|
|
564
|
-
}
|
|
565
|
-
is0() {
|
|
566
|
-
return this.equals(Point.ZERO);
|
|
567
|
-
}
|
|
568
|
-
/**
|
|
569
|
-
* Constant time multiplication.
|
|
570
|
-
* Uses wNAF method. Windowed method may be 10% faster,
|
|
571
|
-
* but takes 2x longer to generate and consumes 2x memory.
|
|
572
|
-
* Uses precomputes when available.
|
|
573
|
-
* Uses endomorphism for Koblitz curves.
|
|
574
|
-
* @param scalar by which the point would be multiplied
|
|
575
|
-
* @returns New point
|
|
576
|
-
*/
|
|
577
|
-
multiply(scalar) {
|
|
578
|
-
const { endo } = curveOpts;
|
|
579
|
-
if (!Fn.isValidNot0(scalar))
|
|
580
|
-
throw new Error('invalid scalar: out of range'); // 0 is invalid
|
|
581
|
-
let point, fake; // Fake point is used to const-time mult
|
|
582
|
-
const mul = (n) => wnaf.wNAFCached(this, n, Point.normalizeZ);
|
|
583
|
-
/** See docs for {@link EndomorphismOpts} */
|
|
584
|
-
if (endo) {
|
|
585
|
-
const { k1neg, k1, k2neg, k2 } = endo.splitScalar(scalar);
|
|
586
|
-
const { p: k1p, f: k1f } = mul(k1);
|
|
587
|
-
const { p: k2p, f: k2f } = mul(k2);
|
|
588
|
-
fake = k1f.add(k2f);
|
|
589
|
-
point = finishEndo(endo.beta, k1p, k2p, k1neg, k2neg);
|
|
590
|
-
}
|
|
591
|
-
else {
|
|
592
|
-
const { p, f } = mul(scalar);
|
|
593
|
-
point = p;
|
|
594
|
-
fake = f;
|
|
595
|
-
}
|
|
596
|
-
// Normalize `z` for both points, but return only real one
|
|
597
|
-
return Point.normalizeZ([point, fake])[0];
|
|
598
|
-
}
|
|
599
|
-
/**
|
|
600
|
-
* Non-constant-time multiplication. Uses double-and-add algorithm.
|
|
601
|
-
* It's faster, but should only be used when you don't care about
|
|
602
|
-
* an exposed private key e.g. sig verification, which works over *public* keys.
|
|
603
|
-
*/
|
|
604
|
-
multiplyUnsafe(sc) {
|
|
605
|
-
const { endo } = curveOpts;
|
|
606
|
-
const p = this;
|
|
607
|
-
if (!Fn.isValid(sc))
|
|
608
|
-
throw new Error('invalid scalar: out of range'); // 0 is valid
|
|
609
|
-
if (sc === _0n || p.is0())
|
|
610
|
-
return Point.ZERO;
|
|
611
|
-
if (sc === _1n)
|
|
612
|
-
return p; // fast-path
|
|
613
|
-
if (wnaf.hasPrecomputes(this))
|
|
614
|
-
return this.multiply(sc);
|
|
615
|
-
if (endo) {
|
|
616
|
-
const { k1neg, k1, k2neg, k2 } = endo.splitScalar(sc);
|
|
617
|
-
// `wNAFCachedUnsafe` is 30% slower
|
|
618
|
-
const { p1, p2 } = (0, curve_ts_1.mulEndoUnsafe)(Point, p, k1, k2);
|
|
619
|
-
return finishEndo(endo.beta, p1, p2, k1neg, k2neg);
|
|
620
|
-
}
|
|
621
|
-
else {
|
|
622
|
-
return wnaf.wNAFCachedUnsafe(p, sc);
|
|
623
|
-
}
|
|
624
|
-
}
|
|
625
|
-
multiplyAndAddUnsafe(Q, a, b) {
|
|
626
|
-
const sum = this.multiplyUnsafe(a).add(Q.multiplyUnsafe(b));
|
|
627
|
-
return sum.is0() ? undefined : sum;
|
|
628
|
-
}
|
|
629
|
-
/**
|
|
630
|
-
* Converts Projective point to affine (x, y) coordinates.
|
|
631
|
-
* @param invertedZ Z^-1 (inverted zero) - optional, precomputation is useful for invertBatch
|
|
632
|
-
*/
|
|
633
|
-
toAffine(invertedZ) {
|
|
634
|
-
return toAffineMemo(this, invertedZ);
|
|
635
|
-
}
|
|
636
|
-
/**
|
|
637
|
-
* Checks whether Point is free of torsion elements (is in prime subgroup).
|
|
638
|
-
* Always torsion-free for cofactor=1 curves.
|
|
639
|
-
*/
|
|
640
|
-
isTorsionFree() {
|
|
641
|
-
const { isTorsionFree } = curveOpts;
|
|
642
|
-
if (cofactor === _1n)
|
|
643
|
-
return true;
|
|
644
|
-
if (isTorsionFree)
|
|
645
|
-
return isTorsionFree(Point, this);
|
|
646
|
-
return wnaf.wNAFCachedUnsafe(this, CURVE_ORDER).is0();
|
|
647
|
-
}
|
|
648
|
-
clearCofactor() {
|
|
649
|
-
const { clearCofactor } = curveOpts;
|
|
650
|
-
if (cofactor === _1n)
|
|
651
|
-
return this; // Fast-path
|
|
652
|
-
if (clearCofactor)
|
|
653
|
-
return clearCofactor(Point, this);
|
|
654
|
-
return this.multiplyUnsafe(cofactor);
|
|
655
|
-
}
|
|
656
|
-
toBytes(isCompressed = true) {
|
|
657
|
-
(0, utils_ts_1.abool)('isCompressed', isCompressed);
|
|
658
|
-
this.assertValidity();
|
|
659
|
-
return toBytes(Point, this, isCompressed);
|
|
660
|
-
}
|
|
661
|
-
/** @deprecated use `toBytes` */
|
|
662
|
-
toRawBytes(isCompressed = true) {
|
|
663
|
-
return this.toBytes(isCompressed);
|
|
664
|
-
}
|
|
665
|
-
toHex(isCompressed = true) {
|
|
666
|
-
return (0, utils_ts_1.bytesToHex)(this.toBytes(isCompressed));
|
|
667
|
-
}
|
|
668
|
-
toString() {
|
|
669
|
-
return `<Point ${this.is0() ? 'ZERO' : this.toHex()}>`;
|
|
670
|
-
}
|
|
671
|
-
}
|
|
672
|
-
// base / generator point
|
|
673
|
-
Point.BASE = new Point(CURVE.Gx, CURVE.Gy, Fp.ONE);
|
|
674
|
-
// zero / infinity / identity point
|
|
675
|
-
Point.ZERO = new Point(Fp.ZERO, Fp.ONE, Fp.ZERO); // 0, 1, 0
|
|
676
|
-
// fields
|
|
677
|
-
Point.Fp = Fp;
|
|
678
|
-
Point.Fn = Fn;
|
|
679
|
-
const bits = Fn.BITS;
|
|
680
|
-
const wnaf = (0, curve_ts_1.wNAF)(Point, curveOpts.endo ? Math.ceil(bits / 2) : bits);
|
|
681
|
-
return Point;
|
|
682
|
-
}
|
|
683
|
-
// _legacyWeierstrass
|
|
684
|
-
/** @deprecated use `weierstrassN` */
|
|
685
|
-
function weierstrassPoints(c) {
|
|
686
|
-
const { CURVE, curveOpts } = _weierstrass_legacy_opts_to_new(c);
|
|
687
|
-
const Point = weierstrassN(CURVE, curveOpts);
|
|
688
|
-
return _weierstrass_new_output_to_legacy(c, Point);
|
|
689
|
-
}
|
|
690
|
-
// Points start with byte 0x02 when y is even; otherwise 0x03
|
|
691
|
-
function pprefix(hasEvenY) {
|
|
692
|
-
return Uint8Array.of(hasEvenY ? 0x02 : 0x03);
|
|
693
|
-
}
|
|
694
|
-
function ecdsa(Point, ecdsaOpts, curveOpts = {}) {
|
|
695
|
-
(0, utils_ts_1._validateObject)(ecdsaOpts, { hash: 'function' }, {
|
|
696
|
-
hmac: 'function',
|
|
697
|
-
lowS: 'boolean',
|
|
698
|
-
randomBytes: 'function',
|
|
699
|
-
bits2int: 'function',
|
|
700
|
-
bits2int_modN: 'function',
|
|
701
|
-
});
|
|
702
|
-
const randomBytes_ = ecdsaOpts.randomBytes || utils_ts_1.randomBytes;
|
|
703
|
-
const hmac_ = ecdsaOpts.hmac ||
|
|
704
|
-
((key, ...msgs) => (0, hmac_js_1.hmac)(ecdsaOpts.hash, key, (0, utils_ts_1.concatBytes)(...msgs)));
|
|
705
|
-
const { Fp, Fn } = Point;
|
|
706
|
-
const { ORDER: CURVE_ORDER, BITS: fnBits } = Fn;
|
|
707
|
-
function isBiggerThanHalfOrder(number) {
|
|
708
|
-
const HALF = CURVE_ORDER >> _1n;
|
|
709
|
-
return number > HALF;
|
|
710
|
-
}
|
|
711
|
-
function normalizeS(s) {
|
|
712
|
-
return isBiggerThanHalfOrder(s) ? Fn.neg(s) : s;
|
|
713
|
-
}
|
|
714
|
-
function aValidRS(title, num) {
|
|
715
|
-
if (!Fn.isValidNot0(num))
|
|
716
|
-
throw new Error(`invalid signature ${title}: out of range 1..CURVE.n`);
|
|
717
|
-
}
|
|
718
|
-
/**
|
|
719
|
-
* ECDSA signature with its (r, s) properties. Supports DER & compact representations.
|
|
720
|
-
*/
|
|
721
|
-
class Signature {
|
|
722
|
-
constructor(r, s, recovery) {
|
|
723
|
-
aValidRS('r', r); // r in [1..N-1]
|
|
724
|
-
aValidRS('s', s); // s in [1..N-1]
|
|
725
|
-
this.r = r;
|
|
726
|
-
this.s = s;
|
|
727
|
-
if (recovery != null)
|
|
728
|
-
this.recovery = recovery;
|
|
729
|
-
Object.freeze(this);
|
|
730
|
-
}
|
|
731
|
-
// pair (bytes of r, bytes of s)
|
|
732
|
-
static fromCompact(hex) {
|
|
733
|
-
const L = Fn.BYTES;
|
|
734
|
-
const b = (0, utils_ts_1.ensureBytes)('compactSignature', hex, L * 2);
|
|
735
|
-
return new Signature(Fn.fromBytes(b.subarray(0, L)), Fn.fromBytes(b.subarray(L, L * 2)));
|
|
736
|
-
}
|
|
737
|
-
// DER encoded ECDSA signature
|
|
738
|
-
// https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script
|
|
739
|
-
static fromDER(hex) {
|
|
740
|
-
const { r, s } = exports.DER.toSig((0, utils_ts_1.ensureBytes)('DER', hex));
|
|
741
|
-
return new Signature(r, s);
|
|
742
|
-
}
|
|
743
|
-
/**
|
|
744
|
-
* @todo remove
|
|
745
|
-
* @deprecated
|
|
746
|
-
*/
|
|
747
|
-
assertValidity() { }
|
|
748
|
-
addRecoveryBit(recovery) {
|
|
749
|
-
return new Signature(this.r, this.s, recovery);
|
|
750
|
-
}
|
|
751
|
-
// ProjPointType<bigint>
|
|
752
|
-
recoverPublicKey(msgHash) {
|
|
753
|
-
const FIELD_ORDER = Fp.ORDER;
|
|
754
|
-
const { r, s, recovery: rec } = this;
|
|
755
|
-
if (rec == null || ![0, 1, 2, 3].includes(rec))
|
|
756
|
-
throw new Error('recovery id invalid');
|
|
757
|
-
// ECDSA recovery is hard for cofactor > 1 curves.
|
|
758
|
-
// In sign, `r = q.x mod n`, and here we recover q.x from r.
|
|
759
|
-
// While recovering q.x >= n, we need to add r+n for cofactor=1 curves.
|
|
760
|
-
// However, for cofactor>1, r+n may not get q.x:
|
|
761
|
-
// r+n*i would need to be done instead where i is unknown.
|
|
762
|
-
// To easily get i, we either need to:
|
|
763
|
-
// a. increase amount of valid recid values (4, 5...); OR
|
|
764
|
-
// b. prohibit non-prime-order signatures (recid > 1).
|
|
765
|
-
const hasCofactor = CURVE_ORDER * _2n < FIELD_ORDER;
|
|
766
|
-
if (hasCofactor && rec > 1)
|
|
767
|
-
throw new Error('recovery id is ambiguous for h>1 curve');
|
|
768
|
-
const radj = rec === 2 || rec === 3 ? r + CURVE_ORDER : r;
|
|
769
|
-
if (!Fp.isValid(radj))
|
|
770
|
-
throw new Error('recovery id 2 or 3 invalid');
|
|
771
|
-
const x = Fp.toBytes(radj);
|
|
772
|
-
const R = Point.fromHex((0, utils_ts_1.concatBytes)(pprefix((rec & 1) === 0), x));
|
|
773
|
-
const ir = Fn.inv(radj); // r^-1
|
|
774
|
-
const h = bits2int_modN((0, utils_ts_1.ensureBytes)('msgHash', msgHash)); // Truncate hash
|
|
775
|
-
const u1 = Fn.create(-h * ir); // -hr^-1
|
|
776
|
-
const u2 = Fn.create(s * ir); // sr^-1
|
|
777
|
-
// (sr^-1)R-(hr^-1)G = -(hr^-1)G + (sr^-1). unsafe is fine: there is no private data.
|
|
778
|
-
const Q = Point.BASE.multiplyUnsafe(u1).add(R.multiplyUnsafe(u2));
|
|
779
|
-
if (Q.is0())
|
|
780
|
-
throw new Error('point at infinify');
|
|
781
|
-
Q.assertValidity();
|
|
782
|
-
return Q;
|
|
783
|
-
}
|
|
784
|
-
// Signatures should be low-s, to prevent malleability.
|
|
785
|
-
hasHighS() {
|
|
786
|
-
return isBiggerThanHalfOrder(this.s);
|
|
787
|
-
}
|
|
788
|
-
normalizeS() {
|
|
789
|
-
return this.hasHighS() ? new Signature(this.r, Fn.neg(this.s), this.recovery) : this;
|
|
790
|
-
}
|
|
791
|
-
toBytes(format) {
|
|
792
|
-
if (format === 'compact')
|
|
793
|
-
return (0, utils_ts_1.concatBytes)(Fn.toBytes(this.r), Fn.toBytes(this.s));
|
|
794
|
-
if (format === 'der')
|
|
795
|
-
return (0, utils_ts_1.hexToBytes)(exports.DER.hexFromSig(this));
|
|
796
|
-
throw new Error('invalid format');
|
|
797
|
-
}
|
|
798
|
-
// DER-encoded
|
|
799
|
-
toDERRawBytes() {
|
|
800
|
-
return this.toBytes('der');
|
|
801
|
-
}
|
|
802
|
-
toDERHex() {
|
|
803
|
-
return (0, utils_ts_1.bytesToHex)(this.toBytes('der'));
|
|
804
|
-
}
|
|
805
|
-
// padded bytes of r, then padded bytes of s
|
|
806
|
-
toCompactRawBytes() {
|
|
807
|
-
return this.toBytes('compact');
|
|
808
|
-
}
|
|
809
|
-
toCompactHex() {
|
|
810
|
-
return (0, utils_ts_1.bytesToHex)(this.toBytes('compact'));
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
const normPrivateKeyToScalar = _legacyHelperNormPriv(Fn, curveOpts.allowedPrivateKeyLengths, curveOpts.wrapPrivateKey);
|
|
814
|
-
const utils = {
|
|
815
|
-
isValidPrivateKey(privateKey) {
|
|
816
|
-
try {
|
|
817
|
-
normPrivateKeyToScalar(privateKey);
|
|
818
|
-
return true;
|
|
819
|
-
}
|
|
820
|
-
catch (error) {
|
|
821
|
-
return false;
|
|
822
|
-
}
|
|
823
|
-
},
|
|
824
|
-
normPrivateKeyToScalar: normPrivateKeyToScalar,
|
|
825
|
-
/**
|
|
826
|
-
* Produces cryptographically secure private key from random of size
|
|
827
|
-
* (groupLen + ceil(groupLen / 2)) with modulo bias being negligible.
|
|
828
|
-
*/
|
|
829
|
-
randomPrivateKey: () => {
|
|
830
|
-
const n = CURVE_ORDER;
|
|
831
|
-
return (0, modular_ts_1.mapHashToField)(randomBytes_((0, modular_ts_1.getMinHashLength)(n)), n);
|
|
832
|
-
},
|
|
833
|
-
precompute(windowSize = 8, point = Point.BASE) {
|
|
834
|
-
return point.precompute(windowSize, false);
|
|
835
|
-
},
|
|
836
|
-
};
|
|
837
|
-
/**
|
|
838
|
-
* Computes public key for a private key. Checks for validity of the private key.
|
|
839
|
-
* @param privateKey private key
|
|
840
|
-
* @param isCompressed whether to return compact (default), or full key
|
|
841
|
-
* @returns Public key, full when isCompressed=false; short when isCompressed=true
|
|
842
|
-
*/
|
|
843
|
-
function getPublicKey(privateKey, isCompressed = true) {
|
|
844
|
-
return Point.fromPrivateKey(privateKey).toBytes(isCompressed);
|
|
845
|
-
}
|
|
846
|
-
/**
|
|
847
|
-
* Quick and dirty check for item being public key. Does not validate hex, or being on-curve.
|
|
848
|
-
*/
|
|
849
|
-
function isProbPub(item) {
|
|
850
|
-
if (typeof item === 'bigint')
|
|
851
|
-
return false;
|
|
852
|
-
if (item instanceof Point)
|
|
853
|
-
return true;
|
|
854
|
-
const arr = (0, utils_ts_1.ensureBytes)('key', item);
|
|
855
|
-
const length = arr.length;
|
|
856
|
-
const L = Fp.BYTES;
|
|
857
|
-
const LC = L + 1; // e.g. 33 for 32
|
|
858
|
-
const LU = 2 * L + 1; // e.g. 65 for 32
|
|
859
|
-
if (curveOpts.allowedPrivateKeyLengths || Fn.BYTES === LC) {
|
|
860
|
-
return undefined;
|
|
861
|
-
}
|
|
862
|
-
else {
|
|
863
|
-
return length === LC || length === LU;
|
|
864
|
-
}
|
|
865
|
-
}
|
|
866
|
-
/**
|
|
867
|
-
* ECDH (Elliptic Curve Diffie Hellman).
|
|
868
|
-
* Computes shared public key from private key and public key.
|
|
869
|
-
* Checks: 1) private key validity 2) shared key is on-curve.
|
|
870
|
-
* Does NOT hash the result.
|
|
871
|
-
* @param privateA private key
|
|
872
|
-
* @param publicB different public key
|
|
873
|
-
* @param isCompressed whether to return compact (default), or full key
|
|
874
|
-
* @returns shared public key
|
|
875
|
-
*/
|
|
876
|
-
function getSharedSecret(privateA, publicB, isCompressed = true) {
|
|
877
|
-
if (isProbPub(privateA) === true)
|
|
878
|
-
throw new Error('first arg must be private key');
|
|
879
|
-
if (isProbPub(publicB) === false)
|
|
880
|
-
throw new Error('second arg must be public key');
|
|
881
|
-
const b = Point.fromHex(publicB); // check for being on-curve
|
|
882
|
-
return b.multiply(normPrivateKeyToScalar(privateA)).toBytes(isCompressed);
|
|
883
|
-
}
|
|
884
|
-
// RFC6979: ensure ECDSA msg is X bytes and < N. RFC suggests optional truncating via bits2octets.
|
|
885
|
-
// FIPS 186-4 4.6 suggests the leftmost min(nBitLen, outLen) bits, which matches bits2int.
|
|
886
|
-
// bits2int can produce res>N, we can do mod(res, N) since the bitLen is the same.
|
|
887
|
-
// int2octets can't be used; pads small msgs with 0: unacceptatble for trunc as per RFC vectors
|
|
888
|
-
const bits2int = ecdsaOpts.bits2int ||
|
|
889
|
-
function (bytes) {
|
|
890
|
-
// Our custom check "just in case", for protection against DoS
|
|
891
|
-
if (bytes.length > 8192)
|
|
892
|
-
throw new Error('input is too large');
|
|
893
|
-
// For curves with nBitLength % 8 !== 0: bits2octets(bits2octets(m)) !== bits2octets(m)
|
|
894
|
-
// for some cases, since bytes.length * 8 is not actual bitLength.
|
|
895
|
-
const num = (0, utils_ts_1.bytesToNumberBE)(bytes); // check for == u8 done here
|
|
896
|
-
const delta = bytes.length * 8 - fnBits; // truncate to nBitLength leftmost bits
|
|
897
|
-
return delta > 0 ? num >> BigInt(delta) : num;
|
|
898
|
-
};
|
|
899
|
-
const bits2int_modN = ecdsaOpts.bits2int_modN ||
|
|
900
|
-
function (bytes) {
|
|
901
|
-
return Fn.create(bits2int(bytes)); // can't use bytesToNumberBE here
|
|
902
|
-
};
|
|
903
|
-
// NOTE: pads output with zero as per spec
|
|
904
|
-
const ORDER_MASK = (0, utils_ts_1.bitMask)(fnBits);
|
|
905
|
-
/**
|
|
906
|
-
* Converts to bytes. Checks if num in `[0..ORDER_MASK-1]` e.g.: `[0..2^256-1]`.
|
|
907
|
-
*/
|
|
908
|
-
function int2octets(num) {
|
|
909
|
-
// IMPORTANT: the check ensures working for case `Fn.BYTES != Fn.BITS * 8`
|
|
910
|
-
(0, utils_ts_1.aInRange)('num < 2^' + fnBits, num, _0n, ORDER_MASK);
|
|
911
|
-
return Fn.toBytes(num);
|
|
912
|
-
}
|
|
913
|
-
// Steps A, D of RFC6979 3.2
|
|
914
|
-
// Creates RFC6979 seed; converts msg/privKey to numbers.
|
|
915
|
-
// Used only in sign, not in verify.
|
|
916
|
-
// NOTE: we cannot assume here that msgHash has same amount of bytes as curve order,
|
|
917
|
-
// this will be invalid at least for P521. Also it can be bigger for P224 + SHA256
|
|
918
|
-
function prepSig(msgHash, privateKey, opts = defaultSigOpts) {
|
|
919
|
-
if (['recovered', 'canonical'].some((k) => k in opts))
|
|
920
|
-
throw new Error('sign() legacy options not supported');
|
|
921
|
-
const { hash } = ecdsaOpts;
|
|
922
|
-
let { lowS, prehash, extraEntropy: ent } = opts; // generates low-s sigs by default
|
|
923
|
-
if (lowS == null)
|
|
924
|
-
lowS = true; // RFC6979 3.2: we skip step A, because we already provide hash
|
|
925
|
-
msgHash = (0, utils_ts_1.ensureBytes)('msgHash', msgHash);
|
|
926
|
-
validateSigVerOpts(opts);
|
|
927
|
-
if (prehash)
|
|
928
|
-
msgHash = (0, utils_ts_1.ensureBytes)('prehashed msgHash', hash(msgHash));
|
|
929
|
-
// We can't later call bits2octets, since nested bits2int is broken for curves
|
|
930
|
-
// with fnBits % 8 !== 0. Because of that, we unwrap it here as int2octets call.
|
|
931
|
-
// const bits2octets = (bits) => int2octets(bits2int_modN(bits))
|
|
932
|
-
const h1int = bits2int_modN(msgHash);
|
|
933
|
-
const d = normPrivateKeyToScalar(privateKey); // validate private key, convert to bigint
|
|
934
|
-
const seedArgs = [int2octets(d), int2octets(h1int)];
|
|
935
|
-
// extraEntropy. RFC6979 3.6: additional k' (optional).
|
|
936
|
-
if (ent != null && ent !== false) {
|
|
937
|
-
// K = HMAC_K(V || 0x00 || int2octets(x) || bits2octets(h1) || k')
|
|
938
|
-
const e = ent === true ? randomBytes_(Fp.BYTES) : ent; // generate random bytes OR pass as-is
|
|
939
|
-
seedArgs.push((0, utils_ts_1.ensureBytes)('extraEntropy', e)); // check for being bytes
|
|
940
|
-
}
|
|
941
|
-
const seed = (0, utils_ts_1.concatBytes)(...seedArgs); // Step D of RFC6979 3.2
|
|
942
|
-
const m = h1int; // NOTE: no need to call bits2int second time here, it is inside truncateHash!
|
|
943
|
-
// Converts signature params into point w r/s, checks result for validity.
|
|
944
|
-
// Can use scalar blinding b^-1(bm + bdr) where b ∈ [1,q−1] according to
|
|
945
|
-
// https://tches.iacr.org/index.php/TCHES/article/view/7337/6509. We've decided against it:
|
|
946
|
-
// a) dependency on CSPRNG b) 15% slowdown c) doesn't really help since bigints are not CT
|
|
947
|
-
function k2sig(kBytes) {
|
|
948
|
-
// RFC 6979 Section 3.2, step 3: k = bits2int(T)
|
|
949
|
-
// Important: all mod() calls here must be done over N
|
|
950
|
-
const k = bits2int(kBytes); // Cannot use fields methods, since it is group element
|
|
951
|
-
if (!Fn.isValidNot0(k))
|
|
952
|
-
return; // Valid scalars (including k) must be in 1..N-1
|
|
953
|
-
const ik = Fn.inv(k); // k^-1 mod n
|
|
954
|
-
const q = Point.BASE.multiply(k).toAffine(); // q = Gk
|
|
955
|
-
const r = Fn.create(q.x); // r = q.x mod n
|
|
956
|
-
if (r === _0n)
|
|
957
|
-
return;
|
|
958
|
-
const s = Fn.create(ik * Fn.create(m + r * d)); // Not using blinding here, see comment above
|
|
959
|
-
if (s === _0n)
|
|
960
|
-
return;
|
|
961
|
-
let recovery = (q.x === r ? 0 : 2) | Number(q.y & _1n); // recovery bit (2 or 3, when q.x > n)
|
|
962
|
-
let normS = s;
|
|
963
|
-
if (lowS && isBiggerThanHalfOrder(s)) {
|
|
964
|
-
normS = normalizeS(s); // if lowS was passed, ensure s is always
|
|
965
|
-
recovery ^= 1; // // in the bottom half of N
|
|
966
|
-
}
|
|
967
|
-
return new Signature(r, normS, recovery); // use normS, not s
|
|
968
|
-
}
|
|
969
|
-
return { seed, k2sig };
|
|
970
|
-
}
|
|
971
|
-
const defaultSigOpts = { lowS: ecdsaOpts.lowS, prehash: false };
|
|
972
|
-
const defaultVerOpts = { lowS: ecdsaOpts.lowS, prehash: false };
|
|
973
|
-
/**
|
|
974
|
-
* Signs message hash with a private key.
|
|
975
|
-
* ```
|
|
976
|
-
* sign(m, d, k) where
|
|
977
|
-
* (x, y) = G × k
|
|
978
|
-
* r = x mod n
|
|
979
|
-
* s = (m + dr)/k mod n
|
|
980
|
-
* ```
|
|
981
|
-
* @param msgHash NOT message. msg needs to be hashed to `msgHash`, or use `prehash`.
|
|
982
|
-
* @param privKey private key
|
|
983
|
-
* @param opts lowS for non-malleable sigs. extraEntropy for mixing randomness into k. prehash will hash first arg.
|
|
984
|
-
* @returns signature with recovery param
|
|
985
|
-
*/
|
|
986
|
-
function sign(msgHash, privKey, opts = defaultSigOpts) {
|
|
987
|
-
const { seed, k2sig } = prepSig(msgHash, privKey, opts); // Steps A, D of RFC6979 3.2.
|
|
988
|
-
const drbg = (0, utils_ts_1.createHmacDrbg)(ecdsaOpts.hash.outputLen, Fn.BYTES, hmac_);
|
|
989
|
-
return drbg(seed, k2sig); // Steps B, C, D, E, F, G
|
|
990
|
-
}
|
|
991
|
-
// Enable precomputes. Slows down first publicKey computation by 20ms.
|
|
992
|
-
Point.BASE.precompute(8);
|
|
993
|
-
/**
|
|
994
|
-
* Verifies a signature against message hash and public key.
|
|
995
|
-
* Rejects lowS signatures by default: to override,
|
|
996
|
-
* specify option `{lowS: false}`. Implements section 4.1.4 from https://www.secg.org/sec1-v2.pdf:
|
|
997
|
-
*
|
|
998
|
-
* ```
|
|
999
|
-
* verify(r, s, h, P) where
|
|
1000
|
-
* U1 = hs^-1 mod n
|
|
1001
|
-
* U2 = rs^-1 mod n
|
|
1002
|
-
* R = U1⋅G - U2⋅P
|
|
1003
|
-
* mod(R.x, n) == r
|
|
1004
|
-
* ```
|
|
1005
|
-
*/
|
|
1006
|
-
function verify(signature, msgHash, publicKey, opts = defaultVerOpts) {
|
|
1007
|
-
const sg = signature;
|
|
1008
|
-
msgHash = (0, utils_ts_1.ensureBytes)('msgHash', msgHash);
|
|
1009
|
-
publicKey = (0, utils_ts_1.ensureBytes)('publicKey', publicKey);
|
|
1010
|
-
// Verify opts
|
|
1011
|
-
validateSigVerOpts(opts);
|
|
1012
|
-
const { lowS, prehash, format } = opts;
|
|
1013
|
-
// TODO: remove
|
|
1014
|
-
if ('strict' in opts)
|
|
1015
|
-
throw new Error('options.strict was renamed to lowS');
|
|
1016
|
-
if (format !== undefined && !['compact', 'der', 'js'].includes(format))
|
|
1017
|
-
throw new Error('format must be "compact", "der" or "js"');
|
|
1018
|
-
const isHex = typeof sg === 'string' || (0, utils_ts_1.isBytes)(sg);
|
|
1019
|
-
const isObj = !isHex &&
|
|
1020
|
-
!format &&
|
|
1021
|
-
typeof sg === 'object' &&
|
|
1022
|
-
sg !== null &&
|
|
1023
|
-
typeof sg.r === 'bigint' &&
|
|
1024
|
-
typeof sg.s === 'bigint';
|
|
1025
|
-
if (!isHex && !isObj)
|
|
1026
|
-
throw new Error('invalid signature, expected Uint8Array, hex string or Signature instance');
|
|
1027
|
-
let _sig = undefined;
|
|
1028
|
-
let P;
|
|
1029
|
-
// deduce signature format
|
|
1030
|
-
try {
|
|
1031
|
-
// if (format === 'js') {
|
|
1032
|
-
// if (sg != null && !isBytes(sg)) _sig = new Signature(sg.r, sg.s);
|
|
1033
|
-
// } else if (format === 'compact') {
|
|
1034
|
-
// _sig = Signature.fromCompact(sg);
|
|
1035
|
-
// } else if (format === 'der') {
|
|
1036
|
-
// _sig = Signature.fromDER(sg);
|
|
1037
|
-
// } else {
|
|
1038
|
-
// throw new Error('invalid format');
|
|
1039
|
-
// }
|
|
1040
|
-
if (isObj) {
|
|
1041
|
-
if (format === undefined || format === 'js') {
|
|
1042
|
-
_sig = new Signature(sg.r, sg.s);
|
|
1043
|
-
}
|
|
1044
|
-
else {
|
|
1045
|
-
throw new Error('invalid format');
|
|
1046
|
-
}
|
|
1047
|
-
}
|
|
1048
|
-
if (isHex) {
|
|
1049
|
-
// TODO: remove this malleable check
|
|
1050
|
-
// Signature can be represented in 2 ways: compact (2*Fn.BYTES) & DER (variable-length).
|
|
1051
|
-
// Since DER can also be 2*Fn.BYTES bytes, we check for it first.
|
|
1052
|
-
try {
|
|
1053
|
-
if (format !== 'compact')
|
|
1054
|
-
_sig = Signature.fromDER(sg);
|
|
1055
|
-
}
|
|
1056
|
-
catch (derError) {
|
|
1057
|
-
if (!(derError instanceof exports.DER.Err))
|
|
1058
|
-
throw derError;
|
|
1059
|
-
}
|
|
1060
|
-
if (!_sig && format !== 'der')
|
|
1061
|
-
_sig = Signature.fromCompact(sg);
|
|
1062
|
-
}
|
|
1063
|
-
P = Point.fromHex(publicKey);
|
|
1064
|
-
}
|
|
1065
|
-
catch (error) {
|
|
1066
|
-
return false;
|
|
1067
|
-
}
|
|
1068
|
-
if (!_sig)
|
|
1069
|
-
return false;
|
|
1070
|
-
if (lowS && _sig.hasHighS())
|
|
1071
|
-
return false;
|
|
1072
|
-
// todo: optional.hash => hash
|
|
1073
|
-
if (prehash)
|
|
1074
|
-
msgHash = ecdsaOpts.hash(msgHash);
|
|
1075
|
-
const { r, s } = _sig;
|
|
1076
|
-
const h = bits2int_modN(msgHash); // Cannot use fields methods, since it is group element
|
|
1077
|
-
const is = Fn.inv(s); // s^-1
|
|
1078
|
-
const u1 = Fn.create(h * is); // u1 = hs^-1 mod n
|
|
1079
|
-
const u2 = Fn.create(r * is); // u2 = rs^-1 mod n
|
|
1080
|
-
const R = Point.BASE.multiplyUnsafe(u1).add(P.multiplyUnsafe(u2));
|
|
1081
|
-
if (R.is0())
|
|
1082
|
-
return false;
|
|
1083
|
-
const v = Fn.create(R.x); // v = r.x mod n
|
|
1084
|
-
return v === r;
|
|
1085
|
-
}
|
|
1086
|
-
// TODO: clarify API for cloning .clone({hash: sha512}) ? .createWith({hash: sha512})?
|
|
1087
|
-
// const clone = (hash: CHash): ECDSA => ecdsa(Point, { ...ecdsaOpts, ...getHash(hash) }, curveOpts);
|
|
1088
|
-
return Object.freeze({
|
|
1089
|
-
getPublicKey,
|
|
1090
|
-
getSharedSecret,
|
|
1091
|
-
sign,
|
|
1092
|
-
verify,
|
|
1093
|
-
utils,
|
|
1094
|
-
Point,
|
|
1095
|
-
Signature,
|
|
1096
|
-
});
|
|
1097
|
-
}
|
|
1098
|
-
function _weierstrass_legacy_opts_to_new(c) {
|
|
1099
|
-
const CURVE = {
|
|
1100
|
-
a: c.a,
|
|
1101
|
-
b: c.b,
|
|
1102
|
-
p: c.Fp.ORDER,
|
|
1103
|
-
n: c.n,
|
|
1104
|
-
h: c.h,
|
|
1105
|
-
Gx: c.Gx,
|
|
1106
|
-
Gy: c.Gy,
|
|
1107
|
-
};
|
|
1108
|
-
const Fp = c.Fp;
|
|
1109
|
-
const Fn = (0, modular_ts_1.Field)(CURVE.n, c.nBitLength);
|
|
1110
|
-
const curveOpts = {
|
|
1111
|
-
Fp,
|
|
1112
|
-
Fn,
|
|
1113
|
-
allowedPrivateKeyLengths: c.allowedPrivateKeyLengths,
|
|
1114
|
-
allowInfinityPoint: c.allowInfinityPoint,
|
|
1115
|
-
endo: c.endo,
|
|
1116
|
-
wrapPrivateKey: c.wrapPrivateKey,
|
|
1117
|
-
isTorsionFree: c.isTorsionFree,
|
|
1118
|
-
clearCofactor: c.clearCofactor,
|
|
1119
|
-
fromBytes: c.fromBytes,
|
|
1120
|
-
toBytes: c.toBytes,
|
|
1121
|
-
};
|
|
1122
|
-
return { CURVE, curveOpts };
|
|
1123
|
-
}
|
|
1124
|
-
function _ecdsa_legacy_opts_to_new(c) {
|
|
1125
|
-
const { CURVE, curveOpts } = _weierstrass_legacy_opts_to_new(c);
|
|
1126
|
-
const ecdsaOpts = {
|
|
1127
|
-
hash: c.hash,
|
|
1128
|
-
hmac: c.hmac,
|
|
1129
|
-
randomBytes: c.randomBytes,
|
|
1130
|
-
lowS: c.lowS,
|
|
1131
|
-
bits2int: c.bits2int,
|
|
1132
|
-
bits2int_modN: c.bits2int_modN,
|
|
1133
|
-
};
|
|
1134
|
-
return { CURVE, curveOpts, ecdsaOpts };
|
|
1135
|
-
}
|
|
1136
|
-
function _weierstrass_new_output_to_legacy(c, Point) {
|
|
1137
|
-
const { Fp, Fn } = Point;
|
|
1138
|
-
// TODO: remove
|
|
1139
|
-
function isWithinCurveOrder(num) {
|
|
1140
|
-
return (0, utils_ts_1.inRange)(num, _1n, Fn.ORDER);
|
|
1141
|
-
}
|
|
1142
|
-
const weierstrassEquation = _legacyHelperEquat(Fp, c.a, c.b);
|
|
1143
|
-
const normPrivateKeyToScalar = _legacyHelperNormPriv(Fn, c.allowedPrivateKeyLengths, c.wrapPrivateKey);
|
|
1144
|
-
return Object.assign({}, {
|
|
1145
|
-
CURVE: c,
|
|
1146
|
-
Point: Point,
|
|
1147
|
-
ProjectivePoint: Point,
|
|
1148
|
-
normPrivateKeyToScalar,
|
|
1149
|
-
weierstrassEquation,
|
|
1150
|
-
isWithinCurveOrder,
|
|
1151
|
-
});
|
|
1152
|
-
}
|
|
1153
|
-
function _ecdsa_new_output_to_legacy(c, ecdsa) {
|
|
1154
|
-
return Object.assign({}, ecdsa, {
|
|
1155
|
-
ProjectivePoint: ecdsa.Point,
|
|
1156
|
-
CURVE: c,
|
|
1157
|
-
});
|
|
1158
|
-
}
|
|
1159
|
-
// _ecdsa_legacy
|
|
1160
|
-
function weierstrass(c) {
|
|
1161
|
-
const { CURVE, curveOpts, ecdsaOpts } = _ecdsa_legacy_opts_to_new(c);
|
|
1162
|
-
const Point = weierstrassN(CURVE, curveOpts);
|
|
1163
|
-
const signs = ecdsa(Point, ecdsaOpts, curveOpts);
|
|
1164
|
-
return _ecdsa_new_output_to_legacy(c, signs);
|
|
1165
|
-
}
|
|
1166
|
-
/**
|
|
1167
|
-
* Implementation of the Shallue and van de Woestijne method for any weierstrass curve.
|
|
1168
|
-
* TODO: check if there is a way to merge this with uvRatio in Edwards; move to modular.
|
|
1169
|
-
* b = True and y = sqrt(u / v) if (u / v) is square in F, and
|
|
1170
|
-
* b = False and y = sqrt(Z * (u / v)) otherwise.
|
|
1171
|
-
* @param Fp
|
|
1172
|
-
* @param Z
|
|
1173
|
-
* @returns
|
|
1174
|
-
*/
|
|
1175
|
-
function SWUFpSqrtRatio(Fp, Z) {
|
|
1176
|
-
// Generic implementation
|
|
1177
|
-
const q = Fp.ORDER;
|
|
1178
|
-
let l = _0n;
|
|
1179
|
-
for (let o = q - _1n; o % _2n === _0n; o /= _2n)
|
|
1180
|
-
l += _1n;
|
|
1181
|
-
const c1 = l; // 1. c1, the largest integer such that 2^c1 divides q - 1.
|
|
1182
|
-
// We need 2n ** c1 and 2n ** (c1-1). We can't use **; but we can use <<.
|
|
1183
|
-
// 2n ** c1 == 2n << (c1-1)
|
|
1184
|
-
const _2n_pow_c1_1 = _2n << (c1 - _1n - _1n);
|
|
1185
|
-
const _2n_pow_c1 = _2n_pow_c1_1 * _2n;
|
|
1186
|
-
const c2 = (q - _1n) / _2n_pow_c1; // 2. c2 = (q - 1) / (2^c1) # Integer arithmetic
|
|
1187
|
-
const c3 = (c2 - _1n) / _2n; // 3. c3 = (c2 - 1) / 2 # Integer arithmetic
|
|
1188
|
-
const c4 = _2n_pow_c1 - _1n; // 4. c4 = 2^c1 - 1 # Integer arithmetic
|
|
1189
|
-
const c5 = _2n_pow_c1_1; // 5. c5 = 2^(c1 - 1) # Integer arithmetic
|
|
1190
|
-
const c6 = Fp.pow(Z, c2); // 6. c6 = Z^c2
|
|
1191
|
-
const c7 = Fp.pow(Z, (c2 + _1n) / _2n); // 7. c7 = Z^((c2 + 1) / 2)
|
|
1192
|
-
let sqrtRatio = (u, v) => {
|
|
1193
|
-
let tv1 = c6; // 1. tv1 = c6
|
|
1194
|
-
let tv2 = Fp.pow(v, c4); // 2. tv2 = v^c4
|
|
1195
|
-
let tv3 = Fp.sqr(tv2); // 3. tv3 = tv2^2
|
|
1196
|
-
tv3 = Fp.mul(tv3, v); // 4. tv3 = tv3 * v
|
|
1197
|
-
let tv5 = Fp.mul(u, tv3); // 5. tv5 = u * tv3
|
|
1198
|
-
tv5 = Fp.pow(tv5, c3); // 6. tv5 = tv5^c3
|
|
1199
|
-
tv5 = Fp.mul(tv5, tv2); // 7. tv5 = tv5 * tv2
|
|
1200
|
-
tv2 = Fp.mul(tv5, v); // 8. tv2 = tv5 * v
|
|
1201
|
-
tv3 = Fp.mul(tv5, u); // 9. tv3 = tv5 * u
|
|
1202
|
-
let tv4 = Fp.mul(tv3, tv2); // 10. tv4 = tv3 * tv2
|
|
1203
|
-
tv5 = Fp.pow(tv4, c5); // 11. tv5 = tv4^c5
|
|
1204
|
-
let isQR = Fp.eql(tv5, Fp.ONE); // 12. isQR = tv5 == 1
|
|
1205
|
-
tv2 = Fp.mul(tv3, c7); // 13. tv2 = tv3 * c7
|
|
1206
|
-
tv5 = Fp.mul(tv4, tv1); // 14. tv5 = tv4 * tv1
|
|
1207
|
-
tv3 = Fp.cmov(tv2, tv3, isQR); // 15. tv3 = CMOV(tv2, tv3, isQR)
|
|
1208
|
-
tv4 = Fp.cmov(tv5, tv4, isQR); // 16. tv4 = CMOV(tv5, tv4, isQR)
|
|
1209
|
-
// 17. for i in (c1, c1 - 1, ..., 2):
|
|
1210
|
-
for (let i = c1; i > _1n; i--) {
|
|
1211
|
-
let tv5 = i - _2n; // 18. tv5 = i - 2
|
|
1212
|
-
tv5 = _2n << (tv5 - _1n); // 19. tv5 = 2^tv5
|
|
1213
|
-
let tvv5 = Fp.pow(tv4, tv5); // 20. tv5 = tv4^tv5
|
|
1214
|
-
const e1 = Fp.eql(tvv5, Fp.ONE); // 21. e1 = tv5 == 1
|
|
1215
|
-
tv2 = Fp.mul(tv3, tv1); // 22. tv2 = tv3 * tv1
|
|
1216
|
-
tv1 = Fp.mul(tv1, tv1); // 23. tv1 = tv1 * tv1
|
|
1217
|
-
tvv5 = Fp.mul(tv4, tv1); // 24. tv5 = tv4 * tv1
|
|
1218
|
-
tv3 = Fp.cmov(tv2, tv3, e1); // 25. tv3 = CMOV(tv2, tv3, e1)
|
|
1219
|
-
tv4 = Fp.cmov(tvv5, tv4, e1); // 26. tv4 = CMOV(tv5, tv4, e1)
|
|
1220
|
-
}
|
|
1221
|
-
return { isValid: isQR, value: tv3 };
|
|
1222
|
-
};
|
|
1223
|
-
if (Fp.ORDER % _4n === _3n) {
|
|
1224
|
-
// sqrt_ratio_3mod4(u, v)
|
|
1225
|
-
const c1 = (Fp.ORDER - _3n) / _4n; // 1. c1 = (q - 3) / 4 # Integer arithmetic
|
|
1226
|
-
const c2 = Fp.sqrt(Fp.neg(Z)); // 2. c2 = sqrt(-Z)
|
|
1227
|
-
sqrtRatio = (u, v) => {
|
|
1228
|
-
let tv1 = Fp.sqr(v); // 1. tv1 = v^2
|
|
1229
|
-
const tv2 = Fp.mul(u, v); // 2. tv2 = u * v
|
|
1230
|
-
tv1 = Fp.mul(tv1, tv2); // 3. tv1 = tv1 * tv2
|
|
1231
|
-
let y1 = Fp.pow(tv1, c1); // 4. y1 = tv1^c1
|
|
1232
|
-
y1 = Fp.mul(y1, tv2); // 5. y1 = y1 * tv2
|
|
1233
|
-
const y2 = Fp.mul(y1, c2); // 6. y2 = y1 * c2
|
|
1234
|
-
const tv3 = Fp.mul(Fp.sqr(y1), v); // 7. tv3 = y1^2; 8. tv3 = tv3 * v
|
|
1235
|
-
const isQR = Fp.eql(tv3, u); // 9. isQR = tv3 == u
|
|
1236
|
-
let y = Fp.cmov(y2, y1, isQR); // 10. y = CMOV(y2, y1, isQR)
|
|
1237
|
-
return { isValid: isQR, value: y }; // 11. return (isQR, y) isQR ? y : y*c2
|
|
1238
|
-
};
|
|
1239
|
-
}
|
|
1240
|
-
// No curves uses that
|
|
1241
|
-
// if (Fp.ORDER % _8n === _5n) // sqrt_ratio_5mod8
|
|
1242
|
-
return sqrtRatio;
|
|
1243
|
-
}
|
|
1244
|
-
/**
|
|
1245
|
-
* Simplified Shallue-van de Woestijne-Ulas Method
|
|
1246
|
-
* https://www.rfc-editor.org/rfc/rfc9380#section-6.6.2
|
|
1247
|
-
*/
|
|
1248
|
-
function mapToCurveSimpleSWU(Fp, opts) {
|
|
1249
|
-
(0, modular_ts_1.validateField)(Fp);
|
|
1250
|
-
const { A, B, Z } = opts;
|
|
1251
|
-
if (!Fp.isValid(A) || !Fp.isValid(B) || !Fp.isValid(Z))
|
|
1252
|
-
throw new Error('mapToCurveSimpleSWU: invalid opts');
|
|
1253
|
-
const sqrtRatio = SWUFpSqrtRatio(Fp, Z);
|
|
1254
|
-
if (!Fp.isOdd)
|
|
1255
|
-
throw new Error('Field does not have .isOdd()');
|
|
1256
|
-
// Input: u, an element of F.
|
|
1257
|
-
// Output: (x, y), a point on E.
|
|
1258
|
-
return (u) => {
|
|
1259
|
-
// prettier-ignore
|
|
1260
|
-
let tv1, tv2, tv3, tv4, tv5, tv6, x, y;
|
|
1261
|
-
tv1 = Fp.sqr(u); // 1. tv1 = u^2
|
|
1262
|
-
tv1 = Fp.mul(tv1, Z); // 2. tv1 = Z * tv1
|
|
1263
|
-
tv2 = Fp.sqr(tv1); // 3. tv2 = tv1^2
|
|
1264
|
-
tv2 = Fp.add(tv2, tv1); // 4. tv2 = tv2 + tv1
|
|
1265
|
-
tv3 = Fp.add(tv2, Fp.ONE); // 5. tv3 = tv2 + 1
|
|
1266
|
-
tv3 = Fp.mul(tv3, B); // 6. tv3 = B * tv3
|
|
1267
|
-
tv4 = Fp.cmov(Z, Fp.neg(tv2), !Fp.eql(tv2, Fp.ZERO)); // 7. tv4 = CMOV(Z, -tv2, tv2 != 0)
|
|
1268
|
-
tv4 = Fp.mul(tv4, A); // 8. tv4 = A * tv4
|
|
1269
|
-
tv2 = Fp.sqr(tv3); // 9. tv2 = tv3^2
|
|
1270
|
-
tv6 = Fp.sqr(tv4); // 10. tv6 = tv4^2
|
|
1271
|
-
tv5 = Fp.mul(tv6, A); // 11. tv5 = A * tv6
|
|
1272
|
-
tv2 = Fp.add(tv2, tv5); // 12. tv2 = tv2 + tv5
|
|
1273
|
-
tv2 = Fp.mul(tv2, tv3); // 13. tv2 = tv2 * tv3
|
|
1274
|
-
tv6 = Fp.mul(tv6, tv4); // 14. tv6 = tv6 * tv4
|
|
1275
|
-
tv5 = Fp.mul(tv6, B); // 15. tv5 = B * tv6
|
|
1276
|
-
tv2 = Fp.add(tv2, tv5); // 16. tv2 = tv2 + tv5
|
|
1277
|
-
x = Fp.mul(tv1, tv3); // 17. x = tv1 * tv3
|
|
1278
|
-
const { isValid, value } = sqrtRatio(tv2, tv6); // 18. (is_gx1_square, y1) = sqrt_ratio(tv2, tv6)
|
|
1279
|
-
y = Fp.mul(tv1, u); // 19. y = tv1 * u -> Z * u^3 * y1
|
|
1280
|
-
y = Fp.mul(y, value); // 20. y = y * y1
|
|
1281
|
-
x = Fp.cmov(x, tv3, isValid); // 21. x = CMOV(x, tv3, is_gx1_square)
|
|
1282
|
-
y = Fp.cmov(y, value, isValid); // 22. y = CMOV(y, y1, is_gx1_square)
|
|
1283
|
-
const e1 = Fp.isOdd(u) === Fp.isOdd(y); // 23. e1 = sgn0(u) == sgn0(y)
|
|
1284
|
-
y = Fp.cmov(Fp.neg(y), y, e1); // 24. y = CMOV(-y, y, e1)
|
|
1285
|
-
const tv4_inv = (0, modular_ts_1.FpInvertBatch)(Fp, [tv4], true)[0];
|
|
1286
|
-
x = Fp.mul(x, tv4_inv); // 25. x = x / tv4
|
|
1287
|
-
return { x, y };
|
|
1288
|
-
};
|
|
1289
|
-
}
|
|
1290
|
-
//# sourceMappingURL=weierstrass.js.map
|