{"_id":"civicrm-api","_rev":"27-cf46c4c24811e6e8737a2e932c1f4c6b","name":"civicrm-api","dist-tags":{"latest":"0.7.0"},"versions":{"0.1.0-0":{"name":"civicrm-api","version":"0.1.0-0","license":"MIT","_id":"civicrm-api@0.1.0-0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"168c1928400ac6ce695576782f8f8741cdad259f","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-0.tgz","fileCount":11,"integrity":"sha512-Dm9yMHpcF4OPKQrxHH1MEapVNAQAimD6oLwSvHd/benaXRnSl7CLoOF6eRdd++nIIE6KijwXxvk5GvV0ReKnpA==","signatures":[{"sig":"MEUCIEAElOhoEsQK69nh+dz1o4d0UvpW+FHZ91ikj3t/upjpAiEAmW2seHs3McNpolJFalOWRs8WG4KJKxl+6DGCCANpjrM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":13752},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"84de12ad67b239d2fe7252ce0fddb1b5abc1babc","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript/TypeScript client for CiviCRM API v4.","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-0_1709130056101_0.20566243432680986","host":"s3://npm-registry-packages"}},"0.1.0-1":{"name":"civicrm-api","version":"0.1.0-1","license":"MIT","_id":"civicrm-api@0.1.0-1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"2cc9b7b08a1183e3fc8a037e4da50936698c4faa","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-1.tgz","fileCount":24,"integrity":"sha512-HGI0gwQPr+hejlYWASiUS8Q9aXPeQTPULSt/p2VQjbqq3+fbdffD50UR6fLnjBjkcgbG12p5kJHQy/l+uUqqYQ==","signatures":[{"sig":"MEYCIQDUnOVeFSKRHVyV1S8yxyy9Kn6206J8Z092JWQa2YblrgIhAJUAelRcIRbBBB5qeoESCpSAzWSyUcKxPKcf1lCb886L","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67183},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"5c90a40a517ccf64fb2559d194c472c8e864876c","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript/TypeScript client for CiviCRM API v4.","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-1_1709131344701_0.6767654202098616","host":"s3://npm-registry-packages"}},"0.1.0-3":{"name":"civicrm-api","version":"0.1.0-3","license":"MIT","_id":"civicrm-api@0.1.0-3","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"8999ef8d978d050f6edc2e7a3777384b63078068","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-3.tgz","fileCount":25,"integrity":"sha512-iwnIx54X8on8s+JVfHRgd4AMAi/PY9crpg1jFNI7RKctDMBgPdXQUwy54BU2wOlWomf4ycwxWEexPvPIhrVEkw==","signatures":[{"sig":"MEYCIQCzAlL2VOikLPVnRbSa9TGljCadi+YI0hJMn5cpCrh1qAIhAMMzGUfANvfyFegwiDaHZHxemswDxxyQNQFaufv0qw1D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":71800},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"3bca288bc0be11a8f36916c2c408eadadde9e910","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript/TypeScript client for CiviCRM API v4.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-3_1709178325834_0.08597871230853182","host":"s3://npm-registry-packages"}},"0.1.0-4":{"name":"civicrm-api","version":"0.1.0-4","license":"MIT","_id":"civicrm-api@0.1.0-4","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"191d094ffa2a7e140b0d3542d491e8c6f7e2b268","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-4.tgz","fileCount":25,"integrity":"sha512-K5B+zuzYy4xT5rQ6ptOqG3CVkse44s/WbGHriOOAhBlHTvaQNN2NNBWRZiHbVtPG4NizHAcLbw7+BO8RhdjJlA==","signatures":[{"sig":"MEYCIQCDs9rcWhKeKmUePR0EI+Mvj0cQ13giRVJN21z+WsavAAIhALDbga4TXjXWc9DT8qNkTjkoQqf5K16SNUy2S3NSBltT","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":72092},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"b98027e9b1fa7ebb20fb775b651e9229bb22da35","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript/TypeScript client for CiviCRM API v4.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-4_1709180170827_0.5605538073064273","host":"s3://npm-registry-packages"}},"0.1.0-5":{"name":"civicrm-api","version":"0.1.0-5","license":"MIT","_id":"civicrm-api@0.1.0-5","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"63d989dbbb2b7c8d18174419b862122344d7ff95","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-5.tgz","fileCount":25,"integrity":"sha512-kofeKjWH79nvnTVwTJ7orGitLQ0jV4l3M2yLCbEPsPyoMI7L3mpjSRSHMYvGQADKl/9p1HsCXtqUb8MZoV5YsA==","signatures":[{"sig":"MEUCIQDDwkQuXIU9LGtx/WLzgvNxHgIrDdkYNjWW2EAEMYuzVQIgbMqa+iMJjY+5vwqB/gCSDocYuHY9eFeZ3M1dpE2HWeM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":75947},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"042f9bd4ca963e82aa0079846924fb4075c53f6b","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript/TypeScript client for CiviCRM API v4.","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-5_1709182367516_0.13851816802868644","host":"s3://npm-registry-packages"}},"0.1.0-6":{"name":"civicrm-api","version":"0.1.0-6","license":"MIT","_id":"civicrm-api@0.1.0-6","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"f32e1fcaee56da462cc597ef01846b1995b0e98c","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0-6.tgz","fileCount":25,"integrity":"sha512-cVSITl9OsqMm2e6irJiViyVTya/NAwBqizlJhm0UShf3NSrL4ozNl7eawW6otYBYEGDZYVI/C675mDEfJB7I8Q==","signatures":[{"sig":"MEUCIQCBHgl9DkH9KpFSBjoG8+jTmJeohsljhzj8VNPI4+VOKwIgeCrBwmD7KKtjyLDhWJQ/p/Zkwws2BtgwN3HWv7qjVuU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83353},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"2910a9126883efae40c7cca0eb62ba7b94e50e22","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for [CiviCRM API v4](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0-6_1709271660232_0.6819294500307203","host":"s3://npm-registry-packages"}},"0.1.0":{"name":"civicrm-api","version":"0.1.0","license":"MIT","_id":"civicrm-api@0.1.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"8cb0fc2eded88eeba95ea891b5295e62e1a4b91b","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.0.tgz","fileCount":25,"integrity":"sha512-2OW6V5cjr/u5SSLaODMb9eZZz4EpBLGmPSXhAtcKf86mx67WXP4oCkVROsCf/cX4ysaO0flKVB640FOYgd+THA==","signatures":[{"sig":"MEUCIDtjGZiTu1Nj4nPkCEYIIS2r/g/sthly3nxkiw8Gub7FAiEAwvyP0lOEydwfG4E6ehv/hmTSlm4BFUva+327u57Rvck=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83351},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"f6300375dbf708734bf73d7f7c98bb4c2c0e9b38","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for [CiviCRM API v4](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.0_1709281687037_0.3579327064846922","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"civicrm-api","version":"0.1.1","license":"MIT","_id":"civicrm-api@0.1.1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"7fff0048fe47128788ae4c7080a64b53490ab8f8","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.1.1.tgz","fileCount":25,"integrity":"sha512-IjmIcdhIdUEf2FNT8RRKQUJQyjViS1oa9lSWZ+QBo6ksysqRzh+ilIy7sS7qkdSFGEEFOmdIPZDkN/E3/a7B2A==","signatures":[{"sig":"MEYCIQDtKG23MPV60XXswnJpoPAJOwA2+bMTdp1SoDHvfGaxPwIhAKyfAsaP4gB6uEwx7fOvH3/O7XqvVegPRiE2BgcoFEDY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":83284},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"8839ff3cdb8035e1a22a233694957bdc589406ad","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for [CiviCRM API v4](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.1.1_1710516548771_0.3281185546355123","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"civicrm-api","version":"0.2.0","license":"MIT","_id":"civicrm-api@0.2.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"0805fd683a16570cb2a594b58134be96b80f62bb","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.0.tgz","fileCount":23,"integrity":"sha512-igKEXq+YY/AHCKr+6Ld8c/pR03yg0Q4ucBArlUAusdS03Ki/7xouSki23Ozt1IFjM2rpF0bqgAxL2nWa4Kj1uQ==","signatures":[{"sig":"MEQCIFqUNSr6Z/AFXNSUYeuSH+iInRr3KCgPfKDAewq9le93AiBI9h/YaerM6xjCpP3vz50JgQsa27ZsmVL8MAUUarxJnQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":35586},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"32e0eb7e6c4d2ac9e31428e047a3aff3dbbb5a96","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.0_1711597638689_0.8289692275460603","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"civicrm-api","version":"0.2.1","license":"MIT","_id":"civicrm-api@0.2.1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"dist":{"shasum":"a5349b664ee3f364d40430159067244e23513601","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1.tgz","fileCount":41,"integrity":"sha512-A5ifC6a4V8N8CxJMJcAOxFRqGsbQ0jhOs+xXvFh6nGRDzi09/eQOD/dWLKgJ83fB2gYisNmmzWiI0g6e6aRI5Q==","signatures":[{"sig":"MEQCIDmGvLLxIwcIlbRgVGy8YldD9KvLODHumhaB9LjcNwrKAiBXVB7T+0o9HruyRRyhgait+4Ub1BkagSjZ3K1Q934SRA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":131518},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"2135243290519efcfde4a46e0b7f4f92961f6d4c","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","prepublish":"npm run build"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.1","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","@types/lodash-es":"^4.17.12","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1_1712291240656_0.7269065361721954","host":"s3://npm-registry-packages"}},"0.2.1-0":{"name":"civicrm-api","version":"0.2.1-0","license":"MIT","_id":"civicrm-api@0.2.1-0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"ace05a9ef41a2e3d8fa00a919accfa6c76ac66b7","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-0.tgz","fileCount":49,"integrity":"sha512-V5FAzbsUhYVuDSzcwUFkg8IbPm2wN5EUpvnlWciAmo3NubJQuw7n2gFegVkHsRXJalFQIRP+uzKHRBx8podF/A==","signatures":[{"sig":"MEYCIQC2J/gh0f6P9WbmuvYXAAqtOsf511MISKTI89KHFde31wIhAPDLkuoyYHU5seonP9UMi5bbXTneeB5TK2VOg0v0mHCB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":154862},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"c91b6c4ecaf002706e607033b112c4bfff706017","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-0_1714007431401_0.10806563695295668","host":"s3://npm-registry-packages"}},"0.2.1-1":{"name":"civicrm-api","version":"0.2.1-1","license":"MIT","_id":"civicrm-api@0.2.1-1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"277320dabb64e0c056ed6ef251e4e8cef97f010f","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-1.tgz","fileCount":51,"integrity":"sha512-5W/quPWv1PH6koB1gP8oUGdic7qVf9SM64Szwrs1WOCr9lHmhomT2wPqEu2TV43NI0Nd6Sc/+GskV6sI2mDWvw==","signatures":[{"sig":"MEUCIBdt7wEb59W29iAqoi9x9hslmO7IFJ2sWSV5B2c+p24uAiEA6EsEmK1eSfC7GWKAMvPhV8939kDdFMolMbVn2HKStcI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1041010},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"e4236448edbabd13eb9c0cafb6238ad2f137418d","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21","picocolors":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-1_1714462618700_0.10701550766570178","host":"s3://npm-registry-packages"}},"0.2.1-2":{"name":"civicrm-api","version":"0.2.1-2","license":"MIT","_id":"civicrm-api@0.2.1-2","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"a2a4eeddd9cc55c086a2d13926e4c1b9762000dc","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-2.tgz","fileCount":51,"integrity":"sha512-go9PtJo6sWfRYID90XkbQMjGHuomxn3s3CWLWYliZDwPsCD1BZuK+88Mt6d6mX3mU8Z68s8IStKo9cnkH3DmZA==","signatures":[{"sig":"MEUCIQDirxSRr3zz21m5l8IP90551sCePreX6rp/FweXFLpdiwIgBPLbslzvCYxXI3tBqv+jqd0R9Vgo8UZT3amhCpRLzIY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481066},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"2cc7b29917bbcc9f34022c2159c3541ad73f1ed3","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@types/lodash":"^4.17.0","@vitest/browser":"^1.4.0","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-2_1714462888295_0.4669224120885489","host":"s3://npm-registry-packages"}},"0.2.1-3":{"name":"civicrm-api","version":"0.2.1-3","license":"MIT","_id":"civicrm-api@0.2.1-3","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"66e9989ef3e2cf564a2e3649f7ccd780f6a4e519","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-3.tgz","fileCount":51,"integrity":"sha512-g+c5nlLlIxQFZe/k/a08qRcOnGW3WyXgtX2HuafgTcFOQUv78/E/FIp8l+u3VcidtukaR5+OeHHU7cqPiH4o3Q==","signatures":[{"sig":"MEUCIFcGQ7A8yNQy/sJgUrQ/KI0mgZZfHVpFFLW55g1n5WdXAiEA41So7LS5jeGeqweq/ioC8Hpe43PbKU6zwYDSeW26Rds=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":481066},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"64298f788d8596b84602d9587dd74c1c66bf8817","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@types/lodash":"^4.17.0","@vitest/browser":"^1.4.0","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-3_1714463165009_0.24239291277067165","host":"s3://npm-registry-packages"}},"0.2.1-4":{"name":"civicrm-api","version":"0.2.1-4","license":"MIT","_id":"civicrm-api@0.2.1-4","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"324bb87e0312bd2b0ff20bdd17ec5ea96fb4d7d4","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-4.tgz","fileCount":51,"integrity":"sha512-mxHK8xH/Bp3zvS8AOl+Je4E2fAgvDMH1UaddzkNu+vi19nMIuLeos+xF3gxwyif/TxH1z714PcNbemUs2iGOww==","signatures":[{"sig":"MEQCIHYzGpvN/Fi6iXky4kt+jsudsiWRaz8nU28w3BhBC0jMAiA1l0QtVqBeng0+tA+pHuWeFooaQCf2XGupa5e8/XbCCQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":480621},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"0e776233e835757758edafcd1db97ec8e932469c","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-4_1714463387842_0.7086394842656103","host":"s3://npm-registry-packages"}},"0.2.1-5":{"name":"civicrm-api","version":"0.2.1-5","license":"MIT","_id":"civicrm-api@0.2.1-5","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"2a18bb7992f8461d9def756477e7ef42dac9579f","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-5.tgz","fileCount":51,"integrity":"sha512-ed3+pygGopm4goqChuwkO2AvQrdhgJT1VBtlz58K/tR9br+HT/T5fZD2jqkYhRALH9aVUvqnpo7INrgTh22gEg==","signatures":[{"sig":"MEUCIFgdPdAt+nGpOS9ipUumuOH8fsQZTlB1uvm9KdSeTdeDAiEAsI4E+0OnI6EKEJiIzeXUIr3Gucat0htwr9AbwNXHIGo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484062},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"c061d2eddfdcf267f388519d18819646a4ef1805","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash-es":"^4.17.21"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-5_1715417041414_0.3535280198339925","host":"s3://npm-registry-packages"}},"0.2.1-6":{"name":"civicrm-api","version":"0.2.1-6","license":"MIT","_id":"civicrm-api@0.2.1-6","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"640396221952cea059fd42305bd076b79dfc9330","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-6.tgz","fileCount":51,"integrity":"sha512-Ba63z5mnyhmCpuEZwwy/BFwwIN4aBcam1Ile9S8j5A/cxx7WlQv2qca4jCYy14vwCqRaPnlN7cc6Py63X6FOog==","signatures":[{"sig":"MEUCIQCqm2LEGt0N0m4YLkSAmwayEAe+or3uBZgDYbuNrPGY7wIgd2SkcaZ0pJSPLI5LF5eIn7IAf5d2t4uUQRVTQcVIIi4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":484736},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"654a528bafbc048cd8a63f75cabfc3a9798b8acf","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","dependencies":{"lodash.forin":"^4.4.0","lodash.isempty":"^4.4.0","lodash.mapvalues":"^4.6.0"},"_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash.noop":"^3.0.1","microbundle":"^0.15.1","webdriverio":"^9.0.7","@vitest/browser":"^1.4.0","@types/lodash.noop":"^3.0.9","@types/lodash.forin":"^4.4.9","@vitest/coverage-v8":"^1.4.0","@types/lodash.isempty":"^4.4.9","@types/lodash.mapvalues":"^4.6.9","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-6_1724560952345_0.4242230697543994","host":"s3://npm-registry-packages"}},"0.2.1-7":{"name":"civicrm-api","version":"0.2.1-7","license":"MIT","_id":"civicrm-api@0.2.1-7","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"07fda653acedc7c923e4c82aecaa996f503c2a26","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.2.1-7.tgz","fileCount":51,"integrity":"sha512-f25rDSoWZvIlXQ5wzjRTTG4ql18svqzGL0WxMqqsJtSB7sLOA/nYJWUq2Z2IChR13XiRLuomU+fuS8zAhwDxoQ==","signatures":[{"sig":"MEQCIHp+c+uraP9lmjh7jTDKWu4ztjU6dhoqylTHr9qVLkoUAiACiJe4fsOS709HuaJ1a25hzFDEQC3nH1W6IOuekuTOQw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1018637},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"356f518cf4ffb8f90a9408beccb67ff1f3f302a1","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash.noop":"^3.0.1","microbundle":"^0.15.1","webdriverio":"^9.0.7","lodash.forin":"^4.4.0","lodash.isempty":"^4.4.0","@vitest/browser":"^1.4.0","lodash.mapvalues":"^4.6.0","@types/lodash.noop":"^3.0.9","@types/lodash.forin":"^4.4.9","@vitest/coverage-v8":"^1.4.0","@types/lodash.isempty":"^4.4.9","@types/lodash.mapvalues":"^4.6.9","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.2.1-7_1724562625103_0.5122326089557208","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"civicrm-api","version":"0.3.0","license":"MIT","_id":"civicrm-api@0.3.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"ea077fd7e3fc349a817c89b2e79828f7c0118287","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.3.0.tgz","fileCount":51,"integrity":"sha512-mJLe88KKiJBHWdFiljZr0+5IxFll15VbRSXbfBemOYCnr+WIph99zuP0BH8BaJL8MmBRuJUz5qK0ca4kiRZFNA==","signatures":[{"sig":"MEUCIQDfW0Yq5NhteknCmGdMl9+MwOhjHzR9bL3YSX6F3oBshQIgcgLPM39+KjgDQaUtxMVYUHabYYVHVHhc8kTVQEwtJx8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1042078},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"6dbeb4dbe13af45d51681c056549e16c7b944673","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"_npmVersion":"10.2.4","description":"JavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).","directories":{},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.3.0_1726884814208_0.12960308539377308","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"civicrm-api","version":"0.4.0","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.4.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"8f6f1ca35d76a98d9994c91cfe0d8036bb7454ff","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.4.0.tgz","fileCount":47,"integrity":"sha512-JsllJQjCsF2IINOY0SvdnLjHlcBadBn4gvOC1q92kAC6DER6jX5gEt9xA1/04QPlrHhC3LMzyeAnfFtQ0JJNRw==","signatures":[{"sig":"MEYCIQDog/JwWfM2JSdsF7J4bMfMhhWyaYO8DHrwx35eBIRjWgIhAOR2WdBvzcy5NdOFcJaMVv314FVGy2dtQHrGOf0Qw9eg","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":726292},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"a104e298aa1bbee513d57962b6aa29108caca286","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^8.35.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.4.0_1737972247832_0.6399534697872065","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"civicrm-api","version":"0.4.1","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.4.1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"35cddf192f98901e7c5ddc6c98d737598c732612","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.4.1.tgz","fileCount":49,"integrity":"sha512-UN0/xaPV50QzsaqiLixMl5wdsvXbBTOQHHPadSWWwXTnvtfPuQMGvO4qxaYZmtOTA249ojZOPApO+EH4Fjv3Zw==","signatures":[{"sig":"MEUCIARvgFyMLkjtyHLJZ/mOSBBxN7SFp/lLwokyi4kTFNT5AiEA+lvA3Lds25JMcPPQjuohL5KqNT60ATOc/fMWBVX5g4c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":728251},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"0eeeb24e56236bd1fef20eebe9b5d0fd9ab8c4a4","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.4.1_1738026543202_0.15595129526551288","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"civicrm-api","version":"0.4.2","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.4.2","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"cd4a327b5aec20595fb51ffbae444ef69523f89c","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.4.2.tgz","fileCount":49,"integrity":"sha512-9joKJ8R/Gv56TX2qM1vhwQ6BClXs3SUQ3dh3skJlQM9o4MPWd6KeFlq/8JRNeWnpToq38pb23WrDhv/hPv2RmA==","signatures":[{"sig":"MEUCIQDftZE6iVk8iWuR/XoZfjaMYgNEdbKzj7Y7V1ovQUqpCAIgWJxhJPidjUkAKPu4uDi4rH+x/Cyj9EJkoBbsYpMm49Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":728998},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"afaf65289a82565ed22ef7c1122fb54f3a5e3f5a","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.1","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.4.2_1738027733702_0.30747617130273897","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"civicrm-api","version":"0.4.3","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.4.3","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"330eb5fe9ed67a7dc4bfae0951c5adc9dbdea1a5","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.4.3.tgz","fileCount":49,"integrity":"sha512-xSQiyytxkJ7shvDpAz8Dr2RErP3a5RhT1FSRRCsfKaai678WR9XFk1ISSoUYDOaGZHo5CDpxIQVV/qHZqI3y+g==","signatures":[{"sig":"MEYCIQCIo8mJKba44Udz8bLPn+UG+fFH+1xbRsYLk+7UH/18fwIhAL7oJpx7GqTq6h1HpjLjwD7SlwJ3k8YG/2LdettSVfcS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":729122},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"31e03f690437ef87b8fe7c401116bd592eedc485","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.2","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.4.3_1738471556709_0.40841601437799","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"civicrm-api","version":"0.5.0","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.5.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"39a4951b74387edaddedfe14c1f132a9e89460e9","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.5.0.tgz","fileCount":49,"integrity":"sha512-T0VWaUfaLgLr3vpMzm+rIBfP55MYT7khmuLoWjM6uNEpdl9bCMNL2yDMDwXSOhdZ1ZEYIrbt1K/UFFfFkrYYTw==","signatures":[{"sig":"MEQCIDgPJ8/DAG3NmDvnl7w/5pFL7ZEMeTNkeubLveljXA7oAiBOTDCRLmrpeJTxKkvnyzzW2l8UgEKNE2eb/yh5fkFAbg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":728965},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"33dc227f6468e20b67679b1451c836434aae62eb","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.3","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.5.0_1740999877242_0.8607694642762902","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"civicrm-api","version":"0.5.1","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.5.1","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"88f5cf42560c6893f5ec80b83a462928b0c02c1e","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.5.1.tgz","fileCount":49,"integrity":"sha512-Wjo8P/0FeN/uVGhZx8ZYYWh0V5XPGCjyRoKCI3lAfOIQivyA9Aky9Mjc0YtOG1Zip7SHJrBEkvbDbNa9Z7DwYQ==","signatures":[{"sig":"MEUCIHBxc8WNdhxEwcqQbDc7wzsFqR5CE3IZyToNCD3yOXyJAiEAkk4wEm5SHqTE6nWeInShXtezfKVLL1/8WqoLOPJHJxM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":729705},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"f3a015453c7606bab519d4804f507024f96c4413","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.18.3","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.5.1_1741004242256_0.2753707342937117","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"civicrm-api","version":"0.6.0","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"author":{"url":"http://angusfretwell.com","name":"Angus Fretwell","email":"angusfretwell@me.com"},"license":"MIT","_id":"civicrm-api@0.6.0","maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"contributors":[{"url":"http://ianedington.com/","name":"Ian Edington","email":"ian.edington@gmail.com"}],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"msw":{"workerDirectory":["test/browser/public"]},"dist":{"shasum":"f329bf24385537ce00be02fafe2e10aab6fe76b5","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.6.0.tgz","fileCount":49,"integrity":"sha512-Qn4MYWnb2LC/06oiHN8zKwk5UpXUxH6tWhak+qgfJ6/rsOOVMupVAVKQEyBjFEp7eS0CQYjhDncZNjoMdiZ/Gw==","signatures":[{"sig":"MEUCIHRqGL3mnL2qBJNdODPpPVXAH9vrjrqzArpXPy60kYJdAiEAqCdSZ6rmulld8mmGRdPGDTNSwQs1p5qzrovrnXop79U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":731682},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","unpkg":"./dist/index.umd.js","module":"./dist/index.module.js","source":"src/index.ts","exports":{"types":"./dist/index.d.ts","default":"./dist/index.modern.js","require":"./dist/index.cjs"},"gitHead":"4a04cb342cd0380d38b69b323300c2096a37a409","scripts":{"dev":"microbundle watch","test":"vitest","build":"microbundle","coverage":"vitest run --coverage","prepublish":"npm run build","test:browser":"vitest --config vitest.browser.config.js"},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"repository":{"url":"git+https://github.com/socialistalternative/civicrm-api.git","type":"git"},"_npmVersion":"10.8.2","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","directories":{},"_nodeVersion":"20.19.0","_hasShrinkwrap":false,"devDependencies":{"msw":"^2.2.2","vitest":"^1.3.1","prettier":"^3.2.5","lodash-es":"^4.17.21","microbundle":"^0.15.1","webdriverio":"^9.7.1","@vitest/browser":"^1.4.0","@types/lodash-es":"^4.17.12","@vitest/coverage-v8":"^1.4.0","@open-draft/deferred-promise":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/civicrm-api_0.6.0_1742458356352_0.7932839927076336","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"civicrm-api","version":"0.7.0","license":"MIT","description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"homepage":"https://github.com/socialistalternative/civicrm-api#readme","author":{"name":"Angus Fretwell","email":"angusfretwell@me.com","url":"http://angusfretwell.com"},"contributors":[{"name":"Ian Edington","email":"ian.edington@gmail.com","url":"http://ianedington.com/"}],"repository":{"type":"git","url":"git+https://github.com/socialistalternative/civicrm-api.git"},"bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"type":"module","source":"src/index.ts","main":"./dist/index.cjs","module":"./dist/index.module.js","unpkg":"./dist/index.umd.js","exports":{"types":"./dist/index.d.ts","require":"./dist/index.cjs","default":"./dist/index.modern.js"},"types":"./dist/index.d.ts","scripts":{"build":"microbundle","prepublish":"npm run build","dev":"microbundle watch","test":"vitest","test:browser":"vitest --config vitest.browser.config.js","coverage":"vitest run --coverage"},"devDependencies":{"@open-draft/deferred-promise":"^2.2.0","@types/lodash-es":"^4.17.12","@vitest/browser":"^1.4.0","@vitest/coverage-v8":"^1.4.0","lodash-es":"^4.17.21","microbundle":"^0.15.1","msw":"^2.2.2","prettier":"^3.2.5","vitest":"^1.3.1","webdriverio":"^9.7.1"},"msw":{"workerDirectory":["test/browser/public"]},"_id":"civicrm-api@0.7.0","gitHead":"e7074529b772e27b036deb5d03002450aac4d300","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-PAto5kinLIhr9/C5mfZLJIyKWQPEDUJshjh/Z+zr7RkIrpMFmNe8yZ1YoPHQfyp01NrjVgLbd6vMl2vDCj3mFQ==","shasum":"6080e81728aec795c61bb7a61f32cf9751c85b01","tarball":"https://registry.npmjs.org/civicrm-api/-/civicrm-api-0.7.0.tgz","fileCount":49,"unpackedSize":734270,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDcbcA+s9xantpM+BBTiFg+PZI40Weq9u/IWdBKr//9VwIgDhX78qYNbABBk4ypEBdC1atTBcKhI4X+XqD1K1912lI="}]},"_npmUser":{"name":"angusfretwell","email":"angusfretwell@me.com"},"directories":{},"maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/civicrm-api_0.7.0_1745647016681_0.49660843534750043"},"_hasShrinkwrap":false}},"time":{"created":"2024-02-28T14:20:56.100Z","modified":"2025-04-26T05:56:57.071Z","0.1.0-0":"2024-02-28T14:20:56.267Z","0.1.0-1":"2024-02-28T14:42:24.875Z","0.1.0-3":"2024-02-29T03:45:25.990Z","0.1.0-4":"2024-02-29T04:16:11.069Z","0.1.0-5":"2024-02-29T04:52:47.697Z","0.1.0-6":"2024-03-01T05:41:00.459Z","0.1.0":"2024-03-01T08:28:07.246Z","0.1.1":"2024-03-15T15:29:09.001Z","0.2.0":"2024-03-28T03:47:18.909Z","0.2.1":"2024-04-05T04:27:20.856Z","0.2.1-0":"2024-04-25T01:10:31.609Z","0.2.1-1":"2024-04-30T07:36:58.922Z","0.2.1-2":"2024-04-30T07:41:28.446Z","0.2.1-3":"2024-04-30T07:46:05.166Z","0.2.1-4":"2024-04-30T07:49:48.009Z","0.2.1-5":"2024-05-11T08:44:01.551Z","0.2.1-6":"2024-08-25T04:42:32.543Z","0.2.1-7":"2024-08-25T05:10:25.361Z","0.3.0":"2024-09-21T02:13:34.449Z","0.4.0":"2025-01-27T10:04:08.077Z","0.4.1":"2025-01-28T01:09:03.486Z","0.4.2":"2025-01-28T01:28:53.895Z","0.4.3":"2025-02-02T04:45:56.924Z","0.5.0":"2025-03-03T11:04:37.502Z","0.5.1":"2025-03-03T12:17:22.583Z","0.6.0":"2025-03-20T08:12:36.566Z","0.7.0":"2025-04-26T05:56:56.891Z"},"bugs":{"url":"https://github.com/socialistalternative/civicrm-api/issues"},"author":{"name":"Angus Fretwell","email":"angusfretwell@me.com","url":"http://angusfretwell.com"},"license":"MIT","homepage":"https://github.com/socialistalternative/civicrm-api#readme","keywords":["CiviCRM","client","TypeScript","REST","API v3","API v4"],"repository":{"type":"git","url":"git+https://github.com/socialistalternative/civicrm-api.git"},"description":"TypeScript client for the CiviCRM API, supporting both API v4 and v3.","contributors":[{"name":"Ian Edington","email":"ian.edington@gmail.com","url":"http://ianedington.com/"}],"maintainers":[{"name":"angusfretwell","email":"angusfretwell@me.com"}],"readme":"# CiviCRM API\n\nJavaScript (and TypeScript) client for the [CiviCRM API](https://docs.civicrm.org/dev/en/latest/api/v4/usage/).\n\n## Installation\n\n```sh\nnpm install civicrm-api\n```\n\n## Usage\n\n```ts\nimport { createClient } from \"civicrm-api\";\n\nconst client = createClient({\n  baseUrl: \"https://example.com/civicrm\",\n  auth: { apiKey: \"<your-api-key>\" },\n  entities: { contact: \"Contact\" },\n});\n\nconst contactRequest = client.contact.get({ where: [[\"id\", \"=\", \"1\"]] }).one();\n```\n\n### API v3\n\nYou can optionally create an [API v3](https://docs.civicrm.org/dev/en/latest/api/v3/) client by providing the relevant configuration:\n\n```ts\nconst client = createClient({\n  // ...\n  api3: {\n    enabled: true,\n    entities: {\n      contact: {\n        name: \"Contact\",\n        actions: {\n          getList: \"getlist\",\n        },\n      },\n    },\n});\n\nconst contactsRequest = client.contact.getList();\n```\n\n## API\n\n### `createClient(options: ClientOptions): Client`\n\nConfigure a CiviCRM API client.\n\n#### options.baseUrl\n\nThe base URL of the CiviCRM installation.\n\n#### options.auth\n\nThe API key, JWT, or username and password that will be used to authenticate requests. Refer to the [CiviCRM authentication](https://docs.civicrm.org/dev/en/latest/framework/authx/#authentication) documentation.\n\n```ts\nconst client = createClient({\n  // ...\n\n  auth: { apiKey: \"api-key\" },\n  //=> X-Civi-Auth: Bearer api-key\n\n  auth: { jwt: \"jwt\" },\n  //=> X-Civi-Auth: Bearer jwt\n\n  auth: { username: \"user\", password: \"pass\" },\n  //=> X-Civi-Auth: Basic dXNlcjpwYXNz\n});\n```\n\n#### options.entities\n\nAn object containing entities the client will be used to make requests for. Keys\nwill be\nused to reference the entity within the client, and values should match the\nentity in CiviCRM:\n\n```ts\nconst client = createClient({\n  // ...\n  entities: {\n    contact: \"Contact\",\n    activity: \"Activity\",\n  },\n});\n```\n\n#### options.requestOptions\n\nSet default request options for all requests.\n\nAccepts\nthe [same options as `fetch`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options).\n\nHeaders will be merged with the default headers.\n\n#### options.debug\n\nEnable logging request and response details to the console.\n\n#### options.api3.enabled\n\nEnable API v3 client.\n\n```ts\nconst client = createClient({\n  // ...\n  api3: {\n    enabled: true,\n  },\n});\n```\n\n#### options.api3.entities\n\nAn object containing entities and actions the API v3 client will be used to make requests for.\nKeys will be used to reference the entity within the client. The value contains the name of the entity in API v3, and an object of actions, where the key is used to reference the action within the client, and the value is the action in API v3.\n\n```ts\nconst client = createClient({\n  // ...\n  api3: {\n    enabled: true,\n    entities: {\n      contact: {\n        name: \"Contact\",\n        actions: {\n          getList: \"getlist\",\n        },\n      },\n    },\n  },\n});\n```\n\n### `client.<entity>: Api4.RequestBuilder`\n\nCreate a request builder for a configured entity.\n\n### Request builder\n\nRequest builders are used to build and execute requests.\n\nMethods can be chained, and the request is executed by\ncalling `.then()` or starting a chain with `await`.\n\n```ts\n// Using .then()\nclient.contact\n  .get({ where: [[\"id\", \"=\", \"1\"]] })\n  .one()\n  .then((contact) => {\n    //\n  });\n\n// Using await\nconst contact = await client.contact.get({ where: [[\"id\", \"=\", \"1\"]] }).one();\n```\n\n#### `get(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `create(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `update(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `save(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `delete(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `getChecksum(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `validateChecksum(params?: Api4.Params): Api4.RequestBuilder`\n\n#### `validate(params?: Api4.Params): Api4.RequestBuilder`\n\nSet the action for the request to the method name, and optionally set request\nparameters.\n\n##### params\n\nAn object accepting parameters accepted by CiviCRM\nincluding `select`, `where`, `having`, `join`,\n`groupBy`, `orderBy`, `limit`, `offset` and `values`.\n\nAlternatively accepts a key-value object for methods like `getChecksum`.\n\n#### `one(): Api4.RequestBuilder`\n\nReturn a single record (i.e. set the index of the request to 0).\n\n#### `chain(label: string, requestBuilder: Api4.RequestBuilder): Api4.RequestBuilder`\n\n[Chain a request](https://docs.civicrm.org/dev/en/latest/api/v4/chaining/#apiv4-chaining)\nfor another entity within the current API call.\n\n```ts\nconst contact = await client.contact\n  .get({ where: [[\"id\", \"=\", \"1\"]] })\n  .chain(\n    \"activity\",\n    client.activity.get({ where: { target_contact_id: \"$id\" } }),\n  )\n  .one();\n\nconsole.log(contact);\n// => { id: 1, activity: [{ target_contact_id: 1, ... }], ... }\n```\n\n##### label\n\nThe label for the chained request, which will be used access the result of the\nchained request within the response.\n\n##### requestBuilder\n\nA request builder for the chained request.\n\n#### `options(requestOptions: RequestInit): Api4.RequestBuilder`\n\nSet request options.\n\n#### requestOptions\n\nAccepts\nthe [same options as `fetch`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options).\n\nHeaders will be merged with the default headers.\n\n```ts\nclient.contact.get().requestOptions({\n  headers: {\n    \"X-Custom-Header\": \"value\",\n  },\n  cache: \"no-cache\",\n});\n```\n\n## `client.api3.<entity>: Api3.RequestBuilder`\n\nCreate an API v3 request builder for a configured entity.\n\n### Request builder\n\nRequest builders are used to build and execute requests.\n\nMethods can be chained, and the request is executed by\ncalling `.then()` or starting a chain with `await`.\n\n```ts\n// Using .then()\nclient.api3.contact.getList({ input: \"example\" }).then((contacts) => {\n  //\n});\n\n// Using await\nconst contacts = await client.getList({ input: \"example\" });\n```\n\n#### `<action>(params?: Api3.Params): Api3.RequestBuilder`\n\nSet the action for the request, and optionally set request parameters.\n\n#### `option(option: string, value: Api3.Value): Api3.RequestBuilder`\n\nSet [API options](https://docs.civicrm.org/dev/en/latest/api/v3/options/).\n\n```ts\nclient.api3.contact.getList().option(\"limit\", 10);\n```\n\n#### `options(requestOptions: RequestInit): Api3.RequestBuilder`\n\nSet request options.\n\n#### requestOptions\n\nAccepts\nthe [same options as `fetch`](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options).\n\nHeaders will be merged with the default headers.\n\n```ts\nclient.api3.contact.getList().requestOptions({\n  headers: {\n    \"X-Custom-Header\": \"value\",\n  },\n  cache: \"no-cache\",\n});\n```\n\n## Alternatives\n\n- The [civicrm](https://www.npmjs.com/package/civicrm) package from [Tech to The People](https://github.com/TechToThePeople) offers a different approach to building requests.\n\n## Development\n\n### Install dependencies\n\n```sh\nnpm install\n```\n\n### Run tests\n\n```sh\nnpm test\n```\n\n### Build the package\n\n```sh\nnpm run build\n```\n\n### Releasing\n\n1. Increment the version number and create a tag:\n\n   ```sh\n   npm version <major|minor|patch|prerelease>\n   ```\n\n2. Push the tag to GitHub:\n\n   ```sh\n   git push --tags\n   ```\n\n3. [Create a release](https://github.com/socialistalternative/civicrm-api/releases/new)\n   on GitHub. The package will be built and published to npm automatically by\n   GitHub Actions.\n","readmeFilename":"README.md"}