@usecapsule/core-sdk
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -12,3 +12,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import { pki, jsbn } from 'node-forge'; | ||
import { decryptWithKeyPair, getAsymmetricKeyPair, getPublicKeyHex, } from './cryptography/utils.js'; | ||
import { decryptWithKeyPair, getAsymmetricKeyPair, getPublicKeyHex, } from './cryptography/utils'; | ||
import { getPortalBaseURL } from './definitions'; | ||
@@ -15,0 +15,0 @@ import { Environment } from './definitions'; |
import forge from 'node-forge'; | ||
import { Ctx } from '../definitions.js'; | ||
import { Ctx } from '../definitions'; | ||
interface EncryptedShare { | ||
@@ -4,0 +4,0 @@ walletId: string; |
@@ -12,3 +12,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
import forge from 'node-forge'; | ||
import { getPortalBaseURL } from '../definitions.js'; | ||
import { getPortalBaseURL } from '../definitions'; | ||
const rsa = forge.pki.rsa; | ||
@@ -15,0 +15,0 @@ const RSA_ENCRYPTION_SCHEME = 'RSA-OAEP'; |
{ | ||
"name": "@usecapsule/core-sdk", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
"type": "module", | ||
"dependencies": { | ||
@@ -8,0 +7,0 @@ "@celo/utils": "^3.2.0", |
@@ -11,3 +11,3 @@ import { | ||
getPublicKeyHex, | ||
} from './cryptography/utils.js'; | ||
} from './cryptography/utils'; | ||
import { Ctx, getPortalBaseURL } from './definitions'; | ||
@@ -14,0 +14,0 @@ import { Environment } from './definitions'; |
import base64url from 'base64url' | ||
import forge from 'node-forge'; | ||
import { Ctx, getPortalBaseURL } from '../definitions.js'; | ||
import { Ctx, getPortalBaseURL } from '../definitions'; | ||
@@ -5,0 +5,0 @@ interface EncryptedShare { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
258619
4
No