@bsv/wallet-toolbox 1.7.1 → 1.7.2
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/CHANGELOG.md +7 -0
- package/docs/client.md +489 -1334
- package/docs/services.md +5 -5
- package/docs/storage.md +64 -61
- package/docs/wallet.md +489 -1334
- package/mobile/out/src/Wallet.d.ts +21 -4
- package/mobile/out/src/Wallet.d.ts.map +1 -1
- package/mobile/out/src/Wallet.js +93 -57
- package/mobile/out/src/Wallet.js.map +1 -1
- package/mobile/out/src/WalletLogger.d.ts +33 -0
- package/mobile/out/src/WalletLogger.d.ts.map +1 -0
- package/mobile/out/src/WalletLogger.js +157 -0
- package/mobile/out/src/WalletLogger.js.map +1 -0
- package/mobile/out/src/WalletPermissionsManager.d.ts.map +1 -1
- package/mobile/out/src/WalletPermissionsManager.js +1 -2
- package/mobile/out/src/WalletPermissionsManager.js.map +1 -1
- package/mobile/out/src/sdk/WERR_errors.d.ts.map +1 -1
- package/mobile/out/src/sdk/WERR_errors.js.map +1 -1
- package/mobile/out/src/sdk/WalletError.d.ts.map +1 -1
- package/mobile/out/src/sdk/WalletError.js +0 -2
- package/mobile/out/src/sdk/WalletError.js.map +1 -1
- package/mobile/out/src/sdk/WalletServices.interfaces.d.ts +3 -3
- package/mobile/out/src/sdk/WalletServices.interfaces.d.ts.map +1 -1
- package/mobile/out/src/sdk/WalletStorage.interfaces.d.ts +9 -10
- package/mobile/out/src/sdk/WalletStorage.interfaces.d.ts.map +1 -1
- package/mobile/out/src/sdk/index.d.ts +1 -1
- package/mobile/out/src/sdk/index.d.ts.map +1 -1
- package/mobile/out/src/sdk/index.js +3 -1
- package/mobile/out/src/sdk/index.js.map +1 -1
- package/mobile/out/src/services/Services.d.ts +5 -5
- package/mobile/out/src/services/Services.d.ts.map +1 -1
- package/mobile/out/src/services/Services.js +18 -4
- package/mobile/out/src/services/Services.js.map +1 -1
- package/mobile/out/src/services/providers/WhatsOnChain.d.ts.map +1 -1
- package/mobile/out/src/services/providers/WhatsOnChain.js +1 -2
- package/mobile/out/src/services/providers/WhatsOnChain.js.map +1 -1
- package/mobile/out/src/services/providers/getBeefForTxid.d.ts.map +1 -1
- package/mobile/out/src/services/providers/getBeefForTxid.js.map +1 -1
- package/mobile/out/src/signer/methods/acquireDirectCertificate.d.ts +2 -3
- package/mobile/out/src/signer/methods/acquireDirectCertificate.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/acquireDirectCertificate.js.map +1 -1
- package/mobile/out/src/signer/methods/buildSignableTransaction.d.ts +3 -4
- package/mobile/out/src/signer/methods/buildSignableTransaction.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/buildSignableTransaction.js +1 -2
- package/mobile/out/src/signer/methods/buildSignableTransaction.js.map +1 -1
- package/mobile/out/src/signer/methods/createAction.d.ts +3 -4
- package/mobile/out/src/signer/methods/createAction.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/createAction.js +17 -6
- package/mobile/out/src/signer/methods/createAction.js.map +1 -1
- package/mobile/out/src/signer/methods/internalizeAction.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/internalizeAction.js +1 -2
- package/mobile/out/src/signer/methods/internalizeAction.js.map +1 -1
- package/mobile/out/src/signer/methods/proveCertificate.d.ts +2 -3
- package/mobile/out/src/signer/methods/proveCertificate.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/proveCertificate.js.map +1 -1
- package/mobile/out/src/signer/methods/signAction.d.ts.map +1 -1
- package/mobile/out/src/signer/methods/signAction.js +1 -2
- package/mobile/out/src/signer/methods/signAction.js.map +1 -1
- package/mobile/out/src/storage/StorageIdb.d.ts +3 -4
- package/mobile/out/src/storage/StorageIdb.d.ts.map +1 -1
- package/mobile/out/src/storage/StorageIdb.js.map +1 -1
- package/mobile/out/src/storage/StorageProvider.d.ts +6 -7
- package/mobile/out/src/storage/StorageProvider.d.ts.map +1 -1
- package/mobile/out/src/storage/StorageProvider.js +5 -6
- package/mobile/out/src/storage/StorageProvider.js.map +1 -1
- package/mobile/out/src/storage/WalletStorageManager.d.ts +5 -5
- package/mobile/out/src/storage/WalletStorageManager.d.ts.map +1 -1
- package/mobile/out/src/storage/WalletStorageManager.js +5 -4
- package/mobile/out/src/storage/WalletStorageManager.js.map +1 -1
- package/mobile/out/src/storage/methods/ListActionsSpecOp.d.ts +2 -2
- package/mobile/out/src/storage/methods/ListActionsSpecOp.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/ListActionsSpecOp.js.map +1 -1
- package/mobile/out/src/storage/methods/ListOutputsSpecOp.d.ts +4 -5
- package/mobile/out/src/storage/methods/ListOutputsSpecOp.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/ListOutputsSpecOp.js.map +1 -1
- package/mobile/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts +2 -2
- package/mobile/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/attemptToPostReqsToNetwork.js +11 -7
- package/mobile/out/src/storage/methods/attemptToPostReqsToNetwork.js.map +1 -1
- package/mobile/out/src/storage/methods/createAction.d.ts +3 -4
- package/mobile/out/src/storage/methods/createAction.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/createAction.js +18 -5
- package/mobile/out/src/storage/methods/createAction.js.map +1 -1
- package/mobile/out/src/storage/methods/generateChange.js +10 -10
- package/mobile/out/src/storage/methods/generateChange.js.map +1 -1
- package/mobile/out/src/storage/methods/internalizeAction.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/internalizeAction.js +1 -2
- package/mobile/out/src/storage/methods/internalizeAction.js.map +1 -1
- package/mobile/out/src/storage/methods/listActionsIdb.d.ts +2 -3
- package/mobile/out/src/storage/methods/listActionsIdb.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/listActionsIdb.js.map +1 -1
- package/mobile/out/src/storage/methods/listCertificates.d.ts +3 -3
- package/mobile/out/src/storage/methods/listCertificates.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/listCertificates.js.map +1 -1
- package/mobile/out/src/storage/methods/listOutputsIdb.d.ts +2 -3
- package/mobile/out/src/storage/methods/listOutputsIdb.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/listOutputsIdb.js.map +1 -1
- package/mobile/out/src/storage/methods/processAction.d.ts +2 -2
- package/mobile/out/src/storage/methods/processAction.d.ts.map +1 -1
- package/mobile/out/src/storage/methods/processAction.js +15 -10
- package/mobile/out/src/storage/methods/processAction.js.map +1 -1
- package/mobile/out/src/storage/remoting/StorageClient.d.ts +5 -6
- package/mobile/out/src/storage/remoting/StorageClient.d.ts.map +1 -1
- package/mobile/out/src/storage/remoting/StorageClient.js +22 -0
- package/mobile/out/src/storage/remoting/StorageClient.js.map +1 -1
- package/mobile/out/src/storage/remoting/StorageMobile.d.ts +5 -6
- package/mobile/out/src/storage/remoting/StorageMobile.d.ts.map +1 -1
- package/mobile/out/src/storage/remoting/StorageMobile.js.map +1 -1
- package/mobile/package-lock.json +6 -6
- package/mobile/package.json +2 -2
- package/out/src/Wallet.d.ts +21 -4
- package/out/src/Wallet.d.ts.map +1 -1
- package/out/src/Wallet.js +93 -57
- package/out/src/Wallet.js.map +1 -1
- package/out/src/WalletLogger.d.ts +33 -0
- package/out/src/WalletLogger.d.ts.map +1 -0
- package/out/src/WalletLogger.js +157 -0
- package/out/src/WalletLogger.js.map +1 -0
- package/out/src/WalletPermissionsManager.d.ts.map +1 -1
- package/out/src/WalletPermissionsManager.js +1 -2
- package/out/src/WalletPermissionsManager.js.map +1 -1
- package/out/src/__tests/WalletPermissionsManager.fixtures.d.ts +1 -0
- package/out/src/__tests/WalletPermissionsManager.fixtures.d.ts.map +1 -1
- package/out/src/__tests/WalletPermissionsManager.fixtures.js +15 -4
- package/out/src/__tests/WalletPermissionsManager.fixtures.js.map +1 -1
- package/out/src/__tests/WalletPermissionsManager.proxying.test.js +79 -74
- package/out/src/__tests/WalletPermissionsManager.proxying.test.js.map +1 -1
- package/out/src/sdk/WERR_errors.d.ts.map +1 -1
- package/out/src/sdk/WERR_errors.js.map +1 -1
- package/out/src/sdk/WalletError.d.ts.map +1 -1
- package/out/src/sdk/WalletError.js +0 -2
- package/out/src/sdk/WalletError.js.map +1 -1
- package/out/src/sdk/WalletServices.interfaces.d.ts +3 -3
- package/out/src/sdk/WalletServices.interfaces.d.ts.map +1 -1
- package/out/src/sdk/WalletStorage.interfaces.d.ts +9 -10
- package/out/src/sdk/WalletStorage.interfaces.d.ts.map +1 -1
- package/out/src/sdk/__test/validationHelpers.test.js +4 -4
- package/out/src/sdk/__test/validationHelpers.test.js.map +1 -1
- package/out/src/sdk/index.d.ts +1 -1
- package/out/src/sdk/index.d.ts.map +1 -1
- package/out/src/sdk/index.js +3 -1
- package/out/src/sdk/index.js.map +1 -1
- package/out/src/services/Services.d.ts +5 -5
- package/out/src/services/Services.d.ts.map +1 -1
- package/out/src/services/Services.js +18 -4
- package/out/src/services/Services.js.map +1 -1
- package/out/src/services/providers/WhatsOnChain.d.ts.map +1 -1
- package/out/src/services/providers/WhatsOnChain.js +1 -2
- package/out/src/services/providers/WhatsOnChain.js.map +1 -1
- package/out/src/services/providers/getBeefForTxid.d.ts.map +1 -1
- package/out/src/services/providers/getBeefForTxid.js.map +1 -1
- package/out/src/signer/methods/acquireDirectCertificate.d.ts +2 -3
- package/out/src/signer/methods/acquireDirectCertificate.d.ts.map +1 -1
- package/out/src/signer/methods/acquireDirectCertificate.js.map +1 -1
- package/out/src/signer/methods/buildSignableTransaction.d.ts +3 -4
- package/out/src/signer/methods/buildSignableTransaction.d.ts.map +1 -1
- package/out/src/signer/methods/buildSignableTransaction.js +1 -2
- package/out/src/signer/methods/buildSignableTransaction.js.map +1 -1
- package/out/src/signer/methods/createAction.d.ts +3 -4
- package/out/src/signer/methods/createAction.d.ts.map +1 -1
- package/out/src/signer/methods/createAction.js +17 -6
- package/out/src/signer/methods/createAction.js.map +1 -1
- package/out/src/signer/methods/internalizeAction.d.ts.map +1 -1
- package/out/src/signer/methods/internalizeAction.js +1 -2
- package/out/src/signer/methods/internalizeAction.js.map +1 -1
- package/out/src/signer/methods/proveCertificate.d.ts +2 -3
- package/out/src/signer/methods/proveCertificate.d.ts.map +1 -1
- package/out/src/signer/methods/proveCertificate.js.map +1 -1
- package/out/src/signer/methods/signAction.d.ts.map +1 -1
- package/out/src/signer/methods/signAction.js +1 -2
- package/out/src/signer/methods/signAction.js.map +1 -1
- package/out/src/storage/StorageIdb.d.ts +3 -4
- package/out/src/storage/StorageIdb.d.ts.map +1 -1
- package/out/src/storage/StorageIdb.js.map +1 -1
- package/out/src/storage/StorageKnex.d.ts +3 -4
- package/out/src/storage/StorageKnex.d.ts.map +1 -1
- package/out/src/storage/StorageKnex.js.map +1 -1
- package/out/src/storage/StorageProvider.d.ts +6 -7
- package/out/src/storage/StorageProvider.d.ts.map +1 -1
- package/out/src/storage/StorageProvider.js +5 -6
- package/out/src/storage/StorageProvider.js.map +1 -1
- package/out/src/storage/WalletStorageManager.d.ts +5 -5
- package/out/src/storage/WalletStorageManager.d.ts.map +1 -1
- package/out/src/storage/WalletStorageManager.js +5 -4
- package/out/src/storage/WalletStorageManager.js.map +1 -1
- package/out/src/storage/__test/getBeefForTransaction.test.js.map +1 -1
- package/out/src/storage/methods/ListActionsSpecOp.d.ts +2 -2
- package/out/src/storage/methods/ListActionsSpecOp.d.ts.map +1 -1
- package/out/src/storage/methods/ListActionsSpecOp.js.map +1 -1
- package/out/src/storage/methods/ListOutputsSpecOp.d.ts +4 -5
- package/out/src/storage/methods/ListOutputsSpecOp.d.ts.map +1 -1
- package/out/src/storage/methods/ListOutputsSpecOp.js.map +1 -1
- package/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts +2 -2
- package/out/src/storage/methods/attemptToPostReqsToNetwork.d.ts.map +1 -1
- package/out/src/storage/methods/attemptToPostReqsToNetwork.js +11 -7
- package/out/src/storage/methods/attemptToPostReqsToNetwork.js.map +1 -1
- package/out/src/storage/methods/createAction.d.ts +3 -4
- package/out/src/storage/methods/createAction.d.ts.map +1 -1
- package/out/src/storage/methods/createAction.js +18 -5
- package/out/src/storage/methods/createAction.js.map +1 -1
- package/out/src/storage/methods/generateChange.js +10 -10
- package/out/src/storage/methods/generateChange.js.map +1 -1
- package/out/src/storage/methods/internalizeAction.d.ts.map +1 -1
- package/out/src/storage/methods/internalizeAction.js +1 -2
- package/out/src/storage/methods/internalizeAction.js.map +1 -1
- package/out/src/storage/methods/listActionsIdb.d.ts +2 -3
- package/out/src/storage/methods/listActionsIdb.d.ts.map +1 -1
- package/out/src/storage/methods/listActionsIdb.js.map +1 -1
- package/out/src/storage/methods/listActionsKnex.d.ts +2 -3
- package/out/src/storage/methods/listActionsKnex.d.ts.map +1 -1
- package/out/src/storage/methods/listActionsKnex.js.map +1 -1
- package/out/src/storage/methods/listCertificates.d.ts +3 -3
- package/out/src/storage/methods/listCertificates.d.ts.map +1 -1
- package/out/src/storage/methods/listCertificates.js.map +1 -1
- package/out/src/storage/methods/listOutputsIdb.d.ts +2 -3
- package/out/src/storage/methods/listOutputsIdb.d.ts.map +1 -1
- package/out/src/storage/methods/listOutputsIdb.js.map +1 -1
- package/out/src/storage/methods/listOutputsKnex.d.ts +2 -3
- package/out/src/storage/methods/listOutputsKnex.d.ts.map +1 -1
- package/out/src/storage/methods/listOutputsKnex.js.map +1 -1
- package/out/src/storage/methods/processAction.d.ts +2 -2
- package/out/src/storage/methods/processAction.d.ts.map +1 -1
- package/out/src/storage/methods/processAction.js +15 -10
- package/out/src/storage/methods/processAction.js.map +1 -1
- package/out/src/storage/remoting/StorageClient.d.ts +5 -6
- package/out/src/storage/remoting/StorageClient.d.ts.map +1 -1
- package/out/src/storage/remoting/StorageClient.js +22 -0
- package/out/src/storage/remoting/StorageClient.js.map +1 -1
- package/out/src/storage/remoting/StorageMobile.d.ts +5 -6
- package/out/src/storage/remoting/StorageMobile.d.ts.map +1 -1
- package/out/src/storage/remoting/StorageMobile.js.map +1 -1
- package/out/src/storage/remoting/StorageServer.d.ts +5 -0
- package/out/src/storage/remoting/StorageServer.d.ts.map +1 -1
- package/out/src/storage/remoting/StorageServer.js +38 -5
- package/out/src/storage/remoting/StorageServer.js.map +1 -1
- package/out/src/storage/remoting/__test/StorageClient.test.d.ts +2 -0
- package/out/src/storage/remoting/__test/StorageClient.test.d.ts.map +1 -0
- package/out/src/storage/remoting/__test/StorageClient.test.js +98 -0
- package/out/src/storage/remoting/__test/StorageClient.test.js.map +1 -0
- package/out/src/storage/sync/StorageMySQLDojoReader.d.ts.map +1 -1
- package/out/src/storage/sync/StorageMySQLDojoReader.js +1 -2
- package/out/src/storage/sync/StorageMySQLDojoReader.js.map +1 -1
- package/out/test/Wallet/certificate/listCertificates.test.js.map +1 -1
- package/out/test/Wallet/local/localWallet2.man.test.js.map +1 -1
- package/out/test/Wallet/signAction/mountaintop.man.test.js +2 -2
- package/out/test/Wallet/signAction/mountaintop.man.test.js.map +1 -1
- package/out/test/Wallet/support/operations.man.test.js +46 -1
- package/out/test/Wallet/support/operations.man.test.js.map +1 -1
- package/out/test/Wallet/support/reqErrorReview.2025.05.06.man.test.js.map +1 -1
- package/out/test/WalletClient/WERR.man.test.js +1 -1
- package/out/test/WalletClient/WERR.man.test.js.map +1 -1
- package/out/test/utils/localWalletMethods.d.ts.map +1 -1
- package/out/test/utils/localWalletMethods.js +2 -3
- package/out/test/utils/localWalletMethods.js.map +1 -1
- package/out/test/wallet/action/createAction.test.js +3 -0
- package/out/test/wallet/action/createAction.test.js.map +1 -1
- package/out/tsconfig.all.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/Wallet.ts +114 -79
- package/src/WalletLogger.ts +167 -0
- package/src/WalletPermissionsManager.ts +3 -5
- package/src/__tests/WalletPermissionsManager.fixtures.ts +14 -1
- package/src/__tests/WalletPermissionsManager.proxying.test.ts +89 -85
- package/src/sdk/WERR_errors.ts +6 -3
- package/src/sdk/WalletError.ts +0 -4
- package/src/sdk/WalletServices.interfaces.ts +14 -3
- package/src/sdk/WalletStorage.interfaces.ts +11 -16
- package/src/sdk/__test/validationHelpers.test.ts +4 -5
- package/src/sdk/index.ts +1 -1
- package/src/services/Services.ts +23 -5
- package/src/services/providers/WhatsOnChain.ts +2 -3
- package/src/services/providers/getBeefForTxid.ts +3 -5
- package/src/signer/methods/acquireDirectCertificate.ts +2 -3
- package/src/signer/methods/buildSignableTransaction.ts +5 -6
- package/src/signer/methods/createAction.ts +24 -18
- package/src/signer/methods/internalizeAction.ts +4 -5
- package/src/signer/methods/proveCertificate.ts +3 -4
- package/src/signer/methods/signAction.ts +6 -4
- package/src/storage/StorageIdb.ts +3 -4
- package/src/storage/StorageKnex.ts +3 -4
- package/src/storage/StorageProvider.ts +16 -20
- package/src/storage/WalletStorageManager.ts +10 -11
- package/src/storage/__test/getBeefForTransaction.test.ts +3 -4
- package/src/storage/methods/ListActionsSpecOp.ts +4 -4
- package/src/storage/methods/ListOutputsSpecOp.ts +7 -8
- package/src/storage/methods/attemptToPostReqsToNetwork.ts +15 -8
- package/src/storage/methods/createAction.ts +39 -23
- package/src/storage/methods/generateChange.ts +10 -10
- package/src/storage/methods/internalizeAction.ts +4 -4
- package/src/storage/methods/listActionsIdb.ts +3 -3
- package/src/storage/methods/listActionsKnex.ts +3 -3
- package/src/storage/methods/listCertificates.ts +7 -6
- package/src/storage/methods/listOutputsIdb.ts +2 -3
- package/src/storage/methods/listOutputsKnex.ts +2 -3
- package/src/storage/methods/processAction.ts +30 -11
- package/src/storage/remoting/StorageClient.ts +31 -12
- package/src/storage/remoting/StorageMobile.ts +6 -12
- package/src/storage/remoting/StorageServer.ts +45 -6
- package/src/storage/remoting/__test/StorageClient.test.ts +113 -0
- package/src/storage/sync/StorageMySQLDojoReader.ts +2 -3
- package/test/Wallet/certificate/listCertificates.test.ts +2 -2
- package/test/Wallet/local/localWallet2.man.test.ts +5 -5
- package/test/Wallet/signAction/mountaintop.man.test.ts +3 -2
- package/test/Wallet/support/operations.man.test.ts +65 -6
- package/test/Wallet/support/reqErrorReview.2025.05.06.man.test.ts +2 -14
- package/test/WalletClient/WERR.man.test.ts +3 -3
- package/test/utils/localWalletMethods.ts +5 -5
- package/test/wallet/action/createAction.test.ts +3 -0
- package/mobile/out/src/sdk/validationHelpers.d.ts +0 -322
- package/mobile/out/src/sdk/validationHelpers.d.ts.map +0 -1
- package/mobile/out/src/sdk/validationHelpers.js +0 -691
- package/mobile/out/src/sdk/validationHelpers.js.map +0 -1
- package/out/src/sdk/validationHelpers.d.ts +0 -322
- package/out/src/sdk/validationHelpers.d.ts.map +0 -1
- package/out/src/sdk/validationHelpers.js +0 -691
- package/out/src/sdk/validationHelpers.js.map +0 -1
- package/src/sdk/validationHelpers.ts +0 -1034
|
@@ -1,322 +0,0 @@
|
|
|
1
|
-
import { AbortActionArgs, AcquireCertificateArgs, AcquisitionProtocol, AtomicBEEF, Base64String, BasketInsertion, BasketStringUnder300Bytes, BEEF, BooleanDefaultFalse, BooleanDefaultTrue, CertificateFieldNameUnder50Bytes, CreateActionArgs, CreateActionInput, CreateActionOptions, CreateActionOutput, DescriptionString5to50Bytes, DiscoverByAttributesArgs, DiscoverByIdentityKeyArgs, HexString, InternalizeActionArgs, InternalizeOutput, KeyringRevealer, LabelStringUnder300Bytes, ListActionsArgs, ListCertificatesArgs, ListOutputsArgs, OutpointString, OutputTagStringUnder300Bytes, PositiveInteger, PositiveIntegerDefault10Max10000, PositiveIntegerOrZero, ProveCertificateArgs, PubKeyHex, RelinquishCertificateArgs, RelinquishOutputArgs, SatoshiValue, SignActionArgs, SignActionOptions, SignActionSpend, TrustSelf, TXIDHexString, WalletPayment } from '@bsv/sdk';
|
|
2
|
-
import { OutPoint } from './types';
|
|
3
|
-
export declare function parseWalletOutpoint(outpoint: string): {
|
|
4
|
-
txid: string;
|
|
5
|
-
vout: number;
|
|
6
|
-
};
|
|
7
|
-
export declare function validateSatoshis(v: number | undefined, name: string, min?: number): number;
|
|
8
|
-
export declare function validateOptionalInteger(v: number | undefined, name: string, min?: number, max?: number): number | undefined;
|
|
9
|
-
export declare function validateInteger(v: number | undefined, name: string, defaultValue?: number, min?: number, max?: number): number;
|
|
10
|
-
export declare function validatePositiveIntegerOrZero(v: number, name: string): number;
|
|
11
|
-
export declare function validateStringLength(s: string, name: string, min?: number, max?: number): string;
|
|
12
|
-
/**
|
|
13
|
-
* Validate a Base64 string (structure and decoded size).
|
|
14
|
-
*
|
|
15
|
-
* @param s - base64 string
|
|
16
|
-
* @param name - parameter name used in error messages
|
|
17
|
-
* @param min - optional minimum decoded byte length
|
|
18
|
-
* @param max - optional maximum decoded byte length
|
|
19
|
-
* @returns validated base64 string
|
|
20
|
-
* @throws WERR_INVALID_PARAMETER when invalid
|
|
21
|
-
*/
|
|
22
|
-
export declare function validateBase64String(s: string, name: string, min?: number, max?: number): string;
|
|
23
|
-
export declare function isHexString(s: string): boolean;
|
|
24
|
-
/**
|
|
25
|
-
* @typedef {string & { minLength: 5, maxLength: 2000 }} DescriptionString5to2000Bytes
|
|
26
|
-
* A string used for descriptions, with a length between 5 and 2000 characters.
|
|
27
|
-
*/
|
|
28
|
-
export type DescriptionString5to2000Bytes = string;
|
|
29
|
-
export interface ValidWalletSignerArgs {
|
|
30
|
-
}
|
|
31
|
-
export interface ValidCreateActionInput {
|
|
32
|
-
outpoint: OutPoint;
|
|
33
|
-
inputDescription: DescriptionString5to2000Bytes;
|
|
34
|
-
sequenceNumber: PositiveIntegerOrZero;
|
|
35
|
-
unlockingScript?: HexString;
|
|
36
|
-
unlockingScriptLength: PositiveInteger;
|
|
37
|
-
}
|
|
38
|
-
export declare function validateCreateActionInput(i: CreateActionInput): ValidCreateActionInput;
|
|
39
|
-
export interface ValidCreateActionOutput {
|
|
40
|
-
lockingScript: HexString;
|
|
41
|
-
satoshis: SatoshiValue;
|
|
42
|
-
outputDescription: DescriptionString5to2000Bytes;
|
|
43
|
-
basket?: BasketStringUnder300Bytes;
|
|
44
|
-
customInstructions?: string;
|
|
45
|
-
tags: BasketStringUnder300Bytes[];
|
|
46
|
-
}
|
|
47
|
-
export declare function validateCreateActionOutput(o: CreateActionOutput): ValidCreateActionOutput;
|
|
48
|
-
/**
|
|
49
|
-
* Set all default true/false booleans to true or false if undefined.
|
|
50
|
-
* Set all possibly undefined numbers to their default values.
|
|
51
|
-
* Set all possibly undefined arrays to empty arrays.
|
|
52
|
-
* Convert string outpoints to `{ txid: string, vout: number }`
|
|
53
|
-
*/
|
|
54
|
-
export declare function validateCreateActionOptions(options?: CreateActionOptions): ValidCreateActionOptions;
|
|
55
|
-
export interface ValidProcessActionOptions {
|
|
56
|
-
acceptDelayedBroadcast: BooleanDefaultTrue;
|
|
57
|
-
returnTXIDOnly: BooleanDefaultFalse;
|
|
58
|
-
noSend: BooleanDefaultFalse;
|
|
59
|
-
sendWith: TXIDHexString[];
|
|
60
|
-
}
|
|
61
|
-
export interface ValidCreateActionOptions extends ValidProcessActionOptions {
|
|
62
|
-
signAndProcess: boolean;
|
|
63
|
-
trustSelf?: TrustSelf;
|
|
64
|
-
knownTxids: TXIDHexString[];
|
|
65
|
-
noSendChange: OutPoint[];
|
|
66
|
-
randomizeOutputs: boolean;
|
|
67
|
-
}
|
|
68
|
-
export interface ValidSignActionOptions extends ValidProcessActionOptions {
|
|
69
|
-
acceptDelayedBroadcast: boolean;
|
|
70
|
-
returnTXIDOnly: boolean;
|
|
71
|
-
noSend: boolean;
|
|
72
|
-
sendWith: TXIDHexString[];
|
|
73
|
-
}
|
|
74
|
-
export interface ValidProcessActionArgs extends ValidWalletSignerArgs {
|
|
75
|
-
options: ValidProcessActionOptions;
|
|
76
|
-
isSendWith: boolean;
|
|
77
|
-
isNewTx: boolean;
|
|
78
|
-
isRemixChange: boolean;
|
|
79
|
-
isNoSend: boolean;
|
|
80
|
-
isDelayed: boolean;
|
|
81
|
-
isTestWerrReviewActions: boolean;
|
|
82
|
-
}
|
|
83
|
-
export interface ValidCreateActionArgs extends ValidProcessActionArgs {
|
|
84
|
-
description: DescriptionString5to2000Bytes;
|
|
85
|
-
inputBEEF?: BEEF;
|
|
86
|
-
inputs: ValidCreateActionInput[];
|
|
87
|
-
outputs: ValidCreateActionOutput[];
|
|
88
|
-
lockTime: number;
|
|
89
|
-
version: number;
|
|
90
|
-
labels: string[];
|
|
91
|
-
options: ValidCreateActionOptions;
|
|
92
|
-
isSignAction: boolean;
|
|
93
|
-
randomVals?: number[];
|
|
94
|
-
/**
|
|
95
|
-
* If true, signableTransactions will include sourceTransaction for each input,
|
|
96
|
-
* including those that do not require signature and those that were also contained
|
|
97
|
-
* in the inputBEEF.
|
|
98
|
-
*/
|
|
99
|
-
includeAllSourceTransactions: boolean;
|
|
100
|
-
}
|
|
101
|
-
export interface ValidSignActionArgs extends ValidProcessActionArgs {
|
|
102
|
-
spends: Record<PositiveIntegerOrZero, SignActionSpend>;
|
|
103
|
-
reference: Base64String;
|
|
104
|
-
options: ValidSignActionOptions;
|
|
105
|
-
}
|
|
106
|
-
/**
|
|
107
|
-
* Validate the arguments for creating a new action.
|
|
108
|
-
*
|
|
109
|
-
* @param args
|
|
110
|
-
* @returns validated arguments
|
|
111
|
-
* @throws primarily WERR_INVALID_PARAMETER if args are invalid.
|
|
112
|
-
*/
|
|
113
|
-
export declare function validateCreateActionArgs(args: CreateActionArgs): ValidCreateActionArgs;
|
|
114
|
-
/**
|
|
115
|
-
* Set all default true/false booleans to true or false if undefined.
|
|
116
|
-
* Set all possibly undefined numbers to their default values.
|
|
117
|
-
* Set all possibly undefined arrays to empty arrays.
|
|
118
|
-
* Convert string outpoints to `{ txid: string, vout: number }`
|
|
119
|
-
*/
|
|
120
|
-
export declare function validateSignActionOptions(options?: SignActionOptions): ValidSignActionOptions;
|
|
121
|
-
export declare function validateSignActionArgs(args: SignActionArgs): ValidSignActionArgs;
|
|
122
|
-
export interface ValidAbortActionArgs extends ValidWalletSignerArgs {
|
|
123
|
-
reference: Base64String;
|
|
124
|
-
}
|
|
125
|
-
export declare function validateAbortActionArgs(args: AbortActionArgs): ValidAbortActionArgs;
|
|
126
|
-
export interface ValidWalletPayment {
|
|
127
|
-
derivationPrefix: Base64String;
|
|
128
|
-
derivationSuffix: Base64String;
|
|
129
|
-
senderIdentityKey: PubKeyHex;
|
|
130
|
-
}
|
|
131
|
-
export declare function validateWalletPayment(args?: WalletPayment): ValidWalletPayment | undefined;
|
|
132
|
-
export interface ValidBasketInsertion {
|
|
133
|
-
basket: BasketStringUnder300Bytes;
|
|
134
|
-
customInstructions?: string;
|
|
135
|
-
tags: BasketStringUnder300Bytes[];
|
|
136
|
-
}
|
|
137
|
-
export declare function validateBasketInsertion(args?: BasketInsertion): ValidBasketInsertion | undefined;
|
|
138
|
-
export interface ValidInternalizeOutput {
|
|
139
|
-
outputIndex: PositiveIntegerOrZero;
|
|
140
|
-
protocol: 'wallet payment' | 'basket insertion';
|
|
141
|
-
paymentRemittance?: ValidWalletPayment;
|
|
142
|
-
insertionRemittance?: ValidBasketInsertion;
|
|
143
|
-
}
|
|
144
|
-
export declare function validateInternalizeOutput(args: InternalizeOutput): ValidInternalizeOutput;
|
|
145
|
-
export interface ValidInternalizeActionArgs extends ValidWalletSignerArgs {
|
|
146
|
-
tx: AtomicBEEF;
|
|
147
|
-
outputs: InternalizeOutput[];
|
|
148
|
-
description: DescriptionString5to2000Bytes;
|
|
149
|
-
labels: LabelStringUnder300Bytes[];
|
|
150
|
-
seekPermission: BooleanDefaultTrue;
|
|
151
|
-
}
|
|
152
|
-
export declare function validateOriginator(s?: string): string | undefined;
|
|
153
|
-
export declare function validateInternalizeActionArgs(args: InternalizeActionArgs): ValidInternalizeActionArgs;
|
|
154
|
-
export declare function validateOptionalOutpointString(outpoint: string | undefined, name: string): string | undefined;
|
|
155
|
-
export declare function validateOutpointString(outpoint: string, name: string): string;
|
|
156
|
-
export interface ValidRelinquishOutputArgs extends ValidWalletSignerArgs {
|
|
157
|
-
basket: BasketStringUnder300Bytes;
|
|
158
|
-
output: OutpointString;
|
|
159
|
-
}
|
|
160
|
-
export declare function validateRelinquishOutputArgs(args: RelinquishOutputArgs): ValidRelinquishOutputArgs;
|
|
161
|
-
export interface ValidRelinquishCertificateArgs extends ValidWalletSignerArgs {
|
|
162
|
-
type: Base64String;
|
|
163
|
-
serialNumber: Base64String;
|
|
164
|
-
certifier: PubKeyHex;
|
|
165
|
-
}
|
|
166
|
-
export declare function validateRelinquishCertificateArgs(args: RelinquishCertificateArgs): ValidRelinquishCertificateArgs;
|
|
167
|
-
export interface ValidListCertificatesArgs extends ValidWalletSignerArgs {
|
|
168
|
-
partial?: {
|
|
169
|
-
type?: Base64String;
|
|
170
|
-
serialNumber?: Base64String;
|
|
171
|
-
certifier?: PubKeyHex;
|
|
172
|
-
subject?: PubKeyHex;
|
|
173
|
-
revocationOutpoint?: OutpointString;
|
|
174
|
-
signature?: HexString;
|
|
175
|
-
};
|
|
176
|
-
certifiers: PubKeyHex[];
|
|
177
|
-
types: Base64String[];
|
|
178
|
-
limit: PositiveIntegerDefault10Max10000;
|
|
179
|
-
offset: PositiveIntegerOrZero;
|
|
180
|
-
privileged: BooleanDefaultFalse;
|
|
181
|
-
privilegedReason?: DescriptionString5to50Bytes;
|
|
182
|
-
}
|
|
183
|
-
export declare function validateListCertificatesArgs(args: ListCertificatesArgs): ValidListCertificatesArgs;
|
|
184
|
-
export interface ValidAcquireCertificateArgs extends ValidWalletSignerArgs {
|
|
185
|
-
acquisitionProtocol: AcquisitionProtocol;
|
|
186
|
-
type: Base64String;
|
|
187
|
-
serialNumber?: Base64String;
|
|
188
|
-
certifier: PubKeyHex;
|
|
189
|
-
revocationOutpoint?: OutpointString;
|
|
190
|
-
fields: Record<CertificateFieldNameUnder50Bytes, string>;
|
|
191
|
-
signature?: HexString;
|
|
192
|
-
certifierUrl?: string;
|
|
193
|
-
keyringRevealer?: KeyringRevealer;
|
|
194
|
-
keyringForSubject?: Record<CertificateFieldNameUnder50Bytes, Base64String>;
|
|
195
|
-
privileged: boolean;
|
|
196
|
-
privilegedReason?: DescriptionString5to50Bytes;
|
|
197
|
-
}
|
|
198
|
-
/**
|
|
199
|
-
*
|
|
200
|
-
* @param args
|
|
201
|
-
* @param subject Must be valid for "direct" `acquisitionProtocol`. public key of the certificate subject.
|
|
202
|
-
* @returns
|
|
203
|
-
*/
|
|
204
|
-
export declare function validateAcquireCertificateArgs(args: AcquireCertificateArgs): Promise<ValidAcquireCertificateArgs>;
|
|
205
|
-
export interface ValidAcquireDirectCertificateArgs extends ValidWalletSignerArgs {
|
|
206
|
-
type: Base64String;
|
|
207
|
-
serialNumber: Base64String;
|
|
208
|
-
certifier: PubKeyHex;
|
|
209
|
-
revocationOutpoint: OutpointString;
|
|
210
|
-
fields: Record<CertificateFieldNameUnder50Bytes, string>;
|
|
211
|
-
signature: HexString;
|
|
212
|
-
/**
|
|
213
|
-
* validated to an empty string, must be provided by wallet and must
|
|
214
|
-
* match expectations of keyringForSubject
|
|
215
|
-
*/
|
|
216
|
-
subject: PubKeyHex;
|
|
217
|
-
keyringRevealer: KeyringRevealer;
|
|
218
|
-
keyringForSubject: Record<CertificateFieldNameUnder50Bytes, Base64String>;
|
|
219
|
-
privileged: boolean;
|
|
220
|
-
privilegedReason?: DescriptionString5to50Bytes;
|
|
221
|
-
}
|
|
222
|
-
export interface ValidAcquireIssuanceCertificateArgs extends ValidWalletSignerArgs {
|
|
223
|
-
type: Base64String;
|
|
224
|
-
certifier: PubKeyHex;
|
|
225
|
-
certifierUrl: string;
|
|
226
|
-
fields: Record<CertificateFieldNameUnder50Bytes, string>;
|
|
227
|
-
/**
|
|
228
|
-
* validated to an empty string, must be provided by wallet and must
|
|
229
|
-
* match expectations of keyringForSubject
|
|
230
|
-
*/
|
|
231
|
-
subject: PubKeyHex;
|
|
232
|
-
privileged: boolean;
|
|
233
|
-
privilegedReason?: DescriptionString5to50Bytes;
|
|
234
|
-
}
|
|
235
|
-
export declare function validateAcquireIssuanceCertificateArgs(args: AcquireCertificateArgs): ValidAcquireIssuanceCertificateArgs;
|
|
236
|
-
export declare function validateAcquireDirectCertificateArgs(args: AcquireCertificateArgs): ValidAcquireDirectCertificateArgs;
|
|
237
|
-
export interface ValidProveCertificateArgs extends ValidWalletSignerArgs {
|
|
238
|
-
type?: Base64String;
|
|
239
|
-
serialNumber?: Base64String;
|
|
240
|
-
certifier?: PubKeyHex;
|
|
241
|
-
subject?: PubKeyHex;
|
|
242
|
-
revocationOutpoint?: OutpointString;
|
|
243
|
-
signature?: HexString;
|
|
244
|
-
fieldsToReveal: CertificateFieldNameUnder50Bytes[];
|
|
245
|
-
verifier: PubKeyHex;
|
|
246
|
-
privileged: boolean;
|
|
247
|
-
privilegedReason?: DescriptionString5to50Bytes;
|
|
248
|
-
}
|
|
249
|
-
export declare function validateProveCertificateArgs(args: ProveCertificateArgs): ValidProveCertificateArgs;
|
|
250
|
-
export interface ValidDiscoverByIdentityKeyArgs extends ValidWalletSignerArgs {
|
|
251
|
-
identityKey: PubKeyHex;
|
|
252
|
-
limit: PositiveIntegerDefault10Max10000;
|
|
253
|
-
offset: PositiveIntegerOrZero;
|
|
254
|
-
seekPermission: boolean;
|
|
255
|
-
}
|
|
256
|
-
export declare function validateDiscoverByIdentityKeyArgs(args: DiscoverByIdentityKeyArgs): ValidDiscoverByIdentityKeyArgs;
|
|
257
|
-
export interface ValidDiscoverByAttributesArgs extends ValidWalletSignerArgs {
|
|
258
|
-
attributes: Record<CertificateFieldNameUnder50Bytes, string>;
|
|
259
|
-
limit: PositiveIntegerDefault10Max10000;
|
|
260
|
-
offset: PositiveIntegerOrZero;
|
|
261
|
-
seekPermission: boolean;
|
|
262
|
-
}
|
|
263
|
-
export declare function validateDiscoverByAttributesArgs(args: DiscoverByAttributesArgs): ValidDiscoverByAttributesArgs;
|
|
264
|
-
export interface ValidListOutputsArgs extends ValidWalletSignerArgs {
|
|
265
|
-
basket: BasketStringUnder300Bytes;
|
|
266
|
-
tags: OutputTagStringUnder300Bytes[];
|
|
267
|
-
tagQueryMode: 'all' | 'any';
|
|
268
|
-
includeLockingScripts: boolean;
|
|
269
|
-
includeTransactions: boolean;
|
|
270
|
-
includeCustomInstructions: BooleanDefaultFalse;
|
|
271
|
-
includeTags: BooleanDefaultFalse;
|
|
272
|
-
includeLabels: BooleanDefaultFalse;
|
|
273
|
-
limit: PositiveIntegerDefault10Max10000;
|
|
274
|
-
offset: number;
|
|
275
|
-
seekPermission: BooleanDefaultTrue;
|
|
276
|
-
knownTxids: string[];
|
|
277
|
-
}
|
|
278
|
-
/**
|
|
279
|
-
* @param {BasketStringUnder300Bytes} args.basket - Required. The associated basket name whose outputs should be listed.
|
|
280
|
-
* @param {OutputTagStringUnder300Bytes[]} [args.tags] - Optional. Filter outputs based on these tags.
|
|
281
|
-
* @param {'all' | 'any'} [args.tagQueryMode] - Optional. Filter mode, defining whether all or any of the tags must match. By default, any tag can match.
|
|
282
|
-
* @param {'locking scripts' | 'entire transactions'} [args.include] - Optional. Whether to include locking scripts (with each output) or entire transactions (as aggregated BEEF, at the top level) in the result. By default, unless specified, neither are returned.
|
|
283
|
-
* @param {BooleanDefaultFalse} [args.includeEntireTransactions] - Optional. Whether to include the entire transaction(s) in the result.
|
|
284
|
-
* @param {BooleanDefaultFalse} [args.includeCustomInstructions] - Optional. Whether custom instructions should be returned in the result.
|
|
285
|
-
* @param {BooleanDefaultFalse} [args.includeTags] - Optional. Whether the tags associated with the output should be returned.
|
|
286
|
-
* @param {BooleanDefaultFalse} [args.includeLabels] - Optional. Whether the labels associated with the transaction containing the output should be returned.
|
|
287
|
-
* @param {PositiveIntegerDefault10Max10000} [args.limit] - Optional limit on the number of outputs to return.
|
|
288
|
-
* @param {number} [args.offset] - If positive or zero: Number of outputs to skip before starting to return results, oldest first.
|
|
289
|
-
* If negative: Outputs are returned newest first and offset of -1 is the newest output.
|
|
290
|
-
* When using negative offsets, caution is required as new outputs may be added between calls,
|
|
291
|
-
* potentially causing outputs to be duplicated across calls.
|
|
292
|
-
* @param {BooleanDefaultTrue} [args.seekPermission] — Optional. Whether to seek permission from the user for this operation if required. Default true, will return an error rather than proceed if set to false.
|
|
293
|
-
*/
|
|
294
|
-
export declare function validateListOutputsArgs(args: ListOutputsArgs): ValidListOutputsArgs;
|
|
295
|
-
export interface ValidListActionsArgs extends ValidWalletSignerArgs {
|
|
296
|
-
labels: LabelStringUnder300Bytes[];
|
|
297
|
-
labelQueryMode: 'any' | 'all';
|
|
298
|
-
includeLabels: BooleanDefaultFalse;
|
|
299
|
-
includeInputs: BooleanDefaultFalse;
|
|
300
|
-
includeInputSourceLockingScripts: BooleanDefaultFalse;
|
|
301
|
-
includeInputUnlockingScripts: BooleanDefaultFalse;
|
|
302
|
-
includeOutputs: BooleanDefaultFalse;
|
|
303
|
-
includeOutputLockingScripts: BooleanDefaultFalse;
|
|
304
|
-
limit: PositiveIntegerDefault10Max10000;
|
|
305
|
-
offset: PositiveIntegerOrZero;
|
|
306
|
-
seekPermission: BooleanDefaultTrue;
|
|
307
|
-
}
|
|
308
|
-
/**
|
|
309
|
-
* @param {LabelStringUnder300Bytes[]} args.labels - An array of labels used to filter actions.
|
|
310
|
-
* @param {'any' | 'all'} [args.labelQueryMode] - Optional. Specifies how to match labels (default is any which matches any of the labels).
|
|
311
|
-
* @param {BooleanDefaultFalse} [args.includeLabels] - Optional. Whether to include transaction labels in the result set.
|
|
312
|
-
* @param {BooleanDefaultFalse} [args.includeInputs] - Optional. Whether to include input details in the result set.
|
|
313
|
-
* @param {BooleanDefaultFalse} [args.includeInputSourceLockingScripts] - Optional. Whether to include input source locking scripts in the result set.
|
|
314
|
-
* @param {BooleanDefaultFalse} [args.includeInputUnlockingScripts] - Optional. Whether to include input unlocking scripts in the result set.
|
|
315
|
-
* @param {BooleanDefaultFalse} [args.includeOutputs] - Optional. Whether to include output details in the result set.
|
|
316
|
-
* @param {BooleanDefaultFalse} [args.includeOutputLockingScripts] - Optional. Whether to include output locking scripts in the result set.
|
|
317
|
-
* @param {PositiveIntegerDefault10Max10000} [args.limit] - Optional. The maximum number of transactions to retrieve.
|
|
318
|
-
* @param {PositiveIntegerOrZero} [args.offset] - Optional. Number of transactions to skip before starting to return the results.
|
|
319
|
-
* @param {BooleanDefaultTrue} [args.seekPermission] — Optional. Whether to seek permission from the user for this operation if required. Default true, will return an error rather than proceed if set to false.
|
|
320
|
-
*/
|
|
321
|
-
export declare function validateListActionsArgs(args: ListActionsArgs): ValidListActionsArgs;
|
|
322
|
-
//# sourceMappingURL=validationHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"validationHelpers.d.ts","sourceRoot":"","sources":["../../../../src/sdk/validationHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,sBAAsB,EACtB,mBAAmB,EACnB,UAAU,EACV,YAAY,EACZ,eAAe,EACf,yBAAyB,EAEzB,IAAI,EACJ,mBAAmB,EACnB,kBAAkB,EAClB,gCAAgC,EAChC,gBAAgB,EAChB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,EACzB,SAAS,EACT,qBAAqB,EACrB,iBAAiB,EACjB,eAAe,EACf,wBAAwB,EACxB,eAAe,EACf,oBAAoB,EACpB,eAAe,EACf,cAAc,EACd,4BAA4B,EAC5B,eAAe,EACf,gCAAgC,EAChC,qBAAqB,EACrB,oBAAoB,EACpB,SAAS,EACT,yBAAyB,EACzB,oBAAoB,EACpB,YAAY,EACZ,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,SAAS,EACT,aAAa,EAEb,aAAa,EACd,MAAM,UAAU,CAAA;AACjB,OAAO,EAAE,QAAQ,EAA4B,MAAM,SAAS,CAAA;AAG5D,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG;IACrD,IAAI,EAAE,MAAM,CAAA;IACZ,IAAI,EAAE,MAAM,CAAA;CACb,CAGA;AA+BD,wBAAgB,gBAAgB,CAAC,CAAC,EAAE,MAAM,GAAG,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM,CAK1F;AAED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