{
  "name": "@sudoplatform/sudo-user",
  "version": "17.1.1",
  "author": "Anonyome Labs, Inc.",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sudoplatform/sudo-user-js.git"
  },
  "license": "Apache-2.0",
  "scripts": {
    "prepare": "husky",
    "lint": "yarn lint:eslint && yarn lint:prettier",
    "lint:eslint": "eslint \"{bin,test,src}/**/*.{ts,tsx}\"",
    "lint:prettier": "prettier -l \"{bin,test,src}/**/*.{js,json,jsx,ts,tsx}\"",
    "codegen": "graphql-codegen -c codegen.yml",
    "audit-with-suppressions": "true",
    "verify": "true",
    "unit-test": "yarn jest test/unit --verbose --coverage",
    "integration-test": "/bin/bash -c 'jest test/integration'",
    "browser-test": "yarn jest --config jest.config.browser.json --verbose --coverage",
    "smoketest": "yarn unit-test && yarn integration-test && yarn browser-test",
    "test": "yarn unit-test",
    "build": "yarn codegen && yarn verify && yarn build:transpile && yarn build:docs",
    "build:report-dependencies": "true",
    "build:transpile": "concurrently \"yarn build:transpile:declarations\" \"yarn build:transpile:cjs\" \"yarn build:transpile:esm\"",
    "build:transpile:cjs": "tsc --project tsconfig.commonjs.json",
    "build:transpile:esm": "tsc",
    "build:transpile:declarations": "tsc --project tsconfig.declarations.json",
    "build:docs": "typedoc --tsconfig tsconfig.declarations.json --excludePrivate --out docs src/index.ts"
  },
  "main": "./cjs/index.js",
  "types": "./types/index.d.ts",
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "import": "./lib/index.js",
      "require": "./cjs/index.js",
      "default": "./lib/index.js"
    }
  },
  "sideEffects": false,
  "files": [
    "cjs",
    "lib",
    "docs",
    "types"
  ],
  "browser": {
    "./lib/runtimes/node/node-crypto.js": "./lib/runtimes/browser/browser-crypto.js"
  },
  "dependencies": {
    "@aws-sdk/client-cognito-identity-provider": "3.632.0",
    "@aws-sdk/credential-providers": "^3.929.0",
    "@graphql-typed-document-node/core": "^3.2.0",
    "@sudoplatform/sudo-web-crypto-provider": "^12.0.0",
    "@types/zen-observable": "^0.8.7",
    "amazon-cognito-auth-js": "^1.3.3",
    "aws-amplify": "^6.15.8",
    "fp-ts": "^2.16.11",
    "graphql": "^16.12.0",
    "io-ts": "^2.2.22",
    "jose": "^6.1.3",
    "lodash": "^4.17.21",
    "monocle-ts": "^2.3.13",
    "newtype-ts": "^0.3.5",
    "tslib": "^2.8.1",
    "uuid": "^11.1.0",
    "zen-observable": "^0.10.0"
  },
  "resolutions": {
    "tmp": "^0.2.3",
    "graphql": "^16.12.0",
    "@smithy/config-resolver": "^4.4.6",
    "fast-xml-parser": "^5.3.5"
  },
  "devDependencies": {
    "@graphql-codegen/add": "^6.0.0",
    "@graphql-codegen/cli": "^6.0.1",
    "@graphql-codegen/plugin-helpers": "^6.0.0",
    "@graphql-codegen/typed-document-node": "^6.1.4",
    "@graphql-codegen/typescript": "^5.0.6",
    "@graphql-codegen/typescript-operations": "^5.0.6",
    "@sudoplatform/sudo-common": "^12.2.0",
    "@types/amazon-cognito-auth-js": "^1.3.4",
    "@types/firefox-webext-browser": "^143.0.0",
    "@types/jest": "^29.5.14",
    "@types/lodash": "^4.17.21",
    "@types/node": "^22.19.1",
    "@typescript-eslint/eslint-plugin": "^8.46.3",
    "@typescript-eslint/parser": "^8.46.3",
    "concurrently": "^9.2.1",
    "eslint": "^8.57.1",
    "eslint-config-prettier": "^9.1.2",
    "eslint-plugin-import": "^2.32.0",
    "eslint-plugin-prettier": "^5.5.4",
    "eslint-plugin-tree-shaking": "^1.12.2",
    "husky": "^9.1.7",
    "isomorphic-fetch": "^3.0.0",
    "jest": "^29.7.0",
    "jest-environment-jsdom": "^30.2.0",
    "jest-environment-node": "^29.7.0",
    "prettier": "^3.6.2",
    "subscriptions-transport-ws": "^0.11.0",
    "ts-jest": "^29.4.6",
    "ts-mockito": "^2.6.1",
    "typedoc": "^0.28.15",
    "typescript": "^5.9.3",
    "websocket": "^1.0.35"
  },
  "peerDependencies": {
    "@sudoplatform/sudo-common": "^12.2.0",
    "io-ts": "^2.2.22"
  },
  "engines": {
    "node": ">=22"
  },
  "packageManager": "yarn@4.12.0+sha512.f45ab632439a67f8bc759bf32ead036a1f413287b9042726b7cc4818b7b49e14e9423ba49b18f9e06ea4941c1ad062385b1d8760a8d5091a1a31e5f6219afca8",
  "auditSuppressions": {
    "1113296": {
      "until": 1772584573,
      "untilISO": "2026-03-04T00:36:13Z",
      "reason": "minimatch - transitive dependency, we dont use the vulnerable functionality and waiting for patch"
    },
    "1113371": {
      "until": 1772584573,
      "untilISO": "2026-03-04T00:36:13Z",
      "reason": "minimatch - transitive dependency, we dont use the vulnerable functionality and waiting for patch"
    },
    "1115538": {
      "until": 1780015846,
      "untilISO": "2026-05-29T00:50:46Z",
      "reason": "handlebars transitive via ts-jest, no fix available"
    },
    "1115539": {
      "until": 1780015846,
      "untilISO": "2026-05-29T00:50:46Z",
      "reason": "handlebars transitive via ts-jest, no fix available"
    },
    "1115544": {
      "until": 1780015846,
      "untilISO": "2026-05-29T00:50:46Z",
      "reason": "handlebars transitive via ts-jest, no fix available"
    },
    "1115588": {
      "until": 1780015846,
      "untilISO": "2026-05-29T00:50:46Z",
      "reason": "handlebars transitive via ts-jest, no fix available"
    },
    "1117066": {
      "until": 1780015846,
      "untilISO": "2026-05-29T00:50:46Z",
      "reason": "immutable transitive via @ardatan/relay-compiler, pinned at 3.7.6"
    }
  }
}
