JSPM

@dha-team/arbundles

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2675
  • Score
    100M100P100Q132720F
  • License Apache-2.0

Bundle Service Library

Package Exports

  • @dha-team/arbundles
  • @dha-team/arbundles/build/node/cjs/index
  • @dha-team/arbundles/build/node/cjs/src/Bundle
  • @dha-team/arbundles/build/node/cjs/src/BundleInterface
  • @dha-team/arbundles/build/node/cjs/src/BundleItem
  • @dha-team/arbundles/build/node/cjs/src/DataItem
  • @dha-team/arbundles/build/node/cjs/src/ar-data-base
  • @dha-team/arbundles/build/node/cjs/src/ar-data-bundle
  • @dha-team/arbundles/build/node/cjs/src/ar-data-create
  • @dha-team/arbundles/build/node/cjs/src/constants
  • @dha-team/arbundles/build/node/cjs/src/deepHash
  • @dha-team/arbundles/build/node/cjs/src/error
  • @dha-team/arbundles/build/node/cjs/src/file/FileBundle
  • @dha-team/arbundles/build/node/cjs/src/file/FileDataItem
  • @dha-team/arbundles/build/node/cjs/src/file/bundleData
  • @dha-team/arbundles/build/node/cjs/src/file/createData
  • @dha-team/arbundles/build/node/cjs/src/file/file
  • @dha-team/arbundles/build/node/cjs/src/file/index
  • @dha-team/arbundles/build/node/cjs/src/index
  • @dha-team/arbundles/build/node/cjs/src/interface-jwk
  • @dha-team/arbundles/build/node/cjs/src/nodeUtils
  • @dha-team/arbundles/build/node/cjs/src/signing/Signer
  • @dha-team/arbundles/build/node/cjs/src/signing/__tests__/keccak256.test
  • @dha-team/arbundles/build/node/cjs/src/signing/__tests__/signerBaseClass.spec
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/AlgorandSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/AptosSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/ArweaveSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/HexInjectedSolanaSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/HexSolanaSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/InjectedAptosSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/InjectedTypedEthereumSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/KyveSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/NearSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/PolygonSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/SolanaSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/TypedEthereumSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/arconnectSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/ethereumSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/index
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/injectedAlgorandSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/injectedEthereumSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/injectedSolanaSigner
  • @dha-team/arbundles/build/node/cjs/src/signing/chains/multiSignatureAptos
  • @dha-team/arbundles/build/node/cjs/src/signing/constants
  • @dha-team/arbundles/build/node/cjs/src/signing/index
  • @dha-team/arbundles/build/node/cjs/src/signing/keccak256
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/Rsa4096Pss
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/__tests__/curve25519.spec
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/__tests__/rsa4096.spec
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/__tests__/secp256k1.spec
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/curve25519
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/index
  • @dha-team/arbundles/build/node/cjs/src/signing/keys/secp256k1
  • @dha-team/arbundles/build/node/cjs/src/stream/index
  • @dha-team/arbundles/build/node/cjs/src/tags
  • @dha-team/arbundles/build/node/cjs/src/types
  • @dha-team/arbundles/build/node/cjs/src/utils
  • @dha-team/arbundles/build/node/cjs/src/webUtils
  • @dha-team/arbundles/build/node/cjs/webIndex
  • @dha-team/arbundles/build/node/esm/index
  • @dha-team/arbundles/build/node/esm/src/Bundle
  • @dha-team/arbundles/build/node/esm/src/BundleInterface
  • @dha-team/arbundles/build/node/esm/src/BundleItem
  • @dha-team/arbundles/build/node/esm/src/DataItem
  • @dha-team/arbundles/build/node/esm/src/ar-data-base
  • @dha-team/arbundles/build/node/esm/src/ar-data-bundle
  • @dha-team/arbundles/build/node/esm/src/ar-data-create
  • @dha-team/arbundles/build/node/esm/src/constants
  • @dha-team/arbundles/build/node/esm/src/deepHash
  • @dha-team/arbundles/build/node/esm/src/error
  • @dha-team/arbundles/build/node/esm/src/file/FileBundle
  • @dha-team/arbundles/build/node/esm/src/file/FileDataItem
  • @dha-team/arbundles/build/node/esm/src/file/bundleData
  • @dha-team/arbundles/build/node/esm/src/file/createData
  • @dha-team/arbundles/build/node/esm/src/file/file
  • @dha-team/arbundles/build/node/esm/src/file/index
  • @dha-team/arbundles/build/node/esm/src/index
  • @dha-team/arbundles/build/node/esm/src/interface-jwk
  • @dha-team/arbundles/build/node/esm/src/nodeUtils
  • @dha-team/arbundles/build/node/esm/src/signing/Signer
  • @dha-team/arbundles/build/node/esm/src/signing/__tests__/keccak256.test
  • @dha-team/arbundles/build/node/esm/src/signing/__tests__/signerBaseClass.spec
  • @dha-team/arbundles/build/node/esm/src/signing/chains/AlgorandSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/AptosSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/ArweaveSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/HexInjectedSolanaSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/HexSolanaSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/InjectedAptosSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/InjectedTypedEthereumSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/KyveSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/NearSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/PolygonSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/SolanaSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/TypedEthereumSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/arconnectSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/ethereumSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/index
  • @dha-team/arbundles/build/node/esm/src/signing/chains/injectedAlgorandSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/injectedEthereumSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/injectedSolanaSigner
  • @dha-team/arbundles/build/node/esm/src/signing/chains/multiSignatureAptos
  • @dha-team/arbundles/build/node/esm/src/signing/constants
  • @dha-team/arbundles/build/node/esm/src/signing/index
  • @dha-team/arbundles/build/node/esm/src/signing/keccak256
  • @dha-team/arbundles/build/node/esm/src/signing/keys/Rsa4096Pss
  • @dha-team/arbundles/build/node/esm/src/signing/keys/__tests__/curve25519.spec
  • @dha-team/arbundles/build/node/esm/src/signing/keys/__tests__/rsa4096.spec
  • @dha-team/arbundles/build/node/esm/src/signing/keys/__tests__/secp256k1.spec
  • @dha-team/arbundles/build/node/esm/src/signing/keys/curve25519
  • @dha-team/arbundles/build/node/esm/src/signing/keys/index
  • @dha-team/arbundles/build/node/esm/src/signing/keys/secp256k1
  • @dha-team/arbundles/build/node/esm/src/stream/index
  • @dha-team/arbundles/build/node/esm/src/tags
  • @dha-team/arbundles/build/node/esm/src/types
  • @dha-team/arbundles/build/node/esm/src/utils
  • @dha-team/arbundles/build/node/esm/src/webUtils
  • @dha-team/arbundles/build/node/esm/webIndex
  • @dha-team/arbundles/build/web/bundle
  • @dha-team/arbundles/build/web/cjs/index
  • @dha-team/arbundles/build/web/cjs/src/Bundle
  • @dha-team/arbundles/build/web/cjs/src/BundleInterface
  • @dha-team/arbundles/build/web/cjs/src/BundleItem
  • @dha-team/arbundles/build/web/cjs/src/DataItem
  • @dha-team/arbundles/build/web/cjs/src/ar-data-base
  • @dha-team/arbundles/build/web/cjs/src/ar-data-bundle
  • @dha-team/arbundles/build/web/cjs/src/ar-data-create
  • @dha-team/arbundles/build/web/cjs/src/constants
  • @dha-team/arbundles/build/web/cjs/src/deepHash
  • @dha-team/arbundles/build/web/cjs/src/error
  • @dha-team/arbundles/build/web/cjs/src/file/FileBundle
  • @dha-team/arbundles/build/web/cjs/src/file/FileDataItem
  • @dha-team/arbundles/build/web/cjs/src/file/bundleData
  • @dha-team/arbundles/build/web/cjs/src/file/createData
  • @dha-team/arbundles/build/web/cjs/src/file/file
  • @dha-team/arbundles/build/web/cjs/src/file/index
  • @dha-team/arbundles/build/web/cjs/src/index
  • @dha-team/arbundles/build/web/cjs/src/interface-jwk
  • @dha-team/arbundles/build/web/cjs/src/nodeUtils
  • @dha-team/arbundles/build/web/cjs/src/signing/Signer
  • @dha-team/arbundles/build/web/cjs/src/signing/__tests__/keccak256.test
  • @dha-team/arbundles/build/web/cjs/src/signing/__tests__/signerBaseClass.spec
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/AlgorandSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/AptosSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/ArweaveSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/HexInjectedSolanaSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/HexSolanaSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/InjectedAptosSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/InjectedTypedEthereumSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/KyveSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/NearSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/PolygonSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/SolanaSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/TypedEthereumSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/arconnectSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/ethereumSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/index
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/injectedAlgorandSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/injectedEthereumSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/injectedSolanaSigner
  • @dha-team/arbundles/build/web/cjs/src/signing/chains/multiSignatureAptos
  • @dha-team/arbundles/build/web/cjs/src/signing/constants
  • @dha-team/arbundles/build/web/cjs/src/signing/index
  • @dha-team/arbundles/build/web/cjs/src/signing/keccak256
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/Rsa4096Pss
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/__tests__/curve25519.spec
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/__tests__/rsa4096.spec
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/__tests__/secp256k1.spec
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/curve25519
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/index
  • @dha-team/arbundles/build/web/cjs/src/signing/keys/secp256k1
  • @dha-team/arbundles/build/web/cjs/src/stream/index
  • @dha-team/arbundles/build/web/cjs/src/tags
  • @dha-team/arbundles/build/web/cjs/src/types
  • @dha-team/arbundles/build/web/cjs/src/utils
  • @dha-team/arbundles/build/web/cjs/src/webUtils
  • @dha-team/arbundles/build/web/cjs/webIndex
  • @dha-team/arbundles/build/web/esm/index
  • @dha-team/arbundles/build/web/esm/src/Bundle
  • @dha-team/arbundles/build/web/esm/src/BundleInterface
  • @dha-team/arbundles/build/web/esm/src/BundleItem
  • @dha-team/arbundles/build/web/esm/src/DataItem
  • @dha-team/arbundles/build/web/esm/src/ar-data-base
  • @dha-team/arbundles/build/web/esm/src/ar-data-bundle
  • @dha-team/arbundles/build/web/esm/src/ar-data-create
  • @dha-team/arbundles/build/web/esm/src/constants
  • @dha-team/arbundles/build/web/esm/src/deepHash
  • @dha-team/arbundles/build/web/esm/src/error
  • @dha-team/arbundles/build/web/esm/src/file/FileBundle
  • @dha-team/arbundles/build/web/esm/src/file/FileDataItem
  • @dha-team/arbundles/build/web/esm/src/file/bundleData
  • @dha-team/arbundles/build/web/esm/src/file/createData
  • @dha-team/arbundles/build/web/esm/src/file/file
  • @dha-team/arbundles/build/web/esm/src/file/index
  • @dha-team/arbundles/build/web/esm/src/index
  • @dha-team/arbundles/build/web/esm/src/interface-jwk
  • @dha-team/arbundles/build/web/esm/src/signing/Signer
  • @dha-team/arbundles/build/web/esm/src/signing/__tests__/keccak256.test
  • @dha-team/arbundles/build/web/esm/src/signing/__tests__/signerBaseClass.spec
  • @dha-team/arbundles/build/web/esm/src/signing/chains/AlgorandSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/AptosSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/ArweaveSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/HexInjectedSolanaSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/HexSolanaSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/InjectedAptosSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/InjectedTypedEthereumSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/KyveSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/NearSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/PolygonSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/SolanaSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/TypedEthereumSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/arconnectSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/ethereumSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/index
  • @dha-team/arbundles/build/web/esm/src/signing/chains/injectedAlgorandSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/injectedEthereumSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/injectedSolanaSigner
  • @dha-team/arbundles/build/web/esm/src/signing/chains/multiSignatureAptos
  • @dha-team/arbundles/build/web/esm/src/signing/constants
  • @dha-team/arbundles/build/web/esm/src/signing/index
  • @dha-team/arbundles/build/web/esm/src/signing/keccak256
  • @dha-team/arbundles/build/web/esm/src/signing/keys/Rsa4096Pss
  • @dha-team/arbundles/build/web/esm/src/signing/keys/__tests__/curve25519.spec
  • @dha-team/arbundles/build/web/esm/src/signing/keys/__tests__/rsa4096.spec
  • @dha-team/arbundles/build/web/esm/src/signing/keys/__tests__/secp256k1.spec
  • @dha-team/arbundles/build/web/esm/src/signing/keys/curve25519
  • @dha-team/arbundles/build/web/esm/src/signing/keys/index
  • @dha-team/arbundles/build/web/esm/src/signing/keys/secp256k1
  • @dha-team/arbundles/build/web/esm/src/stream/index
  • @dha-team/arbundles/build/web/esm/src/tags
  • @dha-team/arbundles/build/web/esm/src/types
  • @dha-team/arbundles/build/web/esm/src/utils
  • @dha-team/arbundles/build/web/esm/src/webUtils
  • @dha-team/arbundles/build/web/esm/webIndex
  • @dha-team/arbundles/bundle
  • @dha-team/arbundles/file
  • @dha-team/arbundles/node
  • @dha-team/arbundles/src/__tests__/setup.jest
  • @dha-team/arbundles/stream
  • @dha-team/arbundles/web

Readme

ANS-104 Bundles

A low level library for creating, editing, reading and verifying bundles.

See ANS-104 for more details.

Installing the library

Using npm:

npm install @dha-team/arbundles

Using yarn:

yarn add @dha-team/arbundles

Creating bundles

import { bundleAndSignData, createData } from "@dha-team/arbundles";

const dataItems = [createData("some data"), createData("some other data")];

const signer = new ArweaveSigner(jwk);

const bundle = await bundleAndSignData(dataItems, signer);