-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from cipherstash/identity
init: lock context interface
- Loading branch information
Showing
22 changed files
with
2,732 additions
and
4,064 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cipherstash/jseql": minor | ||
--- | ||
|
||
Released support for LockContext initializer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cipherstash/jseql": minor | ||
--- | ||
|
||
Refactored init function to not require envrionment variables as arguments. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@cipherstash/jseql": minor | ||
--- | ||
|
||
Replaces jset with vitest for better typescript support. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,6 @@ | |
"license": "ISC", | ||
"description": "", | ||
"dependencies": { | ||
"@cipherstash/jseql": "*", | ||
"dotenv": "^16.4.7" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,7 @@ | ||
import 'dotenv/config' | ||
|
||
// NPM isn't working with Turborepo so hardcoded to cjs build for now | ||
// import { eql } from '@cipherstash/jseql' | ||
import { createRequire } from 'node:module' | ||
const require = createRequire(import.meta.url) | ||
const { eql } = require('@cipherstash/jseql') | ||
import { eql } from '../../../packages/jseql/dist/index.cjs' | ||
|
||
export const eqlClient = await eql({ | ||
workspaceId: process.env.CS_WORKSPACE_ID, | ||
clientId: process.env.CS_CLIENT_ID, | ||
clientKey: process.env.CS_CLIENT_KEY, | ||
accessToken: process.env.CS_CLIENT_ACCESS_KEY, | ||
}) | ||
export const eqlClient = await eql() |
Oops, something went wrong.