{
  "author": {
    "name": "Affinidi",
    "roles": [
      "author"
    ]
  },
  "description": "Affinidi TDK Common library with shared utils",
  "docs": {
    "stability": "stable"
  },
  "homepage": "https://github.com/affinidi/affinidi-tdk#readme",
  "jsiiVersion": "5.8.12",
  "keywords": [
    "affinidi-tdk",
    "identity",
    "holistic",
    "network",
    "trust"
  ],
  "license": "Apache-2.0",
  "metadata": {
    "jsii": {
      "pacmak": {
        "hasDefaultInterfaces": true
      }
    }
  },
  "name": "@affinidi-tdk/common",
  "readme": {
    "markdown": "## @affinidi-tdk/common\n\n## Install\n\n### Javascript\n\n```bash\nnpm install @affinidi-tdk/common\n```\n\n## Python\n\nrun inside [python virtual env](https://docs.python.org/3/library/venv.html)\n\n```bash\npip install affinidi_tdk_common\n```\n\n## Manually build package\n\n```bash\nnpm i --prefix .\nnpm run build\nnpm run package\n```\n\nThe code will be generated under /dist for each language.\n"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/affinidi/affinidi-tdk"
  },
  "schema": "jsii/0.10.0",
  "targets": {
    "js": {
      "npm": "@affinidi-tdk/common"
    },
    "python": {
      "distName": "affinidi_tdk_common",
      "module": "affinidi_tdk_common"
    }
  },
  "types": {
    "@affinidi-tdk/common.Environment": {
      "assembly": "@affinidi-tdk/common",
      "docs": {
        "stability": "stable"
      },
      "fqn": "@affinidi-tdk/common.Environment",
      "kind": "enum",
      "locationInModule": {
        "filename": "helpers/environment.ts",
        "line": 1
      },
      "members": [
        {
          "docs": {
            "stability": "stable"
          },
          "name": "LOCAL"
        },
        {
          "docs": {
            "stability": "stable"
          },
          "name": "DEVELOPMENT"
        },
        {
          "docs": {
            "stability": "stable"
          },
          "name": "PRODUCTION"
        }
      ],
      "name": "Environment",
      "symbolId": "helpers/environment:Environment"
    },
    "@affinidi-tdk/common.EnvironmentUtils": {
      "assembly": "@affinidi-tdk/common",
      "docs": {
        "stability": "stable"
      },
      "fqn": "@affinidi-tdk/common.EnvironmentUtils",
      "initializer": {
        "docs": {
          "stability": "stable"
        }
      },
      "kind": "class",
      "locationInModule": {
        "filename": "helpers/environment.ts",
        "line": 32
      },
      "methods": [
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/environment.ts",
            "line": 49
          },
          "name": "fetchApiGwUrl",
          "parameters": [
            {
              "name": "env",
              "optional": true,
              "type": {
                "fqn": "@affinidi-tdk/common.Environment"
              }
            }
          ],
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        },
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/environment.ts",
            "line": 54
          },
          "name": "fetchElementsAuthTokenUrl",
          "parameters": [
            {
              "name": "env",
              "optional": true,
              "type": {
                "fqn": "@affinidi-tdk/common.Environment"
              }
            }
          ],
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        },
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/environment.ts",
            "line": 33
          },
          "name": "fetchEnvironment",
          "returns": {
            "type": {
              "fqn": "@affinidi-tdk/common.Environment"
            }
          },
          "static": true
        },
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/environment.ts",
            "line": 63
          },
          "name": "fetchIotUrl",
          "parameters": [
            {
              "name": "env",
              "optional": true,
              "type": {
                "fqn": "@affinidi-tdk/common.Environment"
              }
            }
          ],
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        },
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/environment.ts",
            "line": 59
          },
          "name": "fetchRegion",
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        }
      ],
      "name": "EnvironmentUtils",
      "symbolId": "helpers/environment:EnvironmentUtils"
    },
    "@affinidi-tdk/common.VaultUtils": {
      "assembly": "@affinidi-tdk/common",
      "docs": {
        "stability": "stable"
      },
      "fqn": "@affinidi-tdk/common.VaultUtils",
      "initializer": {
        "docs": {
          "stability": "stable"
        }
      },
      "kind": "class",
      "locationInModule": {
        "filename": "helpers/vault.ts",
        "line": 16
      },
      "methods": [
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/vault.ts",
            "line": 26
          },
          "name": "buildClaimLink",
          "parameters": [
            {
              "name": "credentialOfferUri",
              "type": {
                "primitive": "string"
              }
            }
          ],
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        },
        {
          "docs": {
            "stability": "stable"
          },
          "locationInModule": {
            "filename": "helpers/vault.ts",
            "line": 17
          },
          "name": "buildShareLink",
          "parameters": [
            {
              "name": "request",
              "type": {
                "primitive": "string"
              }
            },
            {
              "name": "client_id",
              "type": {
                "primitive": "string"
              }
            }
          ],
          "returns": {
            "type": {
              "primitive": "string"
            }
          },
          "static": true
        }
      ],
      "name": "VaultUtils",
      "symbolId": "helpers/vault:VaultUtils"
    }
  },
  "version": "1.24.0",
  "fingerprint": "21DpQp4n9ODIj0wDPGQsKlEK2wJFFL4ZEalzPdeSUEM="
}