Skip to content

jseql has been rebranded to protectjs.

Notifications You must be signed in to change notification settings

cipherstash/jseql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

jseql

The jseql repo has been moved and rebranded to protectjs.

Migrating to protectjs

The move to protectjs has been released as a major version bump as of v5.0.0.

Migrating from jseql to protectjs

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 client

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();

@cipherstash/nextjs changes

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';

About

jseql has been rebranded to protectjs.

Resources

Stars

Watchers

Forks