Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mysten/enoki

Package Overview
Dependencies
Maintainers
0
Versions
189
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mysten/enoki - npm Package Compare versions

Comparing version 0.0.0-experimental-20240708160107 to 0.0.0-experimental-20240709191650

16

CHANGELOG.md
# @mysten/enoki
## 0.0.0-experimental-20240708160107
## 0.0.0-experimental-20240709191650
### Patch Changes
- Updated dependencies [0fb06282bf]
- @mysten/sui@0.0.0-experimental-20240708160107
- @mysten/zklogin@0.0.0-experimental-20240708160107
- 0f27a97: Update dependencies
- Updated dependencies [0fb0628]
- Updated dependencies [0f27a97]
- @mysten/sui@0.0.0-experimental-20240709191650
- @mysten/zklogin@0.0.0-experimental-20240709191650

@@ -97,4 +99,6 @@ ## 0.3.10

- a92b03de42: The Typescript SDK has been renamed to `@mysten/sui` and includes many new features and breaking changes.
See the [full migration guide](https://sdk.mystenlabs.com/typescript/migrations/sui-1.0) for details on how to upgrade.
- a92b03de42: The Typescript SDK has been renamed to `@mysten/sui` and includes many new features
and breaking changes. See the
[full migration guide](https://sdk.mystenlabs.com/typescript/migrations/sui-1.0) for details on
how to upgrade.

@@ -101,0 +105,0 @@ ### Patch Changes

@@ -6,2 +6,5 @@ "use strict";

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __typeError = (msg) => {
throw TypeError(msg);
};
var __export = (target, all) => {

@@ -20,24 +23,7 @@ for (var name in all)

var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __privateMethod = (obj, member, method) => {
__accessCheck(obj, member, "access private method");
return method;
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var EnokiClient_exports = {};

@@ -49,3 +35,3 @@ __export(EnokiClient_exports, {

module.exports = __toCommonJS(EnokiClient_exports);
var _version, _apiUrl, _apiKey, _fetch, fetch_fn;
var _version, _apiUrl, _apiKey, _EnokiClient_instances, fetch_fn;
const DEFAULT_API_URL = "https://api.enoki.mystenlabs.com";

@@ -72,6 +58,6 @@ const ZKLOGIN_HEADER = "zklogin-jwt";

constructor(config) {
__privateAdd(this, _fetch);
__privateAdd(this, _version, void 0);
__privateAdd(this, _apiUrl, void 0);
__privateAdd(this, _apiKey, void 0);
__privateAdd(this, _EnokiClient_instances);
__privateAdd(this, _version);
__privateAdd(this, _apiUrl);
__privateAdd(this, _apiKey);
__privateSet(this, _version, "v1");

@@ -82,3 +68,3 @@ __privateSet(this, _apiUrl, config.apiUrl ?? DEFAULT_API_URL);

getApp(_input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "app", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "app", {
method: "GET"

@@ -88,3 +74,3 @@ });

getZkLogin(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin", {
method: "GET",

@@ -97,3 +83,3 @@ headers: {

createZkLoginNonce(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin/nonce", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin/nonce", {
method: "POST",

@@ -108,3 +94,3 @@ body: JSON.stringify({

createZkLoginZkp(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin/zkp", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin/zkp", {
method: "POST",

@@ -123,3 +109,3 @@ headers: {

createSponsoredTransaction(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "transaction-blocks/sponsor", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "transaction-blocks/sponsor", {
method: "POST",

@@ -139,3 +125,3 @@ headers: input.jwt ? {

executeSponsoredTransaction(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, `transaction-blocks/sponsor/${input.digest}`, {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, `transaction-blocks/sponsor/${input.digest}`, {
method: "POST",

@@ -151,3 +137,3 @@ body: JSON.stringify({

_apiKey = new WeakMap();
_fetch = new WeakSet();
_EnokiClient_instances = new WeakSet();
fetch_fn = async function(path, init) {

@@ -154,0 +140,0 @@ const res = await fetch(`${__privateGet(this, _apiUrl)}/${__privateGet(this, _version)}/${path}`, {

@@ -6,2 +6,5 @@ "use strict";

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __typeError = (msg) => {
throw TypeError(msg);
};
var __export = (target, all) => {

@@ -20,24 +23,7 @@ for (var name in all)

var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __privateMethod = (obj, member, method) => {
__accessCheck(obj, member, "access private method");
return method;
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var EnokiFlow_exports = {};

@@ -57,3 +43,3 @@ __export(EnokiFlow_exports, {

var import_stores = require("./stores.js");
var _storageKeys, _enokiClient, _encryption, _encryptionKey, _store, _setSession, setSession_fn;
var _storageKeys, _enokiClient, _encryption, _encryptionKey, _store, _EnokiFlow_instances, setSession_fn;
const createStorageKeys = (apiKey) => ({

@@ -65,8 +51,8 @@ STATE: `@enoki/flow/state/${apiKey}`,

constructor(config) {
__privateAdd(this, _setSession);
__privateAdd(this, _storageKeys, void 0);
__privateAdd(this, _enokiClient, void 0);
__privateAdd(this, _encryption, void 0);
__privateAdd(this, _encryptionKey, void 0);
__privateAdd(this, _store, void 0);
__privateAdd(this, _EnokiFlow_instances);
__privateAdd(this, _storageKeys);
__privateAdd(this, _enokiClient);
__privateAdd(this, _encryption);
__privateAdd(this, _encryptionKey);
__privateAdd(this, _store);
__privateSet(this, _enokiClient, new import_EnokiClient.EnokiClient({

@@ -138,3 +124,3 @@ apiKey: config.apiKey,

this.$zkLoginState.set({ provider: input.provider });
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
expiresAt: estimatedExpiration,

@@ -170,3 +156,3 @@ maxEpoch,

});
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
...zkp,

@@ -183,4 +169,3 @@ jwt

const storedValue = __privateGet(this, _store).get(__privateGet(this, _storageKeys).SESSION);
if (!storedValue)
return null;
if (!storedValue) return null;
const state = JSON.parse(

@@ -202,3 +187,3 @@ await __privateGet(this, _encryption).decrypt(__privateGet(this, _encryptionKey), storedValue)

__privateGet(this, _store).delete(__privateGet(this, _storageKeys).STATE);
await __privateMethod(this, _setSession, setSession_fn).call(this, null);
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, null);
}

@@ -226,3 +211,3 @@ // TODO: Should this return the proof if it already exists?

});
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
...zkp,

@@ -302,3 +287,3 @@ proof

_store = new WeakMap();
_setSession = new WeakSet();
_EnokiFlow_instances = new WeakSet();
setSession_fn = async function(newValue) {

@@ -305,0 +290,0 @@ if (newValue) {

@@ -6,2 +6,5 @@ "use strict";

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __typeError = (msg) => {
throw TypeError(msg);
};
var __export = (target, all) => {

@@ -20,20 +23,6 @@ for (var name in all)

var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var EnokiKeypair_exports = {};

@@ -51,4 +40,4 @@ __export(EnokiKeypair_exports, {

super();
__privateAdd(this, _address, void 0);
__privateAdd(this, _ephemeralPublicKey, void 0);
__privateAdd(this, _address);
__privateAdd(this, _ephemeralPublicKey);
__privateSet(this, _address, input.address);

@@ -75,6 +64,6 @@ __privateSet(this, _ephemeralPublicKey, input.ephemeralPublicKey);

super();
__privateAdd(this, _proof, void 0);
__privateAdd(this, _maxEpoch, void 0);
__privateAdd(this, _ephemeralKeypair, void 0);
__privateAdd(this, _publicKey, void 0);
__privateAdd(this, _proof);
__privateAdd(this, _maxEpoch);
__privateAdd(this, _ephemeralKeypair);
__privateAdd(this, _publicKey);
__privateSet(this, _proof, input.proof);

@@ -81,0 +70,0 @@ __privateSet(this, _maxEpoch, input.maxEpoch);

@@ -64,4 +64,3 @@ "use strict";

(0, import_react2.useEffect)(() => {
if (!hash)
return;
if (!hash) return;
(async () => {

@@ -68,0 +67,0 @@ try {

@@ -1,24 +0,10 @@

var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
var __typeError = (msg) => {
throw TypeError(msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __privateMethod = (obj, member, method) => {
__accessCheck(obj, member, "access private method");
return method;
};
var _version, _apiUrl, _apiKey, _fetch, fetch_fn;
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var _version, _apiUrl, _apiKey, _EnokiClient_instances, fetch_fn;
const DEFAULT_API_URL = "https://api.enoki.mystenlabs.com";

@@ -45,6 +31,6 @@ const ZKLOGIN_HEADER = "zklogin-jwt";

constructor(config) {
__privateAdd(this, _fetch);
__privateAdd(this, _version, void 0);
__privateAdd(this, _apiUrl, void 0);
__privateAdd(this, _apiKey, void 0);
__privateAdd(this, _EnokiClient_instances);
__privateAdd(this, _version);
__privateAdd(this, _apiUrl);
__privateAdd(this, _apiKey);
__privateSet(this, _version, "v1");

@@ -55,3 +41,3 @@ __privateSet(this, _apiUrl, config.apiUrl ?? DEFAULT_API_URL);

getApp(_input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "app", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "app", {
method: "GET"

@@ -61,3 +47,3 @@ });

getZkLogin(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin", {
method: "GET",

@@ -70,3 +56,3 @@ headers: {

createZkLoginNonce(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin/nonce", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin/nonce", {
method: "POST",

@@ -81,3 +67,3 @@ body: JSON.stringify({

createZkLoginZkp(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "zklogin/zkp", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "zklogin/zkp", {
method: "POST",

@@ -96,3 +82,3 @@ headers: {

createSponsoredTransaction(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, "transaction-blocks/sponsor", {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, "transaction-blocks/sponsor", {
method: "POST",

@@ -112,3 +98,3 @@ headers: input.jwt ? {

executeSponsoredTransaction(input) {
return __privateMethod(this, _fetch, fetch_fn).call(this, `transaction-blocks/sponsor/${input.digest}`, {
return __privateMethod(this, _EnokiClient_instances, fetch_fn).call(this, `transaction-blocks/sponsor/${input.digest}`, {
method: "POST",

@@ -124,3 +110,3 @@ body: JSON.stringify({

_apiKey = new WeakMap();
_fetch = new WeakSet();
_EnokiClient_instances = new WeakSet();
fetch_fn = async function(path, init) {

@@ -127,0 +113,0 @@ const res = await fetch(`${__privateGet(this, _apiUrl)}/${__privateGet(this, _version)}/${path}`, {

@@ -1,24 +0,10 @@

var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
var __typeError = (msg) => {
throw TypeError(msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __privateMethod = (obj, member, method) => {
__accessCheck(obj, member, "access private method");
return method;
};
var _storageKeys, _enokiClient, _encryption, _encryptionKey, _store, _setSession, setSession_fn;
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
var _storageKeys, _enokiClient, _encryption, _encryptionKey, _store, _EnokiFlow_instances, setSession_fn;
import { decodeSuiPrivateKey } from "@mysten/sui/cryptography";

@@ -39,8 +25,8 @@ import { Ed25519Keypair } from "@mysten/sui/keypairs/ed25519";

constructor(config) {
__privateAdd(this, _setSession);
__privateAdd(this, _storageKeys, void 0);
__privateAdd(this, _enokiClient, void 0);
__privateAdd(this, _encryption, void 0);
__privateAdd(this, _encryptionKey, void 0);
__privateAdd(this, _store, void 0);
__privateAdd(this, _EnokiFlow_instances);
__privateAdd(this, _storageKeys);
__privateAdd(this, _enokiClient);
__privateAdd(this, _encryption);
__privateAdd(this, _encryptionKey);
__privateAdd(this, _store);
__privateSet(this, _enokiClient, new EnokiClient({

@@ -112,3 +98,3 @@ apiKey: config.apiKey,

this.$zkLoginState.set({ provider: input.provider });
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
expiresAt: estimatedExpiration,

@@ -144,3 +130,3 @@ maxEpoch,

});
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
...zkp,

@@ -157,4 +143,3 @@ jwt

const storedValue = __privateGet(this, _store).get(__privateGet(this, _storageKeys).SESSION);
if (!storedValue)
return null;
if (!storedValue) return null;
const state = JSON.parse(

@@ -176,3 +161,3 @@ await __privateGet(this, _encryption).decrypt(__privateGet(this, _encryptionKey), storedValue)

__privateGet(this, _store).delete(__privateGet(this, _storageKeys).STATE);
await __privateMethod(this, _setSession, setSession_fn).call(this, null);
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, null);
}

@@ -200,3 +185,3 @@ // TODO: Should this return the proof if it already exists?

});
await __privateMethod(this, _setSession, setSession_fn).call(this, {
await __privateMethod(this, _EnokiFlow_instances, setSession_fn).call(this, {
...zkp,

@@ -276,3 +261,3 @@ proof

_store = new WeakMap();
_setSession = new WeakSet();
_EnokiFlow_instances = new WeakSet();
setSession_fn = async function(newValue) {

@@ -279,0 +264,0 @@ if (newValue) {

@@ -1,19 +0,8 @@

var __accessCheck = (obj, member, msg) => {
if (!member.has(obj))
throw TypeError("Cannot " + msg);
var __typeError = (msg) => {
throw TypeError(msg);
};
var __privateGet = (obj, member, getter) => {
__accessCheck(obj, member, "read from private field");
return getter ? getter.call(obj) : member.get(obj);
};
var __privateAdd = (obj, member, value) => {
if (member.has(obj))
throw TypeError("Cannot add the same private member more than once");
member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
};
var __privateSet = (obj, member, value, setter) => {
__accessCheck(obj, member, "write to private field");
setter ? setter.call(obj, value) : member.set(obj, value);
return value;
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
var _address, _ephemeralPublicKey, _proof, _maxEpoch, _ephemeralKeypair, _publicKey;

@@ -25,4 +14,4 @@ import { Keypair, PublicKey, SIGNATURE_SCHEME_TO_FLAG } from "@mysten/sui/cryptography";

super();
__privateAdd(this, _address, void 0);
__privateAdd(this, _ephemeralPublicKey, void 0);
__privateAdd(this, _address);
__privateAdd(this, _ephemeralPublicKey);
__privateSet(this, _address, input.address);

@@ -49,6 +38,6 @@ __privateSet(this, _ephemeralPublicKey, input.ephemeralPublicKey);

super();
__privateAdd(this, _proof, void 0);
__privateAdd(this, _maxEpoch, void 0);
__privateAdd(this, _ephemeralKeypair, void 0);
__privateAdd(this, _publicKey, void 0);
__privateAdd(this, _proof);
__privateAdd(this, _maxEpoch);
__privateAdd(this, _ephemeralKeypair);
__privateAdd(this, _publicKey);
__privateSet(this, _proof, input.proof);

@@ -55,0 +44,0 @@ __privateSet(this, _maxEpoch, input.maxEpoch);

@@ -37,4 +37,3 @@ import { jsx } from "react/jsx-runtime";

useEffect(() => {
if (!hash)
return;
if (!hash) return;
(async () => {

@@ -41,0 +40,0 @@ try {

{
"name": "@mysten/enoki",
"version": "0.0.0-experimental-20240708160107",
"version": "0.0.0-experimental-20240709191650",
"description": "TODO: Description",

@@ -35,18 +35,18 @@ "license": "Apache-2.0",

"devDependencies": {
"@types/node": "^20.4.2",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@vitejs/plugin-react-swc": "^3.3.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"typescript": "^5.3.3",
"vite": "^4.4.4",
"@types/node": "^20.14.10",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react-swc": "^3.7.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.5.3",
"vite": "^5.3.3",
"@mysten/build-scripts": "0.0.0"
},
"dependencies": {
"@nanostores/react": "^0.7.1",
"jose": "^5.2.3",
"nanostores": "^0.9.3",
"@mysten/sui": "0.0.0-experimental-20240708160107",
"@mysten/zklogin": "0.0.0-experimental-20240708160107"
"@nanostores/react": "^0.7.2",
"jose": "^5.6.3",
"nanostores": "^0.10.3",
"@mysten/sui": "0.0.0-experimental-20240709191650",
"@mysten/zklogin": "0.0.0-experimental-20240709191650"
},

@@ -53,0 +53,0 @@ "peerDependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc