The jseql
repo has been moved and rebranded to protectjs.
The move to protectjs has been released as a major version bump as of v5.0.0.
Installing the new package is as simple as:
npm install @cipherstash/protect
# or
yarn add @cipherstash/protect
# or
pnpm add @cipherstash/protect
Then remove the @cipherstash/jseql
package from your project.
Initializing the jseqlClient
is now done with the protect
function:
Before:
import { eql } from '@cipherstash/jseql';
const jseqlClient = await eql();
After:
import { protect } from '@cipherstash/protect';
const protectClient = await protect();
The @cipherstash/nextjs
package has been updated to use the new protect
branding as of v2.0.0.
Before:
import { jseqlMiddleware } from '@cipherstash/nextjs';
import { jseqlClerkMiddleware } from '@cipherstash/nextjs/clerk';
After:
import { protectMiddleware } from '@cipherstash/nextjs';
import { protectClerkMiddleware } from '@cipherstash/nextjs/clerk';