{
  "name": "@storacha/client",
  "version": "2.1.3",
  "description": "Client for the storacha.network w3up api",
  "publishConfig": {
    "access": "public"
  },
  "license": "Apache-2.0 OR MIT",
  "type": "module",
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "node": "./dist/index.node.js",
      "import": "./dist/index.js"
    },
    "./account": {
      "types": "./dist/account.d.ts",
      "import": "./dist/account.js"
    },
    "./delegation": {
      "types": "./dist/delegation.d.ts",
      "import": "./dist/delegation.js"
    },
    "./principal": {
      "types": "./dist/principal/index.d.ts",
      "import": "./dist/principal/index.js"
    },
    "./principal/ed25519": {
      "types": "./dist/principal/ed25519.d.ts",
      "import": "./dist/principal/ed25519.js"
    },
    "./principal/rsa": {
      "types": "./dist/principal/rsa.d.ts",
      "import": "./dist/principal/rsa.js"
    },
    "./proof": {
      "types": "./dist/proof.d.ts",
      "import": "./dist/proof.js"
    },
    "./space": {
      "types": "./dist/space.d.ts",
      "import": "./dist/space.js"
    },
    "./result": {
      "types": "./dist/result.d.ts",
      "import": "./dist/result.js"
    },
    "./client": {
      "types": "./dist/client.d.ts",
      "import": "./dist/client.js"
    },
    "./capability/access": {
      "types": "./dist/capability/access.d.ts",
      "import": "./dist/capability/access.js"
    },
    "./capability/blob": {
      "types": "./dist/capability/blob.d.ts",
      "import": "./dist/capability/blob.js"
    },
    "./capability/index": {
      "types": "./dist/capability/index.d.ts",
      "import": "./dist/capability/index.js"
    },
    "./capability/space": {
      "types": "./dist/capability/space.d.ts",
      "import": "./dist/capability/space.js"
    },
    "./capability/subscription": {
      "types": "./dist/capability/subscription.d.ts",
      "import": "./dist/capability/subscription.js"
    },
    "./capability/upload": {
      "types": "./dist/capability/upload.d.ts",
      "import": "./dist/capability/upload.js"
    },
    "./capability/usage": {
      "types": "./dist/capability/usage.d.ts",
      "import": "./dist/capability/usage.js"
    },
    "./stores": {
      "types": "./dist/stores/index.d.ts",
      "import": "./dist/stores/index.js"
    },
    "./stores/conf": {
      "types": "./dist/stores/conf.d.ts",
      "import": "./dist/stores/conf.js"
    },
    "./stores/indexeddb": {
      "types": "./dist/stores/indexeddb.d.ts",
      "import": "./dist/stores/indexeddb.js"
    },
    "./stores/memory": {
      "types": "./dist/stores/memory.d.ts",
      "import": "./dist/stores/memory.js"
    },
    "./service": {
      "types": "./dist/service.d.ts",
      "import": "./dist/service.js"
    },
    "./types": "./dist/types.js"
  },
  "files": [
    "dist",
    "!dist/**/*.js.map"
  ],
  "// scripts": "The `test-:*` scripts are internal only, to be run by `npm-run-all` in parallel with the mock servers.",
  "dependencies": {
    "@ipld/dag-ucan": "^3.4.5",
    "@ucanto/client": "^9.0.2",
    "@ucanto/core": "^10.4.5",
    "@ucanto/interface": "^11.0.1",
    "@ucanto/principal": "^9.0.3",
    "@ucanto/transport": "^9.2.1",
    "environment": "^1.1.0",
    "@storacha/access": "^1.6.9",
    "@storacha/capabilities": "^2.3.1",
    "@storacha/filecoin-client": "^1.0.20",
    "@storacha/did-mailto": "^1.0.2",
    "@storacha/blob-index": "^1.2.9",
    "@storacha/upload-client": "^1.4.2"
  },
  "devDependencies": {
    "@arethetypeswrong/cli": "^0.17.3",
    "@ipld/car": "^5.1.1",
    "@ipld/unixfs": "^3.0.0",
    "@types/assert": "^1.5.6",
    "@types/mocha": "^10.0.1",
    "@types/node": "^20.17.14",
    "@typescript-eslint/eslint-plugin": "8.26.1",
    "@ucanto/server": "^11.0.3",
    "@web3-storage/access": "^20.1.0",
    "@web3-storage/content-claims": "^5.2.2",
    "@web3-storage/data-segment": "^5.3.0",
    "@web3-storage/w3up-client": "^16.5.1",
    "assert": "^2.0.0",
    "c8": "^7.13.0",
    "hundreds": "^0.0.9",
    "mocha": "^10.8.2",
    "multiformats": "^13.3.6",
    "npm-run-all": "^4.1.5",
    "playwright-test": "^12.3.4",
    "typescript": "^5.8.3",
    "@storacha/eslint-config": "^0.0.0",
    "@storacha/upload-api": "^3.2.3"
  },
  "eslintConfig": {
    "extends": [
      "@storacha/eslint-config"
    ],
    "parserOptions": {
      "project": "./tsconfig.json"
    },
    "env": {
      "es2022": true,
      "mocha": true,
      "browser": true,
      "node": true
    },
    "ignorePatterns": [
      "dist",
      "docs",
      "docs-generated",
      "coverage",
      "src/types.js",
      "browser.min.js"
    ]
  },
  "directories": {
    "test": "test"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/storacha/upload-service.git",
    "directory": "packages/w3up-client"
  },
  "keywords": [
    "web3",
    "storage",
    "upload",
    "store",
    "DAG",
    "IPLD",
    "UCAN",
    "IPFS"
  ],
  "author": "DAG House",
  "bugs": {
    "url": "https://github.com/storacha/upload-service/issues"
  },
  "homepage": "https://storacha.network",
  "depcheck": {
    "ignorePatterns": [
      "dist"
    ],
    "ignores": [
      "@typescript-eslint/eslint-plugin",
      "@typescript-eslint/parser",
      "assert",
      "c8"
    ]
  },
  "engines": {
    "node": ">=18"
  },
  "engineStrict": true,
  "scripts": {
    "dev": "tsc --build --watch --preserveWatchOutput",
    "clean": "rm -rf dist *.tsbuildinfo coverage",
    "lint": "eslint '**/*.{js,ts}' && prettier --check '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "lint:fix": "eslint --fix '**/*.{js,ts}' && prettier --write '**/*.{js,ts,yml,json}' --ignore-path ../../.gitignore",
    "test:node": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:node'",
    "test-:node": "hundreds -r html -r text mocha 'test/**/!(*.browser).test.js' -n experimental-vm-modules -n no-warnings -n stack-trace-limit=1000 -t 10000 --bail",
    "test:browser": "npm-run-all --parallel --race --npm-path pnpm mock:* 'test-:browser'",
    "test-:browser": "playwright-test --runner mocha 'test/**/!(*.node).test.js'",
    "mock:bucket-0-200": "PORT=8989 STATUS=200 node test/helpers/bucket-server.js",
    "mock:bucket-1-200": "PORT=8990 STATUS=200 node test/helpers/bucket-server.js",
    "mock:bucket-2-200": "PORT=8991 STATUS=200 node test/helpers/bucket-server.js",
    "mock:receipts-server": "PORT=9201 node test/helpers/receipts-server.js",
    "mock:gateway-server": "PORT=5001 node test/helpers/gateway-server.js",
    "attw": "attw --pack .",
    "coverage": "c8 report -r html && open coverage/index.html",
    "rc": "npm version prerelease --preid rc"
  }
}