• 3
    • 2
    • Not Needed
    • Not Needed
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Use Case

      As a driver engineer,
      I want to remove the JS bindings from libmongocrypt,
      So that so that our logic can live together in the driver.

      User Impact

      (see parent ticket)

      Dependencies

      Unknowns

      • How can we generate documentation for `mongodb-client-encryption`? 
        • We don't document this library.
      • What testing do we want to remain in mongodb-client-encryption?  What can we test? 

      Acceptance Criteria

      Implementation Requirements

      • remove all code and tests from libmongocrypt/bindings/node/lib except for the index.js file
      • add Typescript as a dependency and convert the index.js file to Typescript
      • add typings for `MongoCrypt` (C++ bindings class) and export both the typings and the MongoCrypt object from the index.ts.
      • remove the index.d.ts file
      • remove unnecessary dependencies
        • @aws/credential-providers 
        • gcp-metadata
        • mongodb
        • socks
      • clean up unnecessary CI tasks
        • remove all build-and-test-node with and without optional dependencies tasks from CI.
      • ensure that the build scripts and the release scripts continue to work

      Testing Requirements

      Documentation Requirements

      • n/a

      Follow Up Requirements

      • release a pre-release of mongodb-client-encryption@6.0.0 for consumption in the driver

            Assignee:
            bailey.pearson@mongodb.com Bailey Pearson
            Reporter:
            bailey.pearson@mongodb.com Bailey Pearson
            Neal Beeken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: