@meteora-ag/cp-amm-sdk 1.0.4 → 1.0.6
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 +4 -5
- package/dist/index.d.ts +4 -5
- package/dist/index.js +21 -14
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -14
- 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/regeneratorRuntime.js +0 -272
- 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/regeneratorRuntime.js +0 -272
- 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 -1062
- 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 -998
- package/node_modules/@noble/curves/_shortw_utils.d.ts +0 -16
- package/node_modules/@noble/curves/_shortw_utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/_shortw_utils.js +0 -25
- package/node_modules/@noble/curves/_shortw_utils.js.map +0 -1
- package/node_modules/@noble/curves/abstract/bls.d.ts +0 -129
- package/node_modules/@noble/curves/abstract/bls.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/bls.js +0 -355
- package/node_modules/@noble/curves/abstract/bls.js.map +0 -1
- package/node_modules/@noble/curves/abstract/curve.d.ts +0 -109
- package/node_modules/@noble/curves/abstract/curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/curve.js +0 -392
- package/node_modules/@noble/curves/abstract/curve.js.map +0 -1
- package/node_modules/@noble/curves/abstract/edwards.d.ts +0 -92
- package/node_modules/@noble/curves/abstract/edwards.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/edwards.js +0 -452
- package/node_modules/@noble/curves/abstract/edwards.js.map +0 -1
- package/node_modules/@noble/curves/abstract/fft.d.ts +0 -120
- package/node_modules/@noble/curves/abstract/fft.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/fft.js +0 -439
- package/node_modules/@noble/curves/abstract/fft.js.map +0 -1
- package/node_modules/@noble/curves/abstract/hash-to-curve.d.ts +0 -84
- 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 -196
- package/node_modules/@noble/curves/abstract/hash-to-curve.js.map +0 -1
- package/node_modules/@noble/curves/abstract/modular.d.ts +0 -153
- package/node_modules/@noble/curves/abstract/modular.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/modular.js +0 -481
- 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 -140
- package/node_modules/@noble/curves/abstract/montgomery.js.map +0 -1
- package/node_modules/@noble/curves/abstract/poseidon.d.ts +0 -76
- package/node_modules/@noble/curves/abstract/poseidon.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/poseidon.js +0 -300
- package/node_modules/@noble/curves/abstract/poseidon.js.map +0 -1
- package/node_modules/@noble/curves/abstract/tower.d.ts +0 -119
- package/node_modules/@noble/curves/abstract/tower.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/tower.js +0 -500
- package/node_modules/@noble/curves/abstract/tower.js.map +0 -1
- package/node_modules/@noble/curves/abstract/utils.d.ts +0 -119
- package/node_modules/@noble/curves/abstract/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/utils.js +0 -377
- package/node_modules/@noble/curves/abstract/utils.js.map +0 -1
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts +0 -260
- package/node_modules/@noble/curves/abstract/weierstrass.d.ts.map +0 -1
- package/node_modules/@noble/curves/abstract/weierstrass.js +0 -1226
- package/node_modules/@noble/curves/abstract/weierstrass.js.map +0 -1
- package/node_modules/@noble/curves/bls12-381.d.ts +0 -14
- package/node_modules/@noble/curves/bls12-381.d.ts.map +0 -1
- package/node_modules/@noble/curves/bls12-381.js +0 -703
- package/node_modules/@noble/curves/bls12-381.js.map +0 -1
- package/node_modules/@noble/curves/bn254.d.ts +0 -16
- package/node_modules/@noble/curves/bn254.d.ts.map +0 -1
- package/node_modules/@noble/curves/bn254.js +0 -238
- package/node_modules/@noble/curves/bn254.js.map +0 -1
- package/node_modules/@noble/curves/ed25519.d.ts +0 -117
- package/node_modules/@noble/curves/ed25519.d.ts.map +0 -1
- package/node_modules/@noble/curves/ed25519.js +0 -483
- package/node_modules/@noble/curves/ed25519.js.map +0 -1
- package/node_modules/@noble/curves/ed448.d.ts +0 -98
- package/node_modules/@noble/curves/ed448.d.ts.map +0 -1
- package/node_modules/@noble/curves/ed448.js +0 -438
- package/node_modules/@noble/curves/ed448.js.map +0 -1
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts +0 -16
- package/node_modules/@noble/curves/esm/_shortw_utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/_shortw_utils.js +0 -21
- package/node_modules/@noble/curves/esm/_shortw_utils.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts +0 -129
- package/node_modules/@noble/curves/esm/abstract/bls.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/bls.js +0 -352
- package/node_modules/@noble/curves/esm/abstract/bls.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts +0 -109
- package/node_modules/@noble/curves/esm/abstract/curve.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/curve.js +0 -386
- package/node_modules/@noble/curves/esm/abstract/curve.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts +0 -92
- package/node_modules/@noble/curves/esm/abstract/edwards.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/edwards.js +0 -449
- package/node_modules/@noble/curves/esm/abstract/edwards.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts +0 -120
- package/node_modules/@noble/curves/esm/abstract/fft.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/fft.js +0 -426
- 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 -84
- 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 -189
- 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 -153
- package/node_modules/@noble/curves/esm/abstract/modular.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/modular.js +0 -457
- 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 -137
- package/node_modules/@noble/curves/esm/abstract/montgomery.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts +0 -76
- package/node_modules/@noble/curves/esm/abstract/poseidon.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/poseidon.js +0 -291
- package/node_modules/@noble/curves/esm/abstract/poseidon.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts +0 -119
- package/node_modules/@noble/curves/esm/abstract/tower.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/tower.js +0 -496
- package/node_modules/@noble/curves/esm/abstract/tower.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts +0 -119
- package/node_modules/@noble/curves/esm/abstract/utils.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/utils.js +0 -348
- package/node_modules/@noble/curves/esm/abstract/utils.js.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts +0 -260
- package/node_modules/@noble/curves/esm/abstract/weierstrass.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js +0 -1218
- package/node_modules/@noble/curves/esm/abstract/weierstrass.js.map +0 -1
- package/node_modules/@noble/curves/esm/bls12-381.d.ts +0 -14
- package/node_modules/@noble/curves/esm/bls12-381.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/bls12-381.js +0 -700
- package/node_modules/@noble/curves/esm/bls12-381.js.map +0 -1
- package/node_modules/@noble/curves/esm/bn254.d.ts +0 -16
- package/node_modules/@noble/curves/esm/bn254.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/bn254.js +0 -234
- package/node_modules/@noble/curves/esm/bn254.js.map +0 -1
- package/node_modules/@noble/curves/esm/ed25519.d.ts +0 -117
- package/node_modules/@noble/curves/esm/ed25519.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/ed25519.js +0 -477
- package/node_modules/@noble/curves/esm/ed25519.js.map +0 -1
- package/node_modules/@noble/curves/esm/ed448.d.ts +0 -98
- package/node_modules/@noble/curves/esm/ed448.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/ed448.js +0 -433
- 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 -107
- package/node_modules/@noble/curves/esm/misc.js.map +0 -1
- package/node_modules/@noble/curves/esm/nist.d.ts +0 -30
- package/node_modules/@noble/curves/esm/nist.d.ts.map +0 -1
- package/node_modules/@noble/curves/esm/nist.js +0 -121
- 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 -287
- package/node_modules/@noble/curves/esm/secp256k1.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 -112
- package/node_modules/@noble/curves/misc.js.map +0 -1
- package/node_modules/@noble/curves/nist.d.ts +0 -30
- package/node_modules/@noble/curves/nist.d.ts.map +0 -1
- package/node_modules/@noble/curves/nist.js +0 -124
- 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 -284
- 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 -290
- package/node_modules/@noble/curves/secp256k1.js.map +0 -1
- package/node_modules/@noble/curves/src/_shortw_utils.ts +0 -30
- package/node_modules/@noble/curves/src/abstract/bls.ts +0 -570
- package/node_modules/@noble/curves/src/abstract/curve.ts +0 -471
- package/node_modules/@noble/curves/src/abstract/edwards.ts +0 -569
- package/node_modules/@noble/curves/src/abstract/fft.ts +0 -508
- package/node_modules/@noble/curves/src/abstract/hash-to-curve.ts +0 -265
- package/node_modules/@noble/curves/src/abstract/modular.ts +0 -533
- package/node_modules/@noble/curves/src/abstract/montgomery.ts +0 -165
- package/node_modules/@noble/curves/src/abstract/poseidon.ts +0 -331
- package/node_modules/@noble/curves/src/abstract/tower.ts +0 -650
- package/node_modules/@noble/curves/src/abstract/utils.ts +0 -382
- package/node_modules/@noble/curves/src/abstract/weierstrass.ts +0 -1437
- package/node_modules/@noble/curves/src/bls12-381.ts +0 -754
- package/node_modules/@noble/curves/src/bn254.ts +0 -262
- package/node_modules/@noble/curves/src/ed25519.ts +0 -552
- package/node_modules/@noble/curves/src/ed448.ts +0 -524
- 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 -123
- package/node_modules/@noble/curves/src/nist.ts +0 -155
- 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 -333
- 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/codecs-core/LICENSE +0 -20
- package/node_modules/@solana/codecs-core/README.md +0 -662
- package/node_modules/@solana/codecs-core/dist/index.browser.cjs +0 -504
- package/node_modules/@solana/codecs-core/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/codecs-core/dist/index.browser.mjs +0 -460
- package/node_modules/@solana/codecs-core/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/codecs-core/dist/index.native.mjs +0 -460
- package/node_modules/@solana/codecs-core/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/codecs-core/dist/index.node.cjs +0 -504
- package/node_modules/@solana/codecs-core/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/codecs-core/dist/index.node.mjs +0 -460
- package/node_modules/@solana/codecs-core/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts +0 -70
- package/node_modules/@solana/codecs-core/dist/types/add-codec-sentinel.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts +0 -67
- package/node_modules/@solana/codecs-core/dist/types/add-codec-size-prefix.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts +0 -62
- package/node_modules/@solana/codecs-core/dist/types/assertions.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts +0 -92
- package/node_modules/@solana/codecs-core/dist/types/bytes.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/codec.d.ts +0 -827
- package/node_modules/@solana/codecs-core/dist/types/codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts +0 -75
- package/node_modules/@solana/codecs-core/dist/types/combine-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts +0 -111
- package/node_modules/@solana/codecs-core/dist/types/fix-codec-size.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/index.d.ts +0 -667
- package/node_modules/@solana/codecs-core/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts +0 -328
- package/node_modules/@solana/codecs-core/dist/types/offset-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts +0 -162
- package/node_modules/@solana/codecs-core/dist/types/pad-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts +0 -19
- package/node_modules/@solana/codecs-core/dist/types/readonly-uint8array.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts +0 -129
- package/node_modules/@solana/codecs-core/dist/types/resize-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts +0 -92
- package/node_modules/@solana/codecs-core/dist/types/reverse-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts +0 -114
- package/node_modules/@solana/codecs-core/dist/types/transform-codec.d.ts.map +0 -1
- package/node_modules/@solana/codecs-core/package.json +0 -83
- package/node_modules/@solana/codecs-numbers/LICENSE +0 -20
- package/node_modules/@solana/codecs-numbers/README.md +0 -130
- package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs +0 -331
- package/node_modules/@solana/codecs-numbers/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs +0 -289
- package/node_modules/@solana/codecs-numbers/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/index.native.mjs +0 -289
- package/node_modules/@solana/codecs-numbers/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/index.node.cjs +0 -331
- package/node_modules/@solana/codecs-numbers/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/index.node.mjs +0 -289
- package/node_modules/@solana/codecs-numbers/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts +0 -27
- package/node_modules/@solana/codecs-numbers/dist/types/assertions.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts +0 -84
- package/node_modules/@solana/codecs-numbers/dist/types/common.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts +0 -87
- package/node_modules/@solana/codecs-numbers/dist/types/f32.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts +0 -87
- package/node_modules/@solana/codecs-numbers/dist/types/f64.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts +0 -91
- package/node_modules/@solana/codecs-numbers/dist/types/i128.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts +0 -87
- package/node_modules/@solana/codecs-numbers/dist/types/i16.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts +0 -87
- package/node_modules/@solana/codecs-numbers/dist/types/i32.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts +0 -90
- package/node_modules/@solana/codecs-numbers/dist/types/i64.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts +0 -75
- package/node_modules/@solana/codecs-numbers/dist/types/i8.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts +0 -26
- package/node_modules/@solana/codecs-numbers/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts +0 -96
- package/node_modules/@solana/codecs-numbers/dist/types/short-u16.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts +0 -87
- package/node_modules/@solana/codecs-numbers/dist/types/u128.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts +0 -85
- package/node_modules/@solana/codecs-numbers/dist/types/u16.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts +0 -85
- package/node_modules/@solana/codecs-numbers/dist/types/u32.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts +0 -88
- package/node_modules/@solana/codecs-numbers/dist/types/u64.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts +0 -71
- package/node_modules/@solana/codecs-numbers/dist/types/u8.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts +0 -18
- package/node_modules/@solana/codecs-numbers/dist/types/utils.d.ts.map +0 -1
- package/node_modules/@solana/codecs-numbers/package.json +0 -83
- package/node_modules/@solana/errors/LICENSE +0 -20
- package/node_modules/@solana/errors/README.md +0 -87
- package/node_modules/@solana/errors/bin/cli.mjs +0 -7
- package/node_modules/@solana/errors/dist/cli.mjs +0 -570
- package/node_modules/@solana/errors/dist/index.browser.cjs +0 -1084
- package/node_modules/@solana/errors/dist/index.browser.cjs.map +0 -1
- package/node_modules/@solana/errors/dist/index.browser.mjs +0 -852
- package/node_modules/@solana/errors/dist/index.browser.mjs.map +0 -1
- package/node_modules/@solana/errors/dist/index.native.mjs +0 -852
- package/node_modules/@solana/errors/dist/index.native.mjs.map +0 -1
- package/node_modules/@solana/errors/dist/index.node.cjs +0 -1084
- package/node_modules/@solana/errors/dist/index.node.cjs.map +0 -1
- package/node_modules/@solana/errors/dist/index.node.mjs +0 -852
- package/node_modules/@solana/errors/dist/index.node.mjs.map +0 -1
- package/node_modules/@solana/errors/dist/types/codes.d.ts +0 -275
- package/node_modules/@solana/errors/dist/types/codes.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/context.d.ts +0 -398
- package/node_modules/@solana/errors/dist/types/context.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/error.d.ts +0 -75
- package/node_modules/@solana/errors/dist/types/error.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/index.d.ts +0 -72
- package/node_modules/@solana/errors/dist/types/index.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/instruction-error.d.ts +0 -9
- package/node_modules/@solana/errors/dist/types/instruction-error.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts +0 -51
- package/node_modules/@solana/errors/dist/types/json-rpc-error.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/message-formatter.d.ts +0 -4
- package/node_modules/@solana/errors/dist/types/message-formatter.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/messages.d.ts +0 -16
- package/node_modules/@solana/errors/dist/types/messages.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts +0 -31
- package/node_modules/@solana/errors/dist/types/rpc-enum-errors.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/stack-trace.d.ts +0 -2
- package/node_modules/@solana/errors/dist/types/stack-trace.d.ts.map +0 -1
- package/node_modules/@solana/errors/dist/types/transaction-error.d.ts +0 -5
- package/node_modules/@solana/errors/dist/types/transaction-error.d.ts.map +0 -1
- package/node_modules/@solana/errors/node_modules/chalk/license +0 -9
- package/node_modules/@solana/errors/node_modules/chalk/package.json +0 -83
- package/node_modules/@solana/errors/node_modules/chalk/readme.md +0 -297
- package/node_modules/@solana/errors/node_modules/chalk/source/index.d.ts +0 -325
- package/node_modules/@solana/errors/node_modules/chalk/source/index.js +0 -225
- package/node_modules/@solana/errors/node_modules/chalk/source/utilities.js +0 -33
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.d.ts +0 -236
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/ansi-styles/index.js +0 -223
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.d.ts +0 -1
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/browser.js +0 -34
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.d.ts +0 -55
- package/node_modules/@solana/errors/node_modules/chalk/source/vendor/supports-color/index.js +0 -182
- package/node_modules/@solana/errors/node_modules/commander/LICENSE +0 -22
- package/node_modules/@solana/errors/node_modules/commander/Readme.md +0 -1149
- package/node_modules/@solana/errors/node_modules/commander/esm.mjs +0 -16
- package/node_modules/@solana/errors/node_modules/commander/index.js +0 -24
- package/node_modules/@solana/errors/node_modules/commander/lib/argument.js +0 -149
- package/node_modules/@solana/errors/node_modules/commander/lib/command.js +0 -2662
- package/node_modules/@solana/errors/node_modules/commander/lib/error.js +0 -39
- package/node_modules/@solana/errors/node_modules/commander/lib/help.js +0 -709
- package/node_modules/@solana/errors/node_modules/commander/lib/option.js +0 -367
- package/node_modules/@solana/errors/node_modules/commander/lib/suggestSimilar.js +0 -101
- package/node_modules/@solana/errors/node_modules/commander/package-support.json +0 -16
- package/node_modules/@solana/errors/node_modules/commander/package.json +0 -82
- package/node_modules/@solana/errors/node_modules/commander/typings/esm.d.mts +0 -3
- package/node_modules/@solana/errors/node_modules/commander/typings/index.d.ts +0 -1045
- package/node_modules/@solana/errors/package.json +0 -84
- 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/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 -1054
- package/node_modules/@types/node/async_hooks.d.ts +0 -603
- package/node_modules/@types/node/buffer.buffer.d.ts +0 -463
- package/node_modules/@types/node/buffer.d.ts +0 -1926
- 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/disposable.d.ts +0 -16
- package/node_modules/@types/node/compatibility/index.d.ts +0 -9
- package/node_modules/@types/node/compatibility/indexable.d.ts +0 -23
- 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 -4509
- package/node_modules/@types/node/dgram.d.ts +0 -599
- package/node_modules/@types/node/diagnostics_channel.d.ts +0 -573
- package/node_modules/@types/node/dns/promises.d.ts +0 -476
- package/node_modules/@types/node/dns.d.ts +0 -865
- package/node_modules/@types/node/dom-events.d.ts +0 -124
- package/node_modules/@types/node/domain.d.ts +0 -170
- package/node_modules/@types/node/events.d.ts +0 -931
- package/node_modules/@types/node/fs/promises.d.ts +0 -1272
- package/node_modules/@types/node/fs.d.ts +0 -4437
- package/node_modules/@types/node/globals.d.ts +0 -371
- package/node_modules/@types/node/globals.typedarray.d.ts +0 -21
- package/node_modules/@types/node/http.d.ts +0 -1980
- package/node_modules/@types/node/http2.d.ts +0 -2557
- package/node_modules/@types/node/https.d.ts +0 -545
- package/node_modules/@types/node/index.d.ts +0 -92
- package/node_modules/@types/node/inspector.d.ts +0 -4002
- package/node_modules/@types/node/module.d.ts +0 -772
- package/node_modules/@types/node/net.d.ts +0 -1035
- package/node_modules/@types/node/os.d.ts +0 -495
- package/node_modules/@types/node/package.json +0 -225
- 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 -2063
- 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 -162
- package/node_modules/@types/node/readline.d.ts +0 -594
- package/node_modules/@types/node/repl.d.ts +0 -430
- package/node_modules/@types/node/sea.d.ts +0 -153
- package/node_modules/@types/node/sqlite.d.ts +0 -508
- 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 -614
- package/node_modules/@types/node/stream.d.ts +0 -1662
- package/node_modules/@types/node/string_decoder.d.ts +0 -67
- package/node_modules/@types/node/test.d.ts +0 -2280
- 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 -1259
- package/node_modules/@types/node/trace_events.d.ts +0 -197
- package/node_modules/@types/node/ts5.6/buffer.buffer.d.ts +0 -460
- package/node_modules/@types/node/ts5.6/globals.typedarray.d.ts +0 -19
- package/node_modules/@types/node/ts5.6/index.d.ts +0 -92
- package/node_modules/@types/node/tty.d.ts +0 -208
- package/node_modules/@types/node/url.d.ts +0 -972
- package/node_modules/@types/node/util.d.ts +0 -2584
- package/node_modules/@types/node/v8.d.ts +0 -889
- package/node_modules/@types/node/vm.d.ts +0 -991
- package/node_modules/@types/node/wasi.d.ts +0 -181
- package/node_modules/@types/node/worker_threads.d.ts +0 -746
- package/node_modules/@types/node/zlib.d.ts +0 -670
- 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/commander/LICENSE +0 -22
- package/node_modules/commander/Readme.md +0 -428
- package/node_modules/commander/index.js +0 -1224
- package/node_modules/commander/package.json +0 -38
- package/node_modules/commander/typings/index.d.ts +0 -310
- 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/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 -540
- 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.d.ts +0 -36
- package/node_modules/undici-types/client.d.ts +0 -108
- 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 -28
- package/node_modules/undici-types/diagnostics-channel.d.ts +0 -66
- package/node_modules/undici-types/dispatcher.d.ts +0 -256
- package/node_modules/undici-types/env-http-proxy-agent.d.ts +0 -21
- package/node_modules/undici-types/errors.d.ts +0 -149
- package/node_modules/undici-types/eventsource.d.ts +0 -61
- package/node_modules/undici-types/fetch.d.ts +0 -209
- package/node_modules/undici-types/file.d.ts +0 -39
- package/node_modules/undici-types/filereader.d.ts +0 -54
- 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/handlers.d.ts +0 -15
- package/node_modules/undici-types/header.d.ts +0 -4
- package/node_modules/undici-types/index.d.ts +0 -71
- package/node_modules/undici-types/interceptors.d.ts +0 -17
- package/node_modules/undici-types/mock-agent.d.ts +0 -50
- 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 -33
- 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 -65
- 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/webidl.d.ts +0 -228
- package/node_modules/undici-types/websocket.d.ts +0 -150
- 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,1787 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
-
|
|
5
|
-
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
|
-
|
|
7
|
-
var Stream = _interopDefault(require('stream'));
|
|
8
|
-
var http = _interopDefault(require('http'));
|
|
9
|
-
var Url = _interopDefault(require('url'));
|
|
10
|
-
var whatwgUrl = _interopDefault(require('whatwg-url'));
|
|
11
|
-
var https = _interopDefault(require('https'));
|
|
12
|
-
var zlib = _interopDefault(require('zlib'));
|
|
13
|
-
|
|
14
|
-
// Based on https://github.com/tmpvar/jsdom/blob/aa85b2abf07766ff7bf5c1f6daafb3726f2f2db5/lib/jsdom/living/blob.js
|
|
15
|
-
|
|
16
|
-
// fix for "Readable" isn't a named export issue
|
|
17
|
-
const Readable = Stream.Readable;
|
|
18
|
-
|
|
19
|
-
const BUFFER = Symbol('buffer');
|
|
20
|
-
const TYPE = Symbol('type');
|
|
21
|
-
|
|
22
|
-
class Blob {
|
|
23
|
-
constructor() {
|
|
24
|
-
this[TYPE] = '';
|
|
25
|
-
|
|
26
|
-
const blobParts = arguments[0];
|
|
27
|
-
const options = arguments[1];
|
|
28
|
-
|
|
29
|
-
const buffers = [];
|
|
30
|
-
let size = 0;
|
|
31
|
-
|
|
32
|
-
if (blobParts) {
|
|
33
|
-
const a = blobParts;
|
|
34
|
-
const length = Number(a.length);
|
|
35
|
-
for (let i = 0; i < length; i++) {
|
|
36
|
-
const element = a[i];
|
|
37
|
-
let buffer;
|
|
38
|
-
if (element instanceof Buffer) {
|
|
39
|
-
buffer = element;
|
|
40
|
-
} else if (ArrayBuffer.isView(element)) {
|
|
41
|
-
buffer = Buffer.from(element.buffer, element.byteOffset, element.byteLength);
|
|
42
|
-
} else if (element instanceof ArrayBuffer) {
|
|
43
|
-
buffer = Buffer.from(element);
|
|
44
|
-
} else if (element instanceof Blob) {
|
|
45
|
-
buffer = element[BUFFER];
|
|
46
|
-
} else {
|
|
47
|
-
buffer = Buffer.from(typeof element === 'string' ? element : String(element));
|
|
48
|
-
}
|
|
49
|
-
size += buffer.length;
|
|
50
|
-
buffers.push(buffer);
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
this[BUFFER] = Buffer.concat(buffers);
|
|
55
|
-
|
|
56
|
-
let type = options && options.type !== undefined && String(options.type).toLowerCase();
|
|
57
|
-
if (type && !/[^\u0020-\u007E]/.test(type)) {
|
|
58
|
-
this[TYPE] = type;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
get size() {
|
|
62
|
-
return this[BUFFER].length;
|
|
63
|
-
}
|
|
64
|
-
get type() {
|
|
65
|
-
return this[TYPE];
|
|
66
|
-
}
|
|
67
|
-
text() {
|
|
68
|
-
return Promise.resolve(this[BUFFER].toString());
|
|
69
|
-
}
|
|
70
|
-
arrayBuffer() {
|
|
71
|
-
const buf = this[BUFFER];
|
|
72
|
-
const ab = buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
|
|
73
|
-
return Promise.resolve(ab);
|
|
74
|
-
}
|
|
75
|
-
stream() {
|
|
76
|
-
const readable = new Readable();
|
|
77
|
-
readable._read = function () {};
|
|
78
|
-
readable.push(this[BUFFER]);
|
|
79
|
-
readable.push(null);
|
|
80
|
-
return readable;
|
|
81
|
-
}
|
|
82
|
-
toString() {
|
|
83
|
-
return '[object Blob]';
|
|
84
|
-
}
|
|
85
|
-
slice() {
|
|
86
|
-
const size = this.size;
|
|
87
|
-
|
|
88
|
-
const start = arguments[0];
|
|
89
|
-
const end = arguments[1];
|
|
90
|
-
let relativeStart, relativeEnd;
|
|
91
|
-
if (start === undefined) {
|
|
92
|
-
relativeStart = 0;
|
|
93
|
-
} else if (start < 0) {
|
|
94
|
-
relativeStart = Math.max(size + start, 0);
|
|
95
|
-
} else {
|
|
96
|
-
relativeStart = Math.min(start, size);
|
|
97
|
-
}
|
|
98
|
-
if (end === undefined) {
|
|
99
|
-
relativeEnd = size;
|
|
100
|
-
} else if (end < 0) {
|
|
101
|
-
relativeEnd = Math.max(size + end, 0);
|
|
102
|
-
} else {
|
|
103
|
-
relativeEnd = Math.min(end, size);
|
|
104
|
-
}
|
|
105
|
-
const span = Math.max(relativeEnd - relativeStart, 0);
|
|
106
|
-
|
|
107
|
-
const buffer = this[BUFFER];
|
|
108
|
-
const slicedBuffer = buffer.slice(relativeStart, relativeStart + span);
|
|
109
|
-
const blob = new Blob([], { type: arguments[2] });
|
|
110
|
-
blob[BUFFER] = slicedBuffer;
|
|
111
|
-
return blob;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
Object.defineProperties(Blob.prototype, {
|
|
116
|
-
size: { enumerable: true },
|
|
117
|
-
type: { enumerable: true },
|
|
118
|
-
slice: { enumerable: true }
|
|
119
|
-
});
|
|
120
|
-
|
|
121
|
-
Object.defineProperty(Blob.prototype, Symbol.toStringTag, {
|
|
122
|
-
value: 'Blob',
|
|
123
|
-
writable: false,
|
|
124
|
-
enumerable: false,
|
|
125
|
-
configurable: true
|
|
126
|
-
});
|
|
127
|
-
|
|
128
|
-
/**
|
|
129
|
-
* fetch-error.js
|
|
130
|
-
*
|
|
131
|
-
* FetchError interface for operational errors
|
|
132
|
-
*/
|
|
133
|
-
|
|
134
|
-
/**
|
|
135
|
-
* Create FetchError instance
|
|
136
|
-
*
|
|
137
|
-
* @param String message Error message for human
|
|
138
|
-
* @param String type Error type for machine
|
|
139
|
-
* @param String systemError For Node.js system error
|
|
140
|
-
* @return FetchError
|
|
141
|
-
*/
|
|
142
|
-
function FetchError(message, type, systemError) {
|
|
143
|
-
Error.call(this, message);
|
|
144
|
-
|
|
145
|
-
this.message = message;
|
|
146
|
-
this.type = type;
|
|
147
|
-
|
|
148
|
-
// when err.type is `system`, err.code contains system error code
|
|
149
|
-
if (systemError) {
|
|
150
|
-
this.code = this.errno = systemError.code;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
// hide custom error implementation details from end-users
|
|
154
|
-
Error.captureStackTrace(this, this.constructor);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
FetchError.prototype = Object.create(Error.prototype);
|
|
158
|
-
FetchError.prototype.constructor = FetchError;
|
|
159
|
-
FetchError.prototype.name = 'FetchError';
|
|
160
|
-
|
|
161
|
-
let convert;
|
|
162
|
-
try {
|
|
163
|
-
convert = require('encoding').convert;
|
|
164
|
-
} catch (e) {}
|
|
165
|
-
|
|
166
|
-
const INTERNALS = Symbol('Body internals');
|
|
167
|
-
|
|
168
|
-
// fix an issue where "PassThrough" isn't a named export for node <10
|
|
169
|
-
const PassThrough = Stream.PassThrough;
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* Body mixin
|
|
173
|
-
*
|
|
174
|
-
* Ref: https://fetch.spec.whatwg.org/#body
|
|
175
|
-
*
|
|
176
|
-
* @param Stream body Readable stream
|
|
177
|
-
* @param Object opts Response options
|
|
178
|
-
* @return Void
|
|
179
|
-
*/
|
|
180
|
-
function Body(body) {
|
|
181
|
-
var _this = this;
|
|
182
|
-
|
|
183
|
-
var _ref = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},
|
|
184
|
-
_ref$size = _ref.size;
|
|
185
|
-
|
|
186
|
-
let size = _ref$size === undefined ? 0 : _ref$size;
|
|
187
|
-
var _ref$timeout = _ref.timeout;
|
|
188
|
-
let timeout = _ref$timeout === undefined ? 0 : _ref$timeout;
|
|
189
|
-
|
|
190
|
-
if (body == null) {
|
|
191
|
-
// body is undefined or null
|
|
192
|
-
body = null;
|
|
193
|
-
} else if (isURLSearchParams(body)) {
|
|
194
|
-
// body is a URLSearchParams
|
|
195
|
-
body = Buffer.from(body.toString());
|
|
196
|
-
} else if (isBlob(body)) ; else if (Buffer.isBuffer(body)) ; else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {
|
|
197
|
-
// body is ArrayBuffer
|
|
198
|
-
body = Buffer.from(body);
|
|
199
|
-
} else if (ArrayBuffer.isView(body)) {
|
|
200
|
-
// body is ArrayBufferView
|
|
201
|
-
body = Buffer.from(body.buffer, body.byteOffset, body.byteLength);
|
|
202
|
-
} else if (body instanceof Stream) ; else {
|
|
203
|
-
// none of the above
|
|
204
|
-
// coerce to string then buffer
|
|
205
|
-
body = Buffer.from(String(body));
|
|
206
|
-
}
|
|
207
|
-
this[INTERNALS] = {
|
|
208
|
-
body,
|
|
209
|
-
disturbed: false,
|
|
210
|
-
error: null
|
|
211
|
-
};
|
|
212
|
-
this.size = size;
|
|
213
|
-
this.timeout = timeout;
|
|
214
|
-
|
|
215
|
-
if (body instanceof Stream) {
|
|
216
|
-
body.on('error', function (err) {
|
|
217
|
-
const error = err.name === 'AbortError' ? err : new FetchError(`Invalid response body while trying to fetch ${_this.url}: ${err.message}`, 'system', err);
|
|
218
|
-
_this[INTERNALS].error = error;
|
|
219
|
-
});
|
|
220
|
-
}
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
Body.prototype = {
|
|
224
|
-
get body() {
|
|
225
|
-
return this[INTERNALS].body;
|
|
226
|
-
},
|
|
227
|
-
|
|
228
|
-
get bodyUsed() {
|
|
229
|
-
return this[INTERNALS].disturbed;
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* Decode response as ArrayBuffer
|
|
234
|
-
*
|
|
235
|
-
* @return Promise
|
|
236
|
-
*/
|
|
237
|
-
arrayBuffer() {
|
|
238
|
-
return consumeBody.call(this).then(function (buf) {
|
|
239
|
-
return buf.buffer.slice(buf.byteOffset, buf.byteOffset + buf.byteLength);
|
|
240
|
-
});
|
|
241
|
-
},
|
|
242
|
-
|
|
243
|
-
/**
|
|
244
|
-
* Return raw response as Blob
|
|
245
|
-
*
|
|
246
|
-
* @return Promise
|
|
247
|
-
*/
|
|
248
|
-
blob() {
|
|
249
|
-
let ct = this.headers && this.headers.get('content-type') || '';
|
|
250
|
-
return consumeBody.call(this).then(function (buf) {
|
|
251
|
-
return Object.assign(
|
|
252
|
-
// Prevent copying
|
|
253
|
-
new Blob([], {
|
|
254
|
-
type: ct.toLowerCase()
|
|
255
|
-
}), {
|
|
256
|
-
[BUFFER]: buf
|
|
257
|
-
});
|
|
258
|
-
});
|
|
259
|
-
},
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Decode response as json
|
|
263
|
-
*
|
|
264
|
-
* @return Promise
|
|
265
|
-
*/
|
|
266
|
-
json() {
|
|
267
|
-
var _this2 = this;
|
|
268
|
-
|
|
269
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
270
|
-
try {
|
|
271
|
-
return JSON.parse(buffer.toString());
|
|
272
|
-
} catch (err) {
|
|
273
|
-
return Body.Promise.reject(new FetchError(`invalid json response body at ${_this2.url} reason: ${err.message}`, 'invalid-json'));
|
|
274
|
-
}
|
|
275
|
-
});
|
|
276
|
-
},
|
|
277
|
-
|
|
278
|
-
/**
|
|
279
|
-
* Decode response as text
|
|
280
|
-
*
|
|
281
|
-
* @return Promise
|
|
282
|
-
*/
|
|
283
|
-
text() {
|
|
284
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
285
|
-
return buffer.toString();
|
|
286
|
-
});
|
|
287
|
-
},
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* Decode response as buffer (non-spec api)
|
|
291
|
-
*
|
|
292
|
-
* @return Promise
|
|
293
|
-
*/
|
|
294
|
-
buffer() {
|
|
295
|
-
return consumeBody.call(this);
|
|
296
|
-
},
|
|
297
|
-
|
|
298
|
-
/**
|
|
299
|
-
* Decode response as text, while automatically detecting the encoding and
|
|
300
|
-
* trying to decode to UTF-8 (non-spec api)
|
|
301
|
-
*
|
|
302
|
-
* @return Promise
|
|
303
|
-
*/
|
|
304
|
-
textConverted() {
|
|
305
|
-
var _this3 = this;
|
|
306
|
-
|
|
307
|
-
return consumeBody.call(this).then(function (buffer) {
|
|
308
|
-
return convertBody(buffer, _this3.headers);
|
|
309
|
-
});
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
// In browsers, all properties are enumerable.
|
|
314
|
-
Object.defineProperties(Body.prototype, {
|
|
315
|
-
body: { enumerable: true },
|
|
316
|
-
bodyUsed: { enumerable: true },
|
|
317
|
-
arrayBuffer: { enumerable: true },
|
|
318
|
-
blob: { enumerable: true },
|
|
319
|
-
json: { enumerable: true },
|
|
320
|
-
text: { enumerable: true }
|
|
321
|
-
});
|
|
322
|
-
|
|
323
|
-
Body.mixIn = function (proto) {
|
|
324
|
-
for (const name of Object.getOwnPropertyNames(Body.prototype)) {
|
|
325
|
-
// istanbul ignore else: future proof
|
|
326
|
-
if (!(name in proto)) {
|
|
327
|
-
const desc = Object.getOwnPropertyDescriptor(Body.prototype, name);
|
|
328
|
-
Object.defineProperty(proto, name, desc);
|
|
329
|
-
}
|
|
330
|
-
}
|
|
331
|
-
};
|
|
332
|
-
|
|
333
|
-
/**
|
|
334
|
-
* Consume and convert an entire Body to a Buffer.
|
|
335
|
-
*
|
|
336
|
-
* Ref: https://fetch.spec.whatwg.org/#concept-body-consume-body
|
|
337
|
-
*
|
|
338
|
-
* @return Promise
|
|
339
|
-
*/
|
|
340
|
-
function consumeBody() {
|
|
341
|
-
var _this4 = this;
|
|
342
|
-
|
|
343
|
-
if (this[INTERNALS].disturbed) {
|
|
344
|
-
return Body.Promise.reject(new TypeError(`body used already for: ${this.url}`));
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
this[INTERNALS].disturbed = true;
|
|
348
|
-
|
|
349
|
-
if (this[INTERNALS].error) {
|
|
350
|
-
return Body.Promise.reject(this[INTERNALS].error);
|
|
351
|
-
}
|
|
352
|
-
|
|
353
|
-
let body = this.body;
|
|
354
|
-
|
|
355
|
-
// body is null
|
|
356
|
-
if (body === null) {
|
|
357
|
-
return Body.Promise.resolve(Buffer.alloc(0));
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
// body is blob
|
|
361
|
-
if (isBlob(body)) {
|
|
362
|
-
body = body.stream();
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
// body is buffer
|
|
366
|
-
if (Buffer.isBuffer(body)) {
|
|
367
|
-
return Body.Promise.resolve(body);
|
|
368
|
-
}
|
|
369
|
-
|
|
370
|
-
// istanbul ignore if: should never happen
|
|
371
|
-
if (!(body instanceof Stream)) {
|
|
372
|
-
return Body.Promise.resolve(Buffer.alloc(0));
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
// body is stream
|
|
376
|
-
// get ready to actually consume the body
|
|
377
|
-
let accum = [];
|
|
378
|
-
let accumBytes = 0;
|
|
379
|
-
let abort = false;
|
|
380
|
-
|
|
381
|
-
return new Body.Promise(function (resolve, reject) {
|
|
382
|
-
let resTimeout;
|
|
383
|
-
|
|
384
|
-
// allow timeout on slow response body
|
|
385
|
-
if (_this4.timeout) {
|
|
386
|
-
resTimeout = setTimeout(function () {
|
|
387
|
-
abort = true;
|
|
388
|
-
reject(new FetchError(`Response timeout while trying to fetch ${_this4.url} (over ${_this4.timeout}ms)`, 'body-timeout'));
|
|
389
|
-
}, _this4.timeout);
|
|
390
|
-
}
|
|
391
|
-
|
|
392
|
-
// handle stream errors
|
|
393
|
-
body.on('error', function (err) {
|
|
394
|
-
if (err.name === 'AbortError') {
|
|
395
|
-
// if the request was aborted, reject with this Error
|
|
396
|
-
abort = true;
|
|
397
|
-
reject(err);
|
|
398
|
-
} else {
|
|
399
|
-
// other errors, such as incorrect content-encoding
|
|
400
|
-
reject(new FetchError(`Invalid response body while trying to fetch ${_this4.url}: ${err.message}`, 'system', err));
|
|
401
|
-
}
|
|
402
|
-
});
|
|
403
|
-
|
|
404
|
-
body.on('data', function (chunk) {
|
|
405
|
-
if (abort || chunk === null) {
|
|
406
|
-
return;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
if (_this4.size && accumBytes + chunk.length > _this4.size) {
|
|
410
|
-
abort = true;
|
|
411
|
-
reject(new FetchError(`content size at ${_this4.url} over limit: ${_this4.size}`, 'max-size'));
|
|
412
|
-
return;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
accumBytes += chunk.length;
|
|
416
|
-
accum.push(chunk);
|
|
417
|
-
});
|
|
418
|
-
|
|
419
|
-
body.on('end', function () {
|
|
420
|
-
if (abort) {
|
|
421
|
-
return;
|
|
422
|
-
}
|
|
423
|
-
|
|
424
|
-
clearTimeout(resTimeout);
|
|
425
|
-
|
|
426
|
-
try {
|
|
427
|
-
resolve(Buffer.concat(accum, accumBytes));
|
|
428
|
-
} catch (err) {
|
|
429
|
-
// handle streams that have accumulated too much data (issue #414)
|
|
430
|
-
reject(new FetchError(`Could not create Buffer from response body for ${_this4.url}: ${err.message}`, 'system', err));
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
/**
|
|
437
|
-
* Detect buffer encoding and convert to target encoding
|
|
438
|
-
* ref: http://www.w3.org/TR/2011/WD-html5-20110113/parsing.html#determining-the-character-encoding
|
|
439
|
-
*
|
|
440
|
-
* @param Buffer buffer Incoming buffer
|
|
441
|
-
* @param String encoding Target encoding
|
|
442
|
-
* @return String
|
|
443
|
-
*/
|
|
444
|
-
function convertBody(buffer, headers) {
|
|
445
|
-
if (typeof convert !== 'function') {
|
|
446
|
-
throw new Error('The package `encoding` must be installed to use the textConverted() function');
|
|
447
|
-
}
|
|
448
|
-
|
|
449
|
-
const ct = headers.get('content-type');
|
|
450
|
-
let charset = 'utf-8';
|
|
451
|
-
let res, str;
|
|
452
|
-
|
|
453
|
-
// header
|
|
454
|
-
if (ct) {
|
|
455
|
-
res = /charset=([^;]*)/i.exec(ct);
|
|
456
|
-
}
|
|
457
|
-
|
|
458
|
-
// no charset in content type, peek at response body for at most 1024 bytes
|
|
459
|
-
str = buffer.slice(0, 1024).toString();
|
|
460
|
-
|
|
461
|
-
// html5
|
|
462
|
-
if (!res && str) {
|
|
463
|
-
res = /<meta.+?charset=(['"])(.+?)\1/i.exec(str);
|
|
464
|
-
}
|
|
465
|
-
|
|
466
|
-
// html4
|
|
467
|
-
if (!res && str) {
|
|
468
|
-
res = /<meta[\s]+?http-equiv=(['"])content-type\1[\s]+?content=(['"])(.+?)\2/i.exec(str);
|
|
469
|
-
if (!res) {
|
|
470
|
-
res = /<meta[\s]+?content=(['"])(.+?)\1[\s]+?http-equiv=(['"])content-type\3/i.exec(str);
|
|
471
|
-
if (res) {
|
|
472
|
-
res.pop(); // drop last quote
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
if (res) {
|
|
477
|
-
res = /charset=(.*)/i.exec(res.pop());
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
// xml
|
|
482
|
-
if (!res && str) {
|
|
483
|
-
res = /<\?xml.+?encoding=(['"])(.+?)\1/i.exec(str);
|
|
484
|
-
}
|
|
485
|
-
|
|
486
|
-
// found charset
|
|
487
|
-
if (res) {
|
|
488
|
-
charset = res.pop();
|
|
489
|
-
|
|
490
|
-
// prevent decode issues when sites use incorrect encoding
|
|
491
|
-
// ref: https://hsivonen.fi/encoding-menu/
|
|
492
|
-
if (charset === 'gb2312' || charset === 'gbk') {
|
|
493
|
-
charset = 'gb18030';
|
|
494
|
-
}
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
// turn raw buffers into a single utf-8 buffer
|
|
498
|
-
return convert(buffer, 'UTF-8', charset).toString();
|
|
499
|
-
}
|
|
500
|
-
|
|
501
|
-
/**
|
|
502
|
-
* Detect a URLSearchParams object
|
|
503
|
-
* ref: https://github.com/bitinn/node-fetch/issues/296#issuecomment-307598143
|
|
504
|
-
*
|
|
505
|
-
* @param Object obj Object to detect by type or brand
|
|
506
|
-
* @return String
|
|
507
|
-
*/
|
|
508
|
-
function isURLSearchParams(obj) {
|
|
509
|
-
// Duck-typing as a necessary condition.
|
|
510
|
-
if (typeof obj !== 'object' || typeof obj.append !== 'function' || typeof obj.delete !== 'function' || typeof obj.get !== 'function' || typeof obj.getAll !== 'function' || typeof obj.has !== 'function' || typeof obj.set !== 'function') {
|
|
511
|
-
return false;
|
|
512
|
-
}
|
|
513
|
-
|
|
514
|
-
// Brand-checking and more duck-typing as optional condition.
|
|
515
|
-
return obj.constructor.name === 'URLSearchParams' || Object.prototype.toString.call(obj) === '[object URLSearchParams]' || typeof obj.sort === 'function';
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* Check if `obj` is a W3C `Blob` object (which `File` inherits from)
|
|
520
|
-
* @param {*} obj
|
|
521
|
-
* @return {boolean}
|
|
522
|
-
*/
|
|
523
|
-
function isBlob(obj) {
|
|
524
|
-
return typeof obj === 'object' && typeof obj.arrayBuffer === 'function' && typeof obj.type === 'string' && typeof obj.stream === 'function' && typeof obj.constructor === 'function' && typeof obj.constructor.name === 'string' && /^(Blob|File)$/.test(obj.constructor.name) && /^(Blob|File)$/.test(obj[Symbol.toStringTag]);
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
/**
|
|
528
|
-
* Clone body given Res/Req instance
|
|
529
|
-
*
|
|
530
|
-
* @param Mixed instance Response or Request instance
|
|
531
|
-
* @return Mixed
|
|
532
|
-
*/
|
|
533
|
-
function clone(instance) {
|
|
534
|
-
let p1, p2;
|
|
535
|
-
let body = instance.body;
|
|
536
|
-
|
|
537
|
-
// don't allow cloning a used body
|
|
538
|
-
if (instance.bodyUsed) {
|
|
539
|
-
throw new Error('cannot clone body after it is used');
|
|
540
|
-
}
|
|
541
|
-
|
|
542
|
-
// check that body is a stream and not form-data object
|
|
543
|
-
// note: we can't clone the form-data object without having it as a dependency
|
|
544
|
-
if (body instanceof Stream && typeof body.getBoundary !== 'function') {
|
|
545
|
-
// tee instance body
|
|
546
|
-
p1 = new PassThrough();
|
|
547
|
-
p2 = new PassThrough();
|
|
548
|
-
body.pipe(p1);
|
|
549
|
-
body.pipe(p2);
|
|
550
|
-
// set instance body to teed body and return the other teed body
|
|
551
|
-
instance[INTERNALS].body = p1;
|
|
552
|
-
body = p2;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
return body;
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* Performs the operation "extract a `Content-Type` value from |object|" as
|
|
560
|
-
* specified in the specification:
|
|
561
|
-
* https://fetch.spec.whatwg.org/#concept-bodyinit-extract
|
|
562
|
-
*
|
|
563
|
-
* This function assumes that instance.body is present.
|
|
564
|
-
*
|
|
565
|
-
* @param Mixed instance Any options.body input
|
|
566
|
-
*/
|
|
567
|
-
function extractContentType(body) {
|
|
568
|
-
if (body === null) {
|
|
569
|
-
// body is null
|
|
570
|
-
return null;
|
|
571
|
-
} else if (typeof body === 'string') {
|
|
572
|
-
// body is string
|
|
573
|
-
return 'text/plain;charset=UTF-8';
|
|
574
|
-
} else if (isURLSearchParams(body)) {
|
|
575
|
-
// body is a URLSearchParams
|
|
576
|
-
return 'application/x-www-form-urlencoded;charset=UTF-8';
|
|
577
|
-
} else if (isBlob(body)) {
|
|
578
|
-
// body is blob
|
|
579
|
-
return body.type || null;
|
|
580
|
-
} else if (Buffer.isBuffer(body)) {
|
|
581
|
-
// body is buffer
|
|
582
|
-
return null;
|
|
583
|
-
} else if (Object.prototype.toString.call(body) === '[object ArrayBuffer]') {
|
|
584
|
-
// body is ArrayBuffer
|
|
585
|
-
return null;
|
|
586
|
-
} else if (ArrayBuffer.isView(body)) {
|
|
587
|
-
// body is ArrayBufferView
|
|
588
|
-
return null;
|
|
589
|
-
} else if (typeof body.getBoundary === 'function') {
|
|
590
|
-
// detect form data input from form-data module
|
|
591
|
-
return `multipart/form-data;boundary=${body.getBoundary()}`;
|
|
592
|
-
} else if (body instanceof Stream) {
|
|
593
|
-
// body is stream
|
|
594
|
-
// can't really do much about this
|
|
595
|
-
return null;
|
|
596
|
-
} else {
|
|
597
|
-
// Body constructor defaults other things to string
|
|
598
|
-
return 'text/plain;charset=UTF-8';
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
* The Fetch Standard treats this as if "total bytes" is a property on the body.
|
|
604
|
-
* For us, we have to explicitly get it with a function.
|
|
605
|
-
*
|
|
606
|
-
* ref: https://fetch.spec.whatwg.org/#concept-body-total-bytes
|
|
607
|
-
*
|
|
608
|
-
* @param Body instance Instance of Body
|
|
609
|
-
* @return Number? Number of bytes, or null if not possible
|
|
610
|
-
*/
|
|
611
|
-
function getTotalBytes(instance) {
|
|
612
|
-
const body = instance.body;
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
if (body === null) {
|
|
616
|
-
// body is null
|
|
617
|
-
return 0;
|
|
618
|
-
} else if (isBlob(body)) {
|
|
619
|
-
return body.size;
|
|
620
|
-
} else if (Buffer.isBuffer(body)) {
|
|
621
|
-
// body is buffer
|
|
622
|
-
return body.length;
|
|
623
|
-
} else if (body && typeof body.getLengthSync === 'function') {
|
|
624
|
-
// detect form data input from form-data module
|
|
625
|
-
if (body._lengthRetrievers && body._lengthRetrievers.length == 0 || // 1.x
|
|
626
|
-
body.hasKnownLength && body.hasKnownLength()) {
|
|
627
|
-
// 2.x
|
|
628
|
-
return body.getLengthSync();
|
|
629
|
-
}
|
|
630
|
-
return null;
|
|
631
|
-
} else {
|
|
632
|
-
// body is stream
|
|
633
|
-
return null;
|
|
634
|
-
}
|
|
635
|
-
}
|
|
636
|
-
|
|
637
|
-
/**
|
|
638
|
-
* Write a Body to a Node.js WritableStream (e.g. http.Request) object.
|
|
639
|
-
*
|
|
640
|
-
* @param Body instance Instance of Body
|
|
641
|
-
* @return Void
|
|
642
|
-
*/
|
|
643
|
-
function writeToStream(dest, instance) {
|
|
644
|
-
const body = instance.body;
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
if (body === null) {
|
|
648
|
-
// body is null
|
|
649
|
-
dest.end();
|
|
650
|
-
} else if (isBlob(body)) {
|
|
651
|
-
body.stream().pipe(dest);
|
|
652
|
-
} else if (Buffer.isBuffer(body)) {
|
|
653
|
-
// body is buffer
|
|
654
|
-
dest.write(body);
|
|
655
|
-
dest.end();
|
|
656
|
-
} else {
|
|
657
|
-
// body is stream
|
|
658
|
-
body.pipe(dest);
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
// expose Promise
|
|
663
|
-
Body.Promise = global.Promise;
|
|
664
|
-
|
|
665
|
-
/**
|
|
666
|
-
* headers.js
|
|
667
|
-
*
|
|
668
|
-
* Headers class offers convenient helpers
|
|
669
|
-
*/
|
|
670
|
-
|
|
671
|
-
const invalidTokenRegex = /[^\^_`a-zA-Z\-0-9!#$%&'*+.|~]/;
|
|
672
|
-
const invalidHeaderCharRegex = /[^\t\x20-\x7e\x80-\xff]/;
|
|
673
|
-
|
|
674
|
-
function validateName(name) {
|
|
675
|
-
name = `${name}`;
|
|
676
|
-
if (invalidTokenRegex.test(name) || name === '') {
|
|
677
|
-
throw new TypeError(`${name} is not a legal HTTP header name`);
|
|
678
|
-
}
|
|
679
|
-
}
|
|
680
|
-
|
|
681
|
-
function validateValue(value) {
|
|
682
|
-
value = `${value}`;
|
|
683
|
-
if (invalidHeaderCharRegex.test(value)) {
|
|
684
|
-
throw new TypeError(`${value} is not a legal HTTP header value`);
|
|
685
|
-
}
|
|
686
|
-
}
|
|
687
|
-
|
|
688
|
-
/**
|
|
689
|
-
* Find the key in the map object given a header name.
|
|
690
|
-
*
|
|
691
|
-
* Returns undefined if not found.
|
|
692
|
-
*
|
|
693
|
-
* @param String name Header name
|
|
694
|
-
* @return String|Undefined
|
|
695
|
-
*/
|
|
696
|
-
function find(map, name) {
|
|
697
|
-
name = name.toLowerCase();
|
|
698
|
-
for (const key in map) {
|
|
699
|
-
if (key.toLowerCase() === name) {
|
|
700
|
-
return key;
|
|
701
|
-
}
|
|
702
|
-
}
|
|
703
|
-
return undefined;
|
|
704
|
-
}
|
|
705
|
-
|
|
706
|
-
const MAP = Symbol('map');
|
|
707
|
-
class Headers {
|
|
708
|
-
/**
|
|
709
|
-
* Headers class
|
|
710
|
-
*
|
|
711
|
-
* @param Object headers Response headers
|
|
712
|
-
* @return Void
|
|
713
|
-
*/
|
|
714
|
-
constructor() {
|
|
715
|
-
let init = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : undefined;
|
|
716
|
-
|
|
717
|
-
this[MAP] = Object.create(null);
|
|
718
|
-
|
|
719
|
-
if (init instanceof Headers) {
|
|
720
|
-
const rawHeaders = init.raw();
|
|
721
|
-
const headerNames = Object.keys(rawHeaders);
|
|
722
|
-
|
|
723
|
-
for (const headerName of headerNames) {
|
|
724
|
-
for (const value of rawHeaders[headerName]) {
|
|
725
|
-
this.append(headerName, value);
|
|
726
|
-
}
|
|
727
|
-
}
|
|
728
|
-
|
|
729
|
-
return;
|
|
730
|
-
}
|
|
731
|
-
|
|
732
|
-
// We don't worry about converting prop to ByteString here as append()
|
|
733
|
-
// will handle it.
|
|
734
|
-
if (init == null) ; else if (typeof init === 'object') {
|
|
735
|
-
const method = init[Symbol.iterator];
|
|
736
|
-
if (method != null) {
|
|
737
|
-
if (typeof method !== 'function') {
|
|
738
|
-
throw new TypeError('Header pairs must be iterable');
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
// sequence<sequence<ByteString>>
|
|
742
|
-
// Note: per spec we have to first exhaust the lists then process them
|
|
743
|
-
const pairs = [];
|
|
744
|
-
for (const pair of init) {
|
|
745
|
-
if (typeof pair !== 'object' || typeof pair[Symbol.iterator] !== 'function') {
|
|
746
|
-
throw new TypeError('Each header pair must be iterable');
|
|
747
|
-
}
|
|
748
|
-
pairs.push(Array.from(pair));
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
for (const pair of pairs) {
|
|
752
|
-
if (pair.length !== 2) {
|
|
753
|
-
throw new TypeError('Each header pair must be a name/value tuple');
|
|
754
|
-
}
|
|
755
|
-
this.append(pair[0], pair[1]);
|
|
756
|
-
}
|
|
757
|
-
} else {
|
|
758
|
-
// record<ByteString, ByteString>
|
|
759
|
-
for (const key of Object.keys(init)) {
|
|
760
|
-
const value = init[key];
|
|
761
|
-
this.append(key, value);
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
} else {
|
|
765
|
-
throw new TypeError('Provided initializer must be an object');
|
|
766
|
-
}
|
|
767
|
-
}
|
|
768
|
-
|
|
769
|
-
/**
|
|
770
|
-
* Return combined header value given name
|
|
771
|
-
*
|
|
772
|
-
* @param String name Header name
|
|
773
|
-
* @return Mixed
|
|
774
|
-
*/
|
|
775
|
-
get(name) {
|
|
776
|
-
name = `${name}`;
|
|
777
|
-
validateName(name);
|
|
778
|
-
const key = find(this[MAP], name);
|
|
779
|
-
if (key === undefined) {
|
|
780
|
-
return null;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
return this[MAP][key].join(', ');
|
|
784
|
-
}
|
|
785
|
-
|
|
786
|
-
/**
|
|
787
|
-
* Iterate over all headers
|
|
788
|
-
*
|
|
789
|
-
* @param Function callback Executed for each item with parameters (value, name, thisArg)
|
|
790
|
-
* @param Boolean thisArg `this` context for callback function
|
|
791
|
-
* @return Void
|
|
792
|
-
*/
|
|
793
|
-
forEach(callback) {
|
|
794
|
-
let thisArg = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : undefined;
|
|
795
|
-
|
|
796
|
-
let pairs = getHeaders(this);
|
|
797
|
-
let i = 0;
|
|
798
|
-
while (i < pairs.length) {
|
|
799
|
-
var _pairs$i = pairs[i];
|
|
800
|
-
const name = _pairs$i[0],
|
|
801
|
-
value = _pairs$i[1];
|
|
802
|
-
|
|
803
|
-
callback.call(thisArg, value, name, this);
|
|
804
|
-
pairs = getHeaders(this);
|
|
805
|
-
i++;
|
|
806
|
-
}
|
|
807
|
-
}
|
|
808
|
-
|
|
809
|
-
/**
|
|
810
|
-
* Overwrite header values given name
|
|
811
|
-
*
|
|
812
|
-
* @param String name Header name
|
|
813
|
-
* @param String value Header value
|
|
814
|
-
* @return Void
|
|
815
|
-
*/
|
|
816
|
-
set(name, value) {
|
|
817
|
-
name = `${name}`;
|
|
818
|
-
value = `${value}`;
|
|
819
|
-
validateName(name);
|
|
820
|
-
validateValue(value);
|
|
821
|
-
const key = find(this[MAP], name);
|
|
822
|
-
this[MAP][key !== undefined ? key : name] = [value];
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
/**
|
|
826
|
-
* Append a value onto existing header
|
|
827
|
-
*
|
|
828
|
-
* @param String name Header name
|
|
829
|
-
* @param String value Header value
|
|
830
|
-
* @return Void
|
|
831
|
-
*/
|
|
832
|
-
append(name, value) {
|
|
833
|
-
name = `${name}`;
|
|
834
|
-
value = `${value}`;
|
|
835
|
-
validateName(name);
|
|
836
|
-
validateValue(value);
|
|
837
|
-
const key = find(this[MAP], name);
|
|
838
|
-
if (key !== undefined) {
|
|
839
|
-
this[MAP][key].push(value);
|
|
840
|
-
} else {
|
|
841
|
-
this[MAP][name] = [value];
|
|
842
|
-
}
|
|
843
|
-
}
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
* Check for header name existence
|
|
847
|
-
*
|
|
848
|
-
* @param String name Header name
|
|
849
|
-
* @return Boolean
|
|
850
|
-
*/
|
|
851
|
-
has(name) {
|
|
852
|
-
name = `${name}`;
|
|
853
|
-
validateName(name);
|
|
854
|
-
return find(this[MAP], name) !== undefined;
|
|
855
|
-
}
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
* Delete all header values given name
|
|
859
|
-
*
|
|
860
|
-
* @param String name Header name
|
|
861
|
-
* @return Void
|
|
862
|
-
*/
|
|
863
|
-
delete(name) {
|
|
864
|
-
name = `${name}`;
|
|
865
|
-
validateName(name);
|
|
866
|
-
const key = find(this[MAP], name);
|
|
867
|
-
if (key !== undefined) {
|
|
868
|
-
delete this[MAP][key];
|
|
869
|
-
}
|
|
870
|
-
}
|
|
871
|
-
|
|
872
|
-
/**
|
|
873
|
-
* Return raw headers (non-spec api)
|
|
874
|
-
*
|
|
875
|
-
* @return Object
|
|
876
|
-
*/
|
|
877
|
-
raw() {
|
|
878
|
-
return this[MAP];
|
|
879
|
-
}
|
|
880
|
-
|
|
881
|
-
/**
|
|
882
|
-
* Get an iterator on keys.
|
|
883
|
-
*
|
|
884
|
-
* @return Iterator
|
|
885
|
-
*/
|
|
886
|
-
keys() {
|
|
887
|
-
return createHeadersIterator(this, 'key');
|
|
888
|
-
}
|
|
889
|
-
|
|
890
|
-
/**
|
|
891
|
-
* Get an iterator on values.
|
|
892
|
-
*
|
|
893
|
-
* @return Iterator
|
|
894
|
-
*/
|
|
895
|
-
values() {
|
|
896
|
-
return createHeadersIterator(this, 'value');
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Get an iterator on entries.
|
|
901
|
-
*
|
|
902
|
-
* This is the default iterator of the Headers object.
|
|
903
|
-
*
|
|
904
|
-
* @return Iterator
|
|
905
|
-
*/
|
|
906
|
-
[Symbol.iterator]() {
|
|
907
|
-
return createHeadersIterator(this, 'key+value');
|
|
908
|
-
}
|
|
909
|
-
}
|
|
910
|
-
Headers.prototype.entries = Headers.prototype[Symbol.iterator];
|
|
911
|
-
|
|
912
|
-
Object.defineProperty(Headers.prototype, Symbol.toStringTag, {
|
|
913
|
-
value: 'Headers',
|
|
914
|
-
writable: false,
|
|
915
|
-
enumerable: false,
|
|
916
|
-
configurable: true
|
|
917
|
-
});
|
|
918
|
-
|
|
919
|
-
Object.defineProperties(Headers.prototype, {
|
|
920
|
-
get: { enumerable: true },
|
|
921
|
-
forEach: { enumerable: true },
|
|
922
|
-
set: { enumerable: true },
|
|
923
|
-
append: { enumerable: true },
|
|
924
|
-
has: { enumerable: true },
|
|
925
|
-
delete: { enumerable: true },
|
|
926
|
-
keys: { enumerable: true },
|
|
927
|
-
values: { enumerable: true },
|
|
928
|
-
entries: { enumerable: true }
|
|
929
|
-
});
|
|
930
|
-
|
|
931
|
-
function getHeaders(headers) {
|
|
932
|
-
let kind = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'key+value';
|
|
933
|
-
|
|
934
|
-
const keys = Object.keys(headers[MAP]).sort();
|
|
935
|
-
return keys.map(kind === 'key' ? function (k) {
|
|
936
|
-
return k.toLowerCase();
|
|
937
|
-
} : kind === 'value' ? function (k) {
|
|
938
|
-
return headers[MAP][k].join(', ');
|
|
939
|
-
} : function (k) {
|
|
940
|
-
return [k.toLowerCase(), headers[MAP][k].join(', ')];
|
|
941
|
-
});
|
|
942
|
-
}
|
|
943
|
-
|
|
944
|
-
const INTERNAL = Symbol('internal');
|
|
945
|
-
|
|
946
|
-
function createHeadersIterator(target, kind) {
|
|
947
|
-
const iterator = Object.create(HeadersIteratorPrototype);
|
|
948
|
-
iterator[INTERNAL] = {
|
|
949
|
-
target,
|
|
950
|
-
kind,
|
|
951
|
-
index: 0
|
|
952
|
-
};
|
|
953
|
-
return iterator;
|
|
954
|
-
}
|
|
955
|
-
|
|
956
|
-
const HeadersIteratorPrototype = Object.setPrototypeOf({
|
|
957
|
-
next() {
|
|
958
|
-
// istanbul ignore if
|
|
959
|
-
if (!this || Object.getPrototypeOf(this) !== HeadersIteratorPrototype) {
|
|
960
|
-
throw new TypeError('Value of `this` is not a HeadersIterator');
|
|
961
|
-
}
|
|
962
|
-
|
|
963
|
-
var _INTERNAL = this[INTERNAL];
|
|
964
|
-
const target = _INTERNAL.target,
|
|
965
|
-
kind = _INTERNAL.kind,
|
|
966
|
-
index = _INTERNAL.index;
|
|
967
|
-
|
|
968
|
-
const values = getHeaders(target, kind);
|
|
969
|
-
const len = values.length;
|
|
970
|
-
if (index >= len) {
|
|
971
|
-
return {
|
|
972
|
-
value: undefined,
|
|
973
|
-
done: true
|
|
974
|
-
};
|
|
975
|
-
}
|
|
976
|
-
|
|
977
|
-
this[INTERNAL].index = index + 1;
|
|
978
|
-
|
|
979
|
-
return {
|
|
980
|
-
value: values[index],
|
|
981
|
-
done: false
|
|
982
|
-
};
|
|
983
|
-
}
|
|
984
|
-
}, Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]())));
|
|
985
|
-
|
|
986
|
-
Object.defineProperty(HeadersIteratorPrototype, Symbol.toStringTag, {
|
|
987
|
-
value: 'HeadersIterator',
|
|
988
|
-
writable: false,
|
|
989
|
-
enumerable: false,
|
|
990
|
-
configurable: true
|
|
991
|
-
});
|
|
992
|
-
|
|
993
|
-
/**
|
|
994
|
-
* Export the Headers object in a form that Node.js can consume.
|
|
995
|
-
*
|
|
996
|
-
* @param Headers headers
|
|
997
|
-
* @return Object
|
|
998
|
-
*/
|
|
999
|
-
function exportNodeCompatibleHeaders(headers) {
|
|
1000
|
-
const obj = Object.assign({ __proto__: null }, headers[MAP]);
|
|
1001
|
-
|
|
1002
|
-
// http.request() only supports string as Host header. This hack makes
|
|
1003
|
-
// specifying custom Host header possible.
|
|
1004
|
-
const hostHeaderKey = find(headers[MAP], 'Host');
|
|
1005
|
-
if (hostHeaderKey !== undefined) {
|
|
1006
|
-
obj[hostHeaderKey] = obj[hostHeaderKey][0];
|
|
1007
|
-
}
|
|
1008
|
-
|
|
1009
|
-
return obj;
|
|
1010
|
-
}
|
|
1011
|
-
|
|
1012
|
-
/**
|
|
1013
|
-
* Create a Headers object from an object of headers, ignoring those that do
|
|
1014
|
-
* not conform to HTTP grammar productions.
|
|
1015
|
-
*
|
|
1016
|
-
* @param Object obj Object of headers
|
|
1017
|
-
* @return Headers
|
|
1018
|
-
*/
|
|
1019
|
-
function createHeadersLenient(obj) {
|
|
1020
|
-
const headers = new Headers();
|
|
1021
|
-
for (const name of Object.keys(obj)) {
|
|
1022
|
-
if (invalidTokenRegex.test(name)) {
|
|
1023
|
-
continue;
|
|
1024
|
-
}
|
|
1025
|
-
if (Array.isArray(obj[name])) {
|
|
1026
|
-
for (const val of obj[name]) {
|
|
1027
|
-
if (invalidHeaderCharRegex.test(val)) {
|
|
1028
|
-
continue;
|
|
1029
|
-
}
|
|
1030
|
-
if (headers[MAP][name] === undefined) {
|
|
1031
|
-
headers[MAP][name] = [val];
|
|
1032
|
-
} else {
|
|
1033
|
-
headers[MAP][name].push(val);
|
|
1034
|
-
}
|
|
1035
|
-
}
|
|
1036
|
-
} else if (!invalidHeaderCharRegex.test(obj[name])) {
|
|
1037
|
-
headers[MAP][name] = [obj[name]];
|
|
1038
|
-
}
|
|
1039
|
-
}
|
|
1040
|
-
return headers;
|
|
1041
|
-
}
|
|
1042
|
-
|
|
1043
|
-
const INTERNALS$1 = Symbol('Response internals');
|
|
1044
|
-
|
|
1045
|
-
// fix an issue where "STATUS_CODES" aren't a named export for node <10
|
|
1046
|
-
const STATUS_CODES = http.STATUS_CODES;
|
|
1047
|
-
|
|
1048
|
-
/**
|
|
1049
|
-
* Response class
|
|
1050
|
-
*
|
|
1051
|
-
* @param Stream body Readable stream
|
|
1052
|
-
* @param Object opts Response options
|
|
1053
|
-
* @return Void
|
|
1054
|
-
*/
|
|
1055
|
-
class Response {
|
|
1056
|
-
constructor() {
|
|
1057
|
-
let body = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
1058
|
-
let opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1059
|
-
|
|
1060
|
-
Body.call(this, body, opts);
|
|
1061
|
-
|
|
1062
|
-
const status = opts.status || 200;
|
|
1063
|
-
const headers = new Headers(opts.headers);
|
|
1064
|
-
|
|
1065
|
-
if (body != null && !headers.has('Content-Type')) {
|
|
1066
|
-
const contentType = extractContentType(body);
|
|
1067
|
-
if (contentType) {
|
|
1068
|
-
headers.append('Content-Type', contentType);
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
|
|
1072
|
-
this[INTERNALS$1] = {
|
|
1073
|
-
url: opts.url,
|
|
1074
|
-
status,
|
|
1075
|
-
statusText: opts.statusText || STATUS_CODES[status],
|
|
1076
|
-
headers,
|
|
1077
|
-
counter: opts.counter
|
|
1078
|
-
};
|
|
1079
|
-
}
|
|
1080
|
-
|
|
1081
|
-
get url() {
|
|
1082
|
-
return this[INTERNALS$1].url || '';
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
get status() {
|
|
1086
|
-
return this[INTERNALS$1].status;
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
/**
|
|
1090
|
-
* Convenience property representing if the request ended normally
|
|
1091
|
-
*/
|
|
1092
|
-
get ok() {
|
|
1093
|
-
return this[INTERNALS$1].status >= 200 && this[INTERNALS$1].status < 300;
|
|
1094
|
-
}
|
|
1095
|
-
|
|
1096
|
-
get redirected() {
|
|
1097
|
-
return this[INTERNALS$1].counter > 0;
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
get statusText() {
|
|
1101
|
-
return this[INTERNALS$1].statusText;
|
|
1102
|
-
}
|
|
1103
|
-
|
|
1104
|
-
get headers() {
|
|
1105
|
-
return this[INTERNALS$1].headers;
|
|
1106
|
-
}
|
|
1107
|
-
|
|
1108
|
-
/**
|
|
1109
|
-
* Clone this response
|
|
1110
|
-
*
|
|
1111
|
-
* @return Response
|
|
1112
|
-
*/
|
|
1113
|
-
clone() {
|
|
1114
|
-
return new Response(clone(this), {
|
|
1115
|
-
url: this.url,
|
|
1116
|
-
status: this.status,
|
|
1117
|
-
statusText: this.statusText,
|
|
1118
|
-
headers: this.headers,
|
|
1119
|
-
ok: this.ok,
|
|
1120
|
-
redirected: this.redirected
|
|
1121
|
-
});
|
|
1122
|
-
}
|
|
1123
|
-
}
|
|
1124
|
-
|
|
1125
|
-
Body.mixIn(Response.prototype);
|
|
1126
|
-
|
|
1127
|
-
Object.defineProperties(Response.prototype, {
|
|
1128
|
-
url: { enumerable: true },
|
|
1129
|
-
status: { enumerable: true },
|
|
1130
|
-
ok: { enumerable: true },
|
|
1131
|
-
redirected: { enumerable: true },
|
|
1132
|
-
statusText: { enumerable: true },
|
|
1133
|
-
headers: { enumerable: true },
|
|
1134
|
-
clone: { enumerable: true }
|
|
1135
|
-
});
|
|
1136
|
-
|
|
1137
|
-
Object.defineProperty(Response.prototype, Symbol.toStringTag, {
|
|
1138
|
-
value: 'Response',
|
|
1139
|
-
writable: false,
|
|
1140
|
-
enumerable: false,
|
|
1141
|
-
configurable: true
|
|
1142
|
-
});
|
|
1143
|
-
|
|
1144
|
-
const INTERNALS$2 = Symbol('Request internals');
|
|
1145
|
-
const URL = Url.URL || whatwgUrl.URL;
|
|
1146
|
-
|
|
1147
|
-
// fix an issue where "format", "parse" aren't a named export for node <10
|
|
1148
|
-
const parse_url = Url.parse;
|
|
1149
|
-
const format_url = Url.format;
|
|
1150
|
-
|
|
1151
|
-
/**
|
|
1152
|
-
* Wrapper around `new URL` to handle arbitrary URLs
|
|
1153
|
-
*
|
|
1154
|
-
* @param {string} urlStr
|
|
1155
|
-
* @return {void}
|
|
1156
|
-
*/
|
|
1157
|
-
function parseURL(urlStr) {
|
|
1158
|
-
/*
|
|
1159
|
-
Check whether the URL is absolute or not
|
|
1160
|
-
Scheme: https://tools.ietf.org/html/rfc3986#section-3.1
|
|
1161
|
-
Absolute URL: https://tools.ietf.org/html/rfc3986#section-4.3
|
|
1162
|
-
*/
|
|
1163
|
-
if (/^[a-zA-Z][a-zA-Z\d+\-.]*:/.exec(urlStr)) {
|
|
1164
|
-
urlStr = new URL(urlStr).toString();
|
|
1165
|
-
}
|
|
1166
|
-
|
|
1167
|
-
// Fallback to old implementation for arbitrary URLs
|
|
1168
|
-
return parse_url(urlStr);
|
|
1169
|
-
}
|
|
1170
|
-
|
|
1171
|
-
const streamDestructionSupported = 'destroy' in Stream.Readable.prototype;
|
|
1172
|
-
|
|
1173
|
-
/**
|
|
1174
|
-
* Check if a value is an instance of Request.
|
|
1175
|
-
*
|
|
1176
|
-
* @param Mixed input
|
|
1177
|
-
* @return Boolean
|
|
1178
|
-
*/
|
|
1179
|
-
function isRequest(input) {
|
|
1180
|
-
return typeof input === 'object' && typeof input[INTERNALS$2] === 'object';
|
|
1181
|
-
}
|
|
1182
|
-
|
|
1183
|
-
function isAbortSignal(signal) {
|
|
1184
|
-
const proto = signal && typeof signal === 'object' && Object.getPrototypeOf(signal);
|
|
1185
|
-
return !!(proto && proto.constructor.name === 'AbortSignal');
|
|
1186
|
-
}
|
|
1187
|
-
|
|
1188
|
-
/**
|
|
1189
|
-
* Request class
|
|
1190
|
-
*
|
|
1191
|
-
* @param Mixed input Url or Request instance
|
|
1192
|
-
* @param Object init Custom options
|
|
1193
|
-
* @return Void
|
|
1194
|
-
*/
|
|
1195
|
-
class Request {
|
|
1196
|
-
constructor(input) {
|
|
1197
|
-
let init = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
|
|
1198
|
-
|
|
1199
|
-
let parsedURL;
|
|
1200
|
-
|
|
1201
|
-
// normalize input
|
|
1202
|
-
if (!isRequest(input)) {
|
|
1203
|
-
if (input && input.href) {
|
|
1204
|
-
// in order to support Node.js' Url objects; though WHATWG's URL objects
|
|
1205
|
-
// will fall into this branch also (since their `toString()` will return
|
|
1206
|
-
// `href` property anyway)
|
|
1207
|
-
parsedURL = parseURL(input.href);
|
|
1208
|
-
} else {
|
|
1209
|
-
// coerce input to a string before attempting to parse
|
|
1210
|
-
parsedURL = parseURL(`${input}`);
|
|
1211
|
-
}
|
|
1212
|
-
input = {};
|
|
1213
|
-
} else {
|
|
1214
|
-
parsedURL = parseURL(input.url);
|
|
1215
|
-
}
|
|
1216
|
-
|
|
1217
|
-
let method = init.method || input.method || 'GET';
|
|
1218
|
-
method = method.toUpperCase();
|
|
1219
|
-
|
|
1220
|
-
if ((init.body != null || isRequest(input) && input.body !== null) && (method === 'GET' || method === 'HEAD')) {
|
|
1221
|
-
throw new TypeError('Request with GET/HEAD method cannot have body');
|
|
1222
|
-
}
|
|
1223
|
-
|
|
1224
|
-
let inputBody = init.body != null ? init.body : isRequest(input) && input.body !== null ? clone(input) : null;
|
|
1225
|
-
|
|
1226
|
-
Body.call(this, inputBody, {
|
|
1227
|
-
timeout: init.timeout || input.timeout || 0,
|
|
1228
|
-
size: init.size || input.size || 0
|
|
1229
|
-
});
|
|
1230
|
-
|
|
1231
|
-
const headers = new Headers(init.headers || input.headers || {});
|
|
1232
|
-
|
|
1233
|
-
if (inputBody != null && !headers.has('Content-Type')) {
|
|
1234
|
-
const contentType = extractContentType(inputBody);
|
|
1235
|
-
if (contentType) {
|
|
1236
|
-
headers.append('Content-Type', contentType);
|
|
1237
|
-
}
|
|
1238
|
-
}
|
|
1239
|
-
|
|
1240
|
-
let signal = isRequest(input) ? input.signal : null;
|
|
1241
|
-
if ('signal' in init) signal = init.signal;
|
|
1242
|
-
|
|
1243
|
-
if (signal != null && !isAbortSignal(signal)) {
|
|
1244
|
-
throw new TypeError('Expected signal to be an instanceof AbortSignal');
|
|
1245
|
-
}
|
|
1246
|
-
|
|
1247
|
-
this[INTERNALS$2] = {
|
|
1248
|
-
method,
|
|
1249
|
-
redirect: init.redirect || input.redirect || 'follow',
|
|
1250
|
-
headers,
|
|
1251
|
-
parsedURL,
|
|
1252
|
-
signal
|
|
1253
|
-
};
|
|
1254
|
-
|
|
1255
|
-
// node-fetch-only options
|
|
1256
|
-
this.follow = init.follow !== undefined ? init.follow : input.follow !== undefined ? input.follow : 20;
|
|
1257
|
-
this.compress = init.compress !== undefined ? init.compress : input.compress !== undefined ? input.compress : true;
|
|
1258
|
-
this.counter = init.counter || input.counter || 0;
|
|
1259
|
-
this.agent = init.agent || input.agent;
|
|
1260
|
-
}
|
|
1261
|
-
|
|
1262
|
-
get method() {
|
|
1263
|
-
return this[INTERNALS$2].method;
|
|
1264
|
-
}
|
|
1265
|
-
|
|
1266
|
-
get url() {
|
|
1267
|
-
return format_url(this[INTERNALS$2].parsedURL);
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
get headers() {
|
|
1271
|
-
return this[INTERNALS$2].headers;
|
|
1272
|
-
}
|
|
1273
|
-
|
|
1274
|
-
get redirect() {
|
|
1275
|
-
return this[INTERNALS$2].redirect;
|
|
1276
|
-
}
|
|
1277
|
-
|
|
1278
|
-
get signal() {
|
|
1279
|
-
return this[INTERNALS$2].signal;
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
/**
|
|
1283
|
-
* Clone this request
|
|
1284
|
-
*
|
|
1285
|
-
* @return Request
|
|
1286
|
-
*/
|
|
1287
|
-
clone() {
|
|
1288
|
-
return new Request(this);
|
|
1289
|
-
}
|
|
1290
|
-
}
|
|
1291
|
-
|
|
1292
|
-
Body.mixIn(Request.prototype);
|
|
1293
|
-
|
|
1294
|
-
Object.defineProperty(Request.prototype, Symbol.toStringTag, {
|
|
1295
|
-
value: 'Request',
|
|
1296
|
-
writable: false,
|
|
1297
|
-
enumerable: false,
|
|
1298
|
-
configurable: true
|
|
1299
|
-
});
|
|
1300
|
-
|
|
1301
|
-
Object.defineProperties(Request.prototype, {
|
|
1302
|
-
method: { enumerable: true },
|
|
1303
|
-
url: { enumerable: true },
|
|
1304
|
-
headers: { enumerable: true },
|
|
1305
|
-
redirect: { enumerable: true },
|
|
1306
|
-
clone: { enumerable: true },
|
|
1307
|
-
signal: { enumerable: true }
|
|
1308
|
-
});
|
|
1309
|
-
|
|
1310
|
-
/**
|
|
1311
|
-
* Convert a Request to Node.js http request options.
|
|
1312
|
-
*
|
|
1313
|
-
* @param Request A Request instance
|
|
1314
|
-
* @return Object The options object to be passed to http.request
|
|
1315
|
-
*/
|
|
1316
|
-
function getNodeRequestOptions(request) {
|
|
1317
|
-
const parsedURL = request[INTERNALS$2].parsedURL;
|
|
1318
|
-
const headers = new Headers(request[INTERNALS$2].headers);
|
|
1319
|
-
|
|
1320
|
-
// fetch step 1.3
|
|
1321
|
-
if (!headers.has('Accept')) {
|
|
1322
|
-
headers.set('Accept', '*/*');
|
|
1323
|
-
}
|
|
1324
|
-
|
|
1325
|
-
// Basic fetch
|
|
1326
|
-
if (!parsedURL.protocol || !parsedURL.hostname) {
|
|
1327
|
-
throw new TypeError('Only absolute URLs are supported');
|
|
1328
|
-
}
|
|
1329
|
-
|
|
1330
|
-
if (!/^https?:$/.test(parsedURL.protocol)) {
|
|
1331
|
-
throw new TypeError('Only HTTP(S) protocols are supported');
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
if (request.signal && request.body instanceof Stream.Readable && !streamDestructionSupported) {
|
|
1335
|
-
throw new Error('Cancellation of streamed requests with AbortSignal is not supported in node < 8');
|
|
1336
|
-
}
|
|
1337
|
-
|
|
1338
|
-
// HTTP-network-or-cache fetch steps 2.4-2.7
|
|
1339
|
-
let contentLengthValue = null;
|
|
1340
|
-
if (request.body == null && /^(POST|PUT)$/i.test(request.method)) {
|
|
1341
|
-
contentLengthValue = '0';
|
|
1342
|
-
}
|
|
1343
|
-
if (request.body != null) {
|
|
1344
|
-
const totalBytes = getTotalBytes(request);
|
|
1345
|
-
if (typeof totalBytes === 'number') {
|
|
1346
|
-
contentLengthValue = String(totalBytes);
|
|
1347
|
-
}
|
|
1348
|
-
}
|
|
1349
|
-
if (contentLengthValue) {
|
|
1350
|
-
headers.set('Content-Length', contentLengthValue);
|
|
1351
|
-
}
|
|
1352
|
-
|
|
1353
|
-
// HTTP-network-or-cache fetch step 2.11
|
|
1354
|
-
if (!headers.has('User-Agent')) {
|
|
1355
|
-
headers.set('User-Agent', 'node-fetch/1.0 (+https://github.com/bitinn/node-fetch)');
|
|
1356
|
-
}
|
|
1357
|
-
|
|
1358
|
-
// HTTP-network-or-cache fetch step 2.15
|
|
1359
|
-
if (request.compress && !headers.has('Accept-Encoding')) {
|
|
1360
|
-
headers.set('Accept-Encoding', 'gzip,deflate');
|
|
1361
|
-
}
|
|
1362
|
-
|
|
1363
|
-
let agent = request.agent;
|
|
1364
|
-
if (typeof agent === 'function') {
|
|
1365
|
-
agent = agent(parsedURL);
|
|
1366
|
-
}
|
|
1367
|
-
|
|
1368
|
-
// HTTP-network fetch step 4.2
|
|
1369
|
-
// chunked encoding is handled by Node.js
|
|
1370
|
-
|
|
1371
|
-
return Object.assign({}, parsedURL, {
|
|
1372
|
-
method: request.method,
|
|
1373
|
-
headers: exportNodeCompatibleHeaders(headers),
|
|
1374
|
-
agent
|
|
1375
|
-
});
|
|
1376
|
-
}
|
|
1377
|
-
|
|
1378
|
-
/**
|
|
1379
|
-
* abort-error.js
|
|
1380
|
-
*
|
|
1381
|
-
* AbortError interface for cancelled requests
|
|
1382
|
-
*/
|
|
1383
|
-
|
|
1384
|
-
/**
|
|
1385
|
-
* Create AbortError instance
|
|
1386
|
-
*
|
|
1387
|
-
* @param String message Error message for human
|
|
1388
|
-
* @return AbortError
|
|
1389
|
-
*/
|
|
1390
|
-
function AbortError(message) {
|
|
1391
|
-
Error.call(this, message);
|
|
1392
|
-
|
|
1393
|
-
this.type = 'aborted';
|
|
1394
|
-
this.message = message;
|
|
1395
|
-
|
|
1396
|
-
// hide custom error implementation details from end-users
|
|
1397
|
-
Error.captureStackTrace(this, this.constructor);
|
|
1398
|
-
}
|
|
1399
|
-
|
|
1400
|
-
AbortError.prototype = Object.create(Error.prototype);
|
|
1401
|
-
AbortError.prototype.constructor = AbortError;
|
|
1402
|
-
AbortError.prototype.name = 'AbortError';
|
|
1403
|
-
|
|
1404
|
-
const URL$1 = Url.URL || whatwgUrl.URL;
|
|
1405
|
-
|
|
1406
|
-
// fix an issue where "PassThrough", "resolve" aren't a named export for node <10
|
|
1407
|
-
const PassThrough$1 = Stream.PassThrough;
|
|
1408
|
-
|
|
1409
|
-
const isDomainOrSubdomain = function isDomainOrSubdomain(destination, original) {
|
|
1410
|
-
const orig = new URL$1(original).hostname;
|
|
1411
|
-
const dest = new URL$1(destination).hostname;
|
|
1412
|
-
|
|
1413
|
-
return orig === dest || orig[orig.length - dest.length - 1] === '.' && orig.endsWith(dest);
|
|
1414
|
-
};
|
|
1415
|
-
|
|
1416
|
-
/**
|
|
1417
|
-
* isSameProtocol reports whether the two provided URLs use the same protocol.
|
|
1418
|
-
*
|
|
1419
|
-
* Both domains must already be in canonical form.
|
|
1420
|
-
* @param {string|URL} original
|
|
1421
|
-
* @param {string|URL} destination
|
|
1422
|
-
*/
|
|
1423
|
-
const isSameProtocol = function isSameProtocol(destination, original) {
|
|
1424
|
-
const orig = new URL$1(original).protocol;
|
|
1425
|
-
const dest = new URL$1(destination).protocol;
|
|
1426
|
-
|
|
1427
|
-
return orig === dest;
|
|
1428
|
-
};
|
|
1429
|
-
|
|
1430
|
-
/**
|
|
1431
|
-
* Fetch function
|
|
1432
|
-
*
|
|
1433
|
-
* @param Mixed url Absolute url or Request instance
|
|
1434
|
-
* @param Object opts Fetch options
|
|
1435
|
-
* @return Promise
|
|
1436
|
-
*/
|
|
1437
|
-
function fetch(url, opts) {
|
|
1438
|
-
|
|
1439
|
-
// allow custom promise
|
|
1440
|
-
if (!fetch.Promise) {
|
|
1441
|
-
throw new Error('native promise missing, set fetch.Promise to your favorite alternative');
|
|
1442
|
-
}
|
|
1443
|
-
|
|
1444
|
-
Body.Promise = fetch.Promise;
|
|
1445
|
-
|
|
1446
|
-
// wrap http.request into fetch
|
|
1447
|
-
return new fetch.Promise(function (resolve, reject) {
|
|
1448
|
-
// build request object
|
|
1449
|
-
const request = new Request(url, opts);
|
|
1450
|
-
const options = getNodeRequestOptions(request);
|
|
1451
|
-
|
|
1452
|
-
const send = (options.protocol === 'https:' ? https : http).request;
|
|
1453
|
-
const signal = request.signal;
|
|
1454
|
-
|
|
1455
|
-
let response = null;
|
|
1456
|
-
|
|
1457
|
-
const abort = function abort() {
|
|
1458
|
-
let error = new AbortError('The user aborted a request.');
|
|
1459
|
-
reject(error);
|
|
1460
|
-
if (request.body && request.body instanceof Stream.Readable) {
|
|
1461
|
-
destroyStream(request.body, error);
|
|
1462
|
-
}
|
|
1463
|
-
if (!response || !response.body) return;
|
|
1464
|
-
response.body.emit('error', error);
|
|
1465
|
-
};
|
|
1466
|
-
|
|
1467
|
-
if (signal && signal.aborted) {
|
|
1468
|
-
abort();
|
|
1469
|
-
return;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
|
-
const abortAndFinalize = function abortAndFinalize() {
|
|
1473
|
-
abort();
|
|
1474
|
-
finalize();
|
|
1475
|
-
};
|
|
1476
|
-
|
|
1477
|
-
// send request
|
|
1478
|
-
const req = send(options);
|
|
1479
|
-
let reqTimeout;
|
|
1480
|
-
|
|
1481
|
-
if (signal) {
|
|
1482
|
-
signal.addEventListener('abort', abortAndFinalize);
|
|
1483
|
-
}
|
|
1484
|
-
|
|
1485
|
-
function finalize() {
|
|
1486
|
-
req.abort();
|
|
1487
|
-
if (signal) signal.removeEventListener('abort', abortAndFinalize);
|
|
1488
|
-
clearTimeout(reqTimeout);
|
|
1489
|
-
}
|
|
1490
|
-
|
|
1491
|
-
if (request.timeout) {
|
|
1492
|
-
req.once('socket', function (socket) {
|
|
1493
|
-
reqTimeout = setTimeout(function () {
|
|
1494
|
-
reject(new FetchError(`network timeout at: ${request.url}`, 'request-timeout'));
|
|
1495
|
-
finalize();
|
|
1496
|
-
}, request.timeout);
|
|
1497
|
-
});
|
|
1498
|
-
}
|
|
1499
|
-
|
|
1500
|
-
req.on('error', function (err) {
|
|
1501
|
-
reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
|
|
1502
|
-
|
|
1503
|
-
if (response && response.body) {
|
|
1504
|
-
destroyStream(response.body, err);
|
|
1505
|
-
}
|
|
1506
|
-
|
|
1507
|
-
finalize();
|
|
1508
|
-
});
|
|
1509
|
-
|
|
1510
|
-
fixResponseChunkedTransferBadEnding(req, function (err) {
|
|
1511
|
-
if (signal && signal.aborted) {
|
|
1512
|
-
return;
|
|
1513
|
-
}
|
|
1514
|
-
|
|
1515
|
-
if (response && response.body) {
|
|
1516
|
-
destroyStream(response.body, err);
|
|
1517
|
-
}
|
|
1518
|
-
});
|
|
1519
|
-
|
|
1520
|
-
/* c8 ignore next 18 */
|
|
1521
|
-
if (parseInt(process.version.substring(1)) < 14) {
|
|
1522
|
-
// Before Node.js 14, pipeline() does not fully support async iterators and does not always
|
|
1523
|
-
// properly handle when the socket close/end events are out of order.
|
|
1524
|
-
req.on('socket', function (s) {
|
|
1525
|
-
s.addListener('close', function (hadError) {
|
|
1526
|
-
// if a data listener is still present we didn't end cleanly
|
|
1527
|
-
const hasDataListener = s.listenerCount('data') > 0;
|
|
1528
|
-
|
|
1529
|
-
// if end happened before close but the socket didn't emit an error, do it now
|
|
1530
|
-
if (response && hasDataListener && !hadError && !(signal && signal.aborted)) {
|
|
1531
|
-
const err = new Error('Premature close');
|
|
1532
|
-
err.code = 'ERR_STREAM_PREMATURE_CLOSE';
|
|
1533
|
-
response.body.emit('error', err);
|
|
1534
|
-
}
|
|
1535
|
-
});
|
|
1536
|
-
});
|
|
1537
|
-
}
|
|
1538
|
-
|
|
1539
|
-
req.on('response', function (res) {
|
|
1540
|
-
clearTimeout(reqTimeout);
|
|
1541
|
-
|
|
1542
|
-
const headers = createHeadersLenient(res.headers);
|
|
1543
|
-
|
|
1544
|
-
// HTTP fetch step 5
|
|
1545
|
-
if (fetch.isRedirect(res.statusCode)) {
|
|
1546
|
-
// HTTP fetch step 5.2
|
|
1547
|
-
const location = headers.get('Location');
|
|
1548
|
-
|
|
1549
|
-
// HTTP fetch step 5.3
|
|
1550
|
-
let locationURL = null;
|
|
1551
|
-
try {
|
|
1552
|
-
locationURL = location === null ? null : new URL$1(location, request.url).toString();
|
|
1553
|
-
} catch (err) {
|
|
1554
|
-
// error here can only be invalid URL in Location: header
|
|
1555
|
-
// do not throw when options.redirect == manual
|
|
1556
|
-
// let the user extract the errorneous redirect URL
|
|
1557
|
-
if (request.redirect !== 'manual') {
|
|
1558
|
-
reject(new FetchError(`uri requested responds with an invalid redirect URL: ${location}`, 'invalid-redirect'));
|
|
1559
|
-
finalize();
|
|
1560
|
-
return;
|
|
1561
|
-
}
|
|
1562
|
-
}
|
|
1563
|
-
|
|
1564
|
-
// HTTP fetch step 5.5
|
|
1565
|
-
switch (request.redirect) {
|
|
1566
|
-
case 'error':
|
|
1567
|
-
reject(new FetchError(`uri requested responds with a redirect, redirect mode is set to error: ${request.url}`, 'no-redirect'));
|
|
1568
|
-
finalize();
|
|
1569
|
-
return;
|
|
1570
|
-
case 'manual':
|
|
1571
|
-
// node-fetch-specific step: make manual redirect a bit easier to use by setting the Location header value to the resolved URL.
|
|
1572
|
-
if (locationURL !== null) {
|
|
1573
|
-
// handle corrupted header
|
|
1574
|
-
try {
|
|
1575
|
-
headers.set('Location', locationURL);
|
|
1576
|
-
} catch (err) {
|
|
1577
|
-
// istanbul ignore next: nodejs server prevent invalid response headers, we can't test this through normal request
|
|
1578
|
-
reject(err);
|
|
1579
|
-
}
|
|
1580
|
-
}
|
|
1581
|
-
break;
|
|
1582
|
-
case 'follow':
|
|
1583
|
-
// HTTP-redirect fetch step 2
|
|
1584
|
-
if (locationURL === null) {
|
|
1585
|
-
break;
|
|
1586
|
-
}
|
|
1587
|
-
|
|
1588
|
-
// HTTP-redirect fetch step 5
|
|
1589
|
-
if (request.counter >= request.follow) {
|
|
1590
|
-
reject(new FetchError(`maximum redirect reached at: ${request.url}`, 'max-redirect'));
|
|
1591
|
-
finalize();
|
|
1592
|
-
return;
|
|
1593
|
-
}
|
|
1594
|
-
|
|
1595
|
-
// HTTP-redirect fetch step 6 (counter increment)
|
|
1596
|
-
// Create a new Request object.
|
|
1597
|
-
const requestOpts = {
|
|
1598
|
-
headers: new Headers(request.headers),
|
|
1599
|
-
follow: request.follow,
|
|
1600
|
-
counter: request.counter + 1,
|
|
1601
|
-
agent: request.agent,
|
|
1602
|
-
compress: request.compress,
|
|
1603
|
-
method: request.method,
|
|
1604
|
-
body: request.body,
|
|
1605
|
-
signal: request.signal,
|
|
1606
|
-
timeout: request.timeout,
|
|
1607
|
-
size: request.size
|
|
1608
|
-
};
|
|
1609
|
-
|
|
1610
|
-
if (!isDomainOrSubdomain(request.url, locationURL) || !isSameProtocol(request.url, locationURL)) {
|
|
1611
|
-
for (const name of ['authorization', 'www-authenticate', 'cookie', 'cookie2']) {
|
|
1612
|
-
requestOpts.headers.delete(name);
|
|
1613
|
-
}
|
|
1614
|
-
}
|
|
1615
|
-
|
|
1616
|
-
// HTTP-redirect fetch step 9
|
|
1617
|
-
if (res.statusCode !== 303 && request.body && getTotalBytes(request) === null) {
|
|
1618
|
-
reject(new FetchError('Cannot follow redirect with body being a readable stream', 'unsupported-redirect'));
|
|
1619
|
-
finalize();
|
|
1620
|
-
return;
|
|
1621
|
-
}
|
|
1622
|
-
|
|
1623
|
-
// HTTP-redirect fetch step 11
|
|
1624
|
-
if (res.statusCode === 303 || (res.statusCode === 301 || res.statusCode === 302) && request.method === 'POST') {
|
|
1625
|
-
requestOpts.method = 'GET';
|
|
1626
|
-
requestOpts.body = undefined;
|
|
1627
|
-
requestOpts.headers.delete('content-length');
|
|
1628
|
-
}
|
|
1629
|
-
|
|
1630
|
-
// HTTP-redirect fetch step 15
|
|
1631
|
-
resolve(fetch(new Request(locationURL, requestOpts)));
|
|
1632
|
-
finalize();
|
|
1633
|
-
return;
|
|
1634
|
-
}
|
|
1635
|
-
}
|
|
1636
|
-
|
|
1637
|
-
// prepare response
|
|
1638
|
-
res.once('end', function () {
|
|
1639
|
-
if (signal) signal.removeEventListener('abort', abortAndFinalize);
|
|
1640
|
-
});
|
|
1641
|
-
let body = res.pipe(new PassThrough$1());
|
|
1642
|
-
|
|
1643
|
-
const response_options = {
|
|
1644
|
-
url: request.url,
|
|
1645
|
-
status: res.statusCode,
|
|
1646
|
-
statusText: res.statusMessage,
|
|
1647
|
-
headers: headers,
|
|
1648
|
-
size: request.size,
|
|
1649
|
-
timeout: request.timeout,
|
|
1650
|
-
counter: request.counter
|
|
1651
|
-
};
|
|
1652
|
-
|
|
1653
|
-
// HTTP-network fetch step 12.1.1.3
|
|
1654
|
-
const codings = headers.get('Content-Encoding');
|
|
1655
|
-
|
|
1656
|
-
// HTTP-network fetch step 12.1.1.4: handle content codings
|
|
1657
|
-
|
|
1658
|
-
// in following scenarios we ignore compression support
|
|
1659
|
-
// 1. compression support is disabled
|
|
1660
|
-
// 2. HEAD request
|
|
1661
|
-
// 3. no Content-Encoding header
|
|
1662
|
-
// 4. no content response (204)
|
|
1663
|
-
// 5. content not modified response (304)
|
|
1664
|
-
if (!request.compress || request.method === 'HEAD' || codings === null || res.statusCode === 204 || res.statusCode === 304) {
|
|
1665
|
-
response = new Response(body, response_options);
|
|
1666
|
-
resolve(response);
|
|
1667
|
-
return;
|
|
1668
|
-
}
|
|
1669
|
-
|
|
1670
|
-
// For Node v6+
|
|
1671
|
-
// Be less strict when decoding compressed responses, since sometimes
|
|
1672
|
-
// servers send slightly invalid responses that are still accepted
|
|
1673
|
-
// by common browsers.
|
|
1674
|
-
// Always using Z_SYNC_FLUSH is what cURL does.
|
|
1675
|
-
const zlibOptions = {
|
|
1676
|
-
flush: zlib.Z_SYNC_FLUSH,
|
|
1677
|
-
finishFlush: zlib.Z_SYNC_FLUSH
|
|
1678
|
-
};
|
|
1679
|
-
|
|
1680
|
-
// for gzip
|
|
1681
|
-
if (codings == 'gzip' || codings == 'x-gzip') {
|
|
1682
|
-
body = body.pipe(zlib.createGunzip(zlibOptions));
|
|
1683
|
-
response = new Response(body, response_options);
|
|
1684
|
-
resolve(response);
|
|
1685
|
-
return;
|
|
1686
|
-
}
|
|
1687
|
-
|
|
1688
|
-
// for deflate
|
|
1689
|
-
if (codings == 'deflate' || codings == 'x-deflate') {
|
|
1690
|
-
// handle the infamous raw deflate response from old servers
|
|
1691
|
-
// a hack for old IIS and Apache servers
|
|
1692
|
-
const raw = res.pipe(new PassThrough$1());
|
|
1693
|
-
raw.once('data', function (chunk) {
|
|
1694
|
-
// see http://stackoverflow.com/questions/37519828
|
|
1695
|
-
if ((chunk[0] & 0x0F) === 0x08) {
|
|
1696
|
-
body = body.pipe(zlib.createInflate());
|
|
1697
|
-
} else {
|
|
1698
|
-
body = body.pipe(zlib.createInflateRaw());
|
|
1699
|
-
}
|
|
1700
|
-
response = new Response(body, response_options);
|
|
1701
|
-
resolve(response);
|
|
1702
|
-
});
|
|
1703
|
-
raw.on('end', function () {
|
|
1704
|
-
// some old IIS servers return zero-length OK deflate responses, so 'data' is never emitted.
|
|
1705
|
-
if (!response) {
|
|
1706
|
-
response = new Response(body, response_options);
|
|
1707
|
-
resolve(response);
|
|
1708
|
-
}
|
|
1709
|
-
});
|
|
1710
|
-
return;
|
|
1711
|
-
}
|
|
1712
|
-
|
|
1713
|
-
// for br
|
|
1714
|
-
if (codings == 'br' && typeof zlib.createBrotliDecompress === 'function') {
|
|
1715
|
-
body = body.pipe(zlib.createBrotliDecompress());
|
|
1716
|
-
response = new Response(body, response_options);
|
|
1717
|
-
resolve(response);
|
|
1718
|
-
return;
|
|
1719
|
-
}
|
|
1720
|
-
|
|
1721
|
-
// otherwise, use response as-is
|
|
1722
|
-
response = new Response(body, response_options);
|
|
1723
|
-
resolve(response);
|
|
1724
|
-
});
|
|
1725
|
-
|
|
1726
|
-
writeToStream(req, request);
|
|
1727
|
-
});
|
|
1728
|
-
}
|
|
1729
|
-
function fixResponseChunkedTransferBadEnding(request, errorCallback) {
|
|
1730
|
-
let socket;
|
|
1731
|
-
|
|
1732
|
-
request.on('socket', function (s) {
|
|
1733
|
-
socket = s;
|
|
1734
|
-
});
|
|
1735
|
-
|
|
1736
|
-
request.on('response', function (response) {
|
|
1737
|
-
const headers = response.headers;
|
|
1738
|
-
|
|
1739
|
-
if (headers['transfer-encoding'] === 'chunked' && !headers['content-length']) {
|
|
1740
|
-
response.once('close', function (hadError) {
|
|
1741
|
-
// tests for socket presence, as in some situations the
|
|
1742
|
-
// the 'socket' event is not triggered for the request
|
|
1743
|
-
// (happens in deno), avoids `TypeError`
|
|
1744
|
-
// if a data listener is still present we didn't end cleanly
|
|
1745
|
-
const hasDataListener = socket && socket.listenerCount('data') > 0;
|
|
1746
|
-
|
|
1747
|
-
if (hasDataListener && !hadError) {
|
|
1748
|
-
const err = new Error('Premature close');
|
|
1749
|
-
err.code = 'ERR_STREAM_PREMATURE_CLOSE';
|
|
1750
|
-
errorCallback(err);
|
|
1751
|
-
}
|
|
1752
|
-
});
|
|
1753
|
-
}
|
|
1754
|
-
});
|
|
1755
|
-
}
|
|
1756
|
-
|
|
1757
|
-
function destroyStream(stream, err) {
|
|
1758
|
-
if (stream.destroy) {
|
|
1759
|
-
stream.destroy(err);
|
|
1760
|
-
} else {
|
|
1761
|
-
// node < 8
|
|
1762
|
-
stream.emit('error', err);
|
|
1763
|
-
stream.end();
|
|
1764
|
-
}
|
|
1765
|
-
}
|
|
1766
|
-
|
|
1767
|
-
/**
|
|
1768
|
-
* Redirect code matching
|
|
1769
|
-
*
|
|
1770
|
-
* @param Number code Status code
|
|
1771
|
-
* @return Boolean
|
|
1772
|
-
*/
|
|
1773
|
-
fetch.isRedirect = function (code) {
|
|
1774
|
-
return code === 301 || code === 302 || code === 303 || code === 307 || code === 308;
|
|
1775
|
-
};
|
|
1776
|
-
|
|
1777
|
-
// expose Promise
|
|
1778
|
-
fetch.Promise = global.Promise;
|
|
1779
|
-
|
|
1780
|
-
module.exports = exports = fetch;
|
|
1781
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1782
|
-
exports.default = exports;
|
|
1783
|
-
exports.Headers = Headers;
|
|
1784
|
-
exports.Request = Request;
|
|
1785
|
-
exports.Response = Response;
|
|
1786
|
-
exports.FetchError = FetchError;
|
|
1787
|
-
exports.AbortError = AbortError;
|